ROOT logo
/*

Simple macro to test EMCAL Reconstruction

J.L. Klay
LLNL

*/


void TestEMCALReconstruction(Int_t nev =-1) {

  //  AliLog::SetModuleDebugLevel("EMCAL",100);

  AliReconstruction rec;

  rec.SetRunTracking("");
  rec.SetRunVertexFinder(kFALSE);

  //calls local reconstruction of EMCAL and filling of ESD
  rec.SetRunLocalReconstruction("EMCAL");  //only do emcal
  rec.SetFillESD("EMCAL");
  rec.SetEventRange(0,nev);
  rec.SetRunQA(":");

  // Decomment this line in case of real data,
  // add the proper name of the file
  //rec.SetInput("raw.root");
  
  //OCDB settings
  rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
  
  // Decommetn this line in case of anchored MC runs or data,
  // with the appropriate year
  //rec.SetDefaultStorage("alien://Folder=/alice/data/2011/OCDB");

  rec.SetSpecificStorage("GRP/GRP/Data",
                         Form("local://%s",gSystem->pwd()));

  TStopwatch timer;
  timer.Start();

  rec.Run();
  timer.Stop();
  timer.Print();
  gObjectTable->Print();

}
 TestEMCALReconstruction.C:1
 TestEMCALReconstruction.C:2
 TestEMCALReconstruction.C:3
 TestEMCALReconstruction.C:4
 TestEMCALReconstruction.C:5
 TestEMCALReconstruction.C:6
 TestEMCALReconstruction.C:7
 TestEMCALReconstruction.C:8
 TestEMCALReconstruction.C:9
 TestEMCALReconstruction.C:10
 TestEMCALReconstruction.C:11
 TestEMCALReconstruction.C:12
 TestEMCALReconstruction.C:13
 TestEMCALReconstruction.C:14
 TestEMCALReconstruction.C:15
 TestEMCALReconstruction.C:16
 TestEMCALReconstruction.C:17
 TestEMCALReconstruction.C:18
 TestEMCALReconstruction.C:19
 TestEMCALReconstruction.C:20
 TestEMCALReconstruction.C:21
 TestEMCALReconstruction.C:22
 TestEMCALReconstruction.C:23
 TestEMCALReconstruction.C:24
 TestEMCALReconstruction.C:25
 TestEMCALReconstruction.C:26
 TestEMCALReconstruction.C:27
 TestEMCALReconstruction.C:28
 TestEMCALReconstruction.C:29
 TestEMCALReconstruction.C:30
 TestEMCALReconstruction.C:31
 TestEMCALReconstruction.C:32
 TestEMCALReconstruction.C:33
 TestEMCALReconstruction.C:34
 TestEMCALReconstruction.C:35
 TestEMCALReconstruction.C:36
 TestEMCALReconstruction.C:37
 TestEMCALReconstruction.C:38
 TestEMCALReconstruction.C:39
 TestEMCALReconstruction.C:40
 TestEMCALReconstruction.C:41
 TestEMCALReconstruction.C:42
 TestEMCALReconstruction.C:43
 TestEMCALReconstruction.C:44
 TestEMCALReconstruction.C:45
 TestEMCALReconstruction.C:46
 TestEMCALReconstruction.C:47
 TestEMCALReconstruction.C:48
 TestEMCALReconstruction.C:49