The present commit corresponds to an important change in the way the
[u/mrichter/AliRoot.git] / EMCAL / macros / TestEMCALReconstruction.C
CommitLineData
90cf79b3 1/*
2
3Simple macro to test EMCAL Reconstruction
4
5J.L. Klay
6LLNL
7
8*/
9
10
5c4157b6 11void 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
aaa3cb7c 27 TStopwatch timer;
28 timer.Start();
29
ed0cc969 30 rec.Run();
90cf79b3 31 timer.Stop();
32 timer.Print();
5c4157b6 33 gObjectTable->Print();
90cf79b3 34
35}