]>
Commit | Line | Data |
---|---|---|
90cf79b3 | 1 | /* |
2 | ||
3 | Simple macro to test EMCAL Reconstruction | |
4 | ||
5 | J.L. Klay | |
6 | LLNL | |
7 | ||
8 | */ | |
9 | ||
10 | ||
5c4157b6 | 11 | void TestEMCALReconstruction(Int_t nev =-1) { |
12 | ||
13 | // AliLog::SetModuleDebugLevel("EMCAL",100); | |
90cf79b3 | 14 | |
15 | AliReconstruction rec; | |
16 | ||
90cf79b3 | 17 | rec.SetRunTracking(""); |
18 | rec.SetRunVertexFinder(kFALSE); | |
5c4157b6 | 19 | |
90cf79b3 | 20 | //calls local reconstruction of EMCAL and filling of ESD |
21 | rec.SetRunLocalReconstruction("EMCAL"); //only do emcal | |
22 | rec.SetFillESD("EMCAL"); | |
ed0cc969 | 23 | rec.SetEventRange(0,nev); |
5c4157b6 | 24 | //rec.SetInput("raw.root"); |
25 | //rec.SetRunQA(":"); | |
26 | ||
2994ff3b | 27 | //OCDB settings |
28 | rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); | |
29 | rec.SetSpecificStorage("GRP/GRP/Data", | |
30 | Form("local://%s",gSystem->pwd())); | |
31 | ||
aaa3cb7c | 32 | TStopwatch timer; |
33 | timer.Start(); | |
34 | ||
ed0cc969 | 35 | rec.Run(); |
90cf79b3 | 36 | timer.Stop(); |
37 | timer.Print(); | |
5c4157b6 | 38 | gObjectTable->Print(); |
90cf79b3 | 39 | |
40 | } |