]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/macros/TestEMCALReconstruction.C
Update the macro to generate energy recalibration OADB with new folders
[u/mrichter/AliRoot.git] / EMCAL / macros / TestEMCALReconstruction.C
1 /*
2
3 Simple macro to test EMCAL Reconstruction
4
5 J.L. Klay
6 LLNL
7
8 */
9
10
11 void TestEMCALReconstruction(Int_t nev =-1) {
12
13   //  AliLog::SetModuleDebugLevel("EMCAL",100);
14
15   AliReconstruction rec;
16
17   rec.SetRunTracking("");
18   rec.SetRunVertexFinder(kFALSE);
19
20   //calls local reconstruction of EMCAL and filling of ESD
21   rec.SetRunLocalReconstruction("EMCAL");  //only do emcal
22   rec.SetFillESD("EMCAL");
23   rec.SetEventRange(0,nev);
24   //rec.SetInput("raw.root");
25   //rec.SetRunQA(":");
26
27   //OCDB settings
28   rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
29   rec.SetSpecificStorage("GRP/GRP/Data",
30                          Form("local://%s",gSystem->pwd()));
31
32   TStopwatch timer;
33   timer.Start();
34
35   rec.Run();
36   timer.Stop();
37   timer.Print();
38   gObjectTable->Print();
39
40 }