/[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.4 by pam-fi, Wed Jan 3 13:28:50 2007 UTC revision 1.5 by pam-fi, Fri Feb 16 18:38:13 2007 UTC
# Line 7  example2 - Example to get pamela tracks Line 7  example2 - Example to get pamela tracks
7  example3 - Example to loop over events, reading more than one file  example3 - Example to loop over events, reading more than one file
8  Loop     - Example to loop over events, apply some selection cuts (My-Selection.cpp) and filling an  Loop     - Example to loop over events, apply some selection cuts (My-Selection.cpp) and filling an
9             output file with histograms (My-Histos.cpp) and/or trees.             output file with histograms (My-Histos.cpp) and/or trees.
10    Loop-1   - Example to loop over events, retrieve level0 data (only tracker... for the moment) and
11               reprocess the event (Histo-test.cpp)
12    
13  In order to run the scripts:  In order to run the scripts:
14    
# Line 53  More generally, you can compile and link Line 55  More generally, you can compile and link
55  to edit also the Makefile), where you should implement at least the following functions:  to edit also the Makefile), where you should implement at least the following functions:
56    
57  bool Select(PamLevel2*);  bool Select(PamLevel2*);
58  void CreateHistos(TFile*);  void CreateHistos(PamLevel2*,TFile*);
59  void FillHistos(PamLevel2*);  void FillHistos(PamLevel2*);
60  void SaveHistos(TFile*);  void SaveHistos(TFile*);
61    
# Line 62  To know how to use Loop.exe, issue: Line 64  To know how to use Loop.exe, issue:
64    
65  (If you execute "make Loop-0.exe" the old example code, previously posted on the cvs,  (If you execute "make Loop-0.exe" the old example code, previously posted on the cvs,
66  is compiled and linked. This is not a very general example, better use the new one)  is compiled and linked. This is not a very general example, better use the new one)
67    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23