--- PamelaLevel2/doc/examples/README.txt 2007/01/03 13:28:50 1.4 +++ PamelaLevel2/doc/examples/README.txt 2007/02/16 18:38:13 1.5 @@ -7,6 +7,8 @@ example3 - Example to loop over events, reading more than one file Loop - Example to loop over events, apply some selection cuts (My-Selection.cpp) and filling an output file with histograms (My-Histos.cpp) and/or trees. +Loop-1 - Example to loop over events, retrieve level0 data (only tracker... for the moment) and + reprocess the event (Histo-test.cpp) In order to run the scripts: @@ -53,7 +55,7 @@ to edit also the Makefile), where you should implement at least the following functions: bool Select(PamLevel2*); -void CreateHistos(TFile*); +void CreateHistos(PamLevel2*,TFile*); void FillHistos(PamLevel2*); void SaveHistos(TFile*); @@ -62,3 +64,4 @@ (If you execute "make Loop-0.exe" the old example code, previously posted on the cvs, is compiled and linked. This is not a very general example, better use the new one) +