]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/macros/TestEMCALReconstruction.C
minor updates to rec macro
[u/mrichter/AliRoot.git] / EMCAL / macros / TestEMCALReconstruction.C
index bf59776420f641d9430aa045cb23fafab88ea2ec..683e4b3b0c2e037e646b5873a43da04c597feb54 100644 (file)
@@ -8,20 +8,33 @@ LLNL
 */
 
 
-void TestEMCALReconstruction(Int_t nev =3) {
+void TestEMCALReconstruction(Int_t nev =-1) {
+
+  //  AliLog::SetModuleDebugLevel("EMCAL",100);
 
   AliReconstruction rec;
 
-  TStopwatch timer;
-  timer.Start();
   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.SetInput("raw.root");
+  //rec.SetRunQA(":");
+
+  // **** The field map settings must be the same as in Config.C !
+  AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
+  Bool_t uniform=kFALSE;
+  AliTracker::SetFieldMap(field,uniform);
+
+  TStopwatch timer;
+  timer.Start();
+
   rec.Run();
   timer.Stop();
   timer.Print();
+  gObjectTable->Print();
 
 }