]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/beamtest07/Rec.C
Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / EMCAL / beamtest07 / Rec.C
index 2b882c865c3775631e667378fbb020be8c64c587..616c8a166b404f5de717f61a6e3c9fdb8e62c2aa 100644 (file)
@@ -1,26 +1,34 @@
-void Rec(TString file="/Users/jklay/Projects/LHC/alice/work/beamtest07/Period_LHC07a_EMCAL.Run_000000518.Host_001.Seq_10.root")
+void Rec(TString file="/scratch/alicehp2/commun/testbeam07/LHC07a_EMCAL/000000190/raw/07000000190001.10.root")
 {
+
+  // Modified for aliroot v4-13
+  // Cynthia Hadjidakis, 30 May 2008
   // Reconstruction of RAW data from the input file raw.root
   // Boris Polichtchouk, 31 Aug 2007
 
-  AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT");
-  AliCDBManager::Instance()->SetSpecificStorage("EMCAL/Calib/Data","local://");
+
+  AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  AliCDBManager::Instance()->SetSpecificStorage("EMCAL/Calib/Data","local://$ALICE_ROOT/OCDB/EMCAL/beamtest07/");
 
   //AliLog::SetGlobalDebugLevel(2);
 
   AliReconstruction rec ;
   rec.SetOption("EMCAL","OldRCUFormat");
+  rec.SetRunQA(kFALSE);       // bug with QA
   rec.SetRunTracking("") ;
-  rec.SetRunVertexFinder(kFALSE) ; 
+  rec.SetRunVertexFinder(kFALSE) ;
   rec.SetRunLocalReconstruction("EMCAL") ;
   rec.SetFillESD("EMCAL") ;
-
+  
   rec.SetInput(file.Data());  // read RAW data
 
-  rec.SetEventRange(0,10);
+  rec.SetEventRange(0,-1);
   rec.SetNumberOfEventsPerFile(-1);
-
   rec.Run();
 
+  delete rec;
+  gObjectTable->Print();
 
 }
+
+