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 |
|
|
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 |
|
|
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 |
|
|