1 // Macro for muon reconstruction
3 // This macro is a simplified way to call the macro MUONrecoNtuple.C which produces
4 // an Ntuple with reconstructed tracks in output file "MUONtrackReco.root".
7 // FirstEvent (default 0)
8 // LastEvent (default 0)
9 // RecGeantHits (1 to reconstruct GEANT hits) (default 0)
10 // FileName (for signal) (default "galice.root")
11 // BkgGeantFileName (for background),
12 // needed only if RecGeantHits = 1 and background to be added
14 void MUONrecoNtupleRun (Int_t FirstEvent = 0, Int_t LastEvent = 0, Int_t RecGeantHits = 0, Text_t *FileName = "galice.root", Text_t *BkgGeantFileName = "")
20 gSystem->SetIncludePath("-I$ALICE_ROOT/MUON -I$ALICE_ROOT/STEER -I$ROOTSYS/include") ;
21 gROOT->ProcessLine(".x loadlibs.C");
22 // force macros compilation (++), load the resulting shared library and execute the macro MUONrecoNtuple.C
23 gROOT->ProcessLine(".x MUONrecoNtuple.C++(FirstEvent,LastEvent,RecGeantHits,FileName,BkgGeantFileName) ");
26 cout << "**** MUONrecoNtupleRun.C , timer" <<endl;