1 void Rec(TString file="/scratch/alicehp2/commun/testbeam07/LHC07a_EMCAL/000000190/raw/07000000190001.10.root")
4 // Modified for aliroot v4-13
5 // Cynthia Hadjidakis, 30 May 2008
6 // Reconstruction of RAW data from the input file raw.root
7 // Boris Polichtchouk, 31 Aug 2007
10 AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT");
11 AliCDBManager::Instance()->SetSpecificStorage("EMCAL/Calib/Data","local://$ALICE_ROOT/EMCAL/beamtest07/");
13 //AliLog::SetGlobalDebugLevel(2);
14 AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., 1);
15 AliTracker::SetFieldMap(field,kFALSE);
17 AliReconstruction rec ;
18 rec.SetOption("EMCAL","OldRCUFormat");
19 rec.SetRunQA(kFALSE); // bug with QA
20 rec.SetRunTracking("") ;
21 rec.SetRunVertexFinder(kFALSE) ;
22 rec.SetRunLocalReconstruction("EMCAL") ;
23 rec.SetFillESD("EMCAL") ;
25 rec.SetInput(file.Data()); // read RAW data
27 rec.SetEventRange(0,-1);
28 rec.SetNumberOfEventsPerFile(-1);
32 gObjectTable->Print();