]>
Commit | Line | Data |
---|---|---|
90cf79b3 | 1 | /* |
2 | ||
3 | Simple macro to test EMCAL Reconstruction | |
4 | ||
5 | J.L. Klay | |
6 | LLNL | |
7 | ||
8 | */ | |
9 | ||
10 | ||
aaa3cb7c | 11 | void TestEMCALReconstruction(Int_t nev =10) { |
90cf79b3 | 12 | |
13 | AliReconstruction rec; | |
14 | ||
90cf79b3 | 15 | rec.SetRunTracking(""); |
16 | rec.SetRunVertexFinder(kFALSE); | |
17 | //calls local reconstruction of EMCAL and filling of ESD | |
18 | rec.SetRunLocalReconstruction("EMCAL"); //only do emcal | |
19 | rec.SetFillESD("EMCAL"); | |
ed0cc969 | 20 | rec.SetEventRange(0,nev); |
aaa3cb7c | 21 | rec.SetInput("raw.root"); |
22 | ||
23 | TStopwatch timer; | |
24 | timer.Start(); | |
25 | ||
ed0cc969 | 26 | rec.Run(); |
90cf79b3 | 27 | timer.Stop(); |
28 | timer.Print(); | |
29 | ||
30 | } |