/[PAMELA software]/PamelaLevel2/doc/examples/README.txt
ViewVC logotype

Diff of /PamelaLevel2/doc/examples/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by pam-fi, Fri Jun 16 16:43:55 2006 UTC revision 1.2 by pam-fi, Fri Aug 4 13:31:34 2006 UTC
# Line 1  Line 1 
1  This directory contains some very simple macros, just to show how to use the PamLevel2 class.  This directory contains some very simple macros, just to show how to use the PamLevel2 class.
2  The macros need as input the name of a Level2 .root file produced by DarthVader.  The macros need as input the name of a Level2 .root file produced by DarthVader
3    (example1 and example2) or a list of files (see example3).
4    
5    example1 - Example to integrate all detector info and solve the y-view tracks ambiguity
6    example2 - Example to get pamela tracks and integrate the trajectory in the apparatus
7    example3 - Example to loop over events, reading more than one file
8    
 Class implementation is under development and some problems still need to be fixed.  
 However this simple examples should allow to start working with Pamela data and to test the  
 general environment.  
9    
10  In order to run the scripts:  In order to run the scripts:
11    
# Line 30  Anticounter  : set branch address AcLeve Line 32  Anticounter  : set branch address AcLeve
32    
33   Done   Done
34    
35  4) The macro creates some histograms, which you can list and plot as follows:  4) Macros example1 and example2 produce some histograms. Example3 just loop over events and tracks and
36    counts time. It is usefull to check processing time.
 [].ls  
 TROOT*          Rint    The ROOT of EVERYTHING  
  OBJ: TH1F      qtot    Total energy in the calorimeter : 0 at: 0xb3f7400  
  OBJ: TH1F      npaddle Total number of hit ToF paddles : 0 at: 0xb3f8768  
  OBJ: TH1F      ntr     Number of fitted tracks : 0 at: 0xb3f8b60  
  OBJ: TH1F      rig     Particle rigidity : 0 at: 0xb3f8f30  
  OBJ: TH1F      resxs   Spatial residual (X) on the 1^ calo plane (sorted tracks) : 0 at: 0xb3f94a0  
  OBJ: TH1F      resys   Spatial residual (Y) on the 1^ calo plane (sorted tracks) : 0 at: 0xb3f9a00  
  OBJ: TH1F      resxi   Spatial residual (X) on the 1^ calo plane (image tracks) : 0 at: 0xb3f9f70  
  OBJ: TH1F      resyi   Spatial residual (Y) on the 1^ calo plane (image tracks) : 0 at: 0xb3fa4e0  
 []rig->Draw()  

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23