]>
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); |
c8f9ea05 | 24 | rec.SetRunQA(":"); |
5c4157b6 | 25 | |
c8f9ea05 | 26 | // Decomment this line in case of real data, |
27 | // add the proper name of the file | |
28 | //rec.SetInput("raw.root"); | |
29 | ||
2994ff3b | 30 | //OCDB settings |
31 | rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); | |
c8f9ea05 | 32 | |
33 | // Decommetn this line in case of anchored MC runs or data, | |
34 | // with the appropriate year | |
35 | //rec.SetDefaultStorage("alien://Folder=/alice/data/2011/OCDB"); | |
36 | ||
2994ff3b | 37 | rec.SetSpecificStorage("GRP/GRP/Data", |
38 | Form("local://%s",gSystem->pwd())); | |
39 | ||
aaa3cb7c | 40 | TStopwatch timer; |
41 | timer.Start(); | |
42 | ||
ed0cc969 | 43 | rec.Run(); |
90cf79b3 | 44 | timer.Stop(); |
45 | timer.Print(); | |
5c4157b6 | 46 | gObjectTable->Print(); |
90cf79b3 | 47 | |
48 | } |