]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/beamtest07/Rec.C
Randomizing particle order in the pair for identical particles
[u/mrichter/AliRoot.git] / EMCAL / beamtest07 / Rec.C
1 void Rec(TString file="/scratch/alicehp2/commun/testbeam07/LHC07a_EMCAL/000000190/raw/07000000190001.10.root")
2 {
3
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
8
9
10   AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT");
11   AliCDBManager::Instance()->SetSpecificStorage("EMCAL/Calib/Data","local://$ALICE_ROOT/EMCAL/beamtest07/");
12
13   //AliLog::SetGlobalDebugLevel(2);
14   AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., 1);
15   AliTracker::SetFieldMap(field,kFALSE);
16
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") ;
24   
25   rec.SetInput(file.Data());  // read RAW data
26
27   rec.SetEventRange(0,-1);
28   rec.SetNumberOfEventsPerFile(-1);
29   rec.Run();
30
31   delete rec;
32   gObjectTable->Print();
33
34 }
35
36