]>
Commit | Line | Data |
---|---|---|
35eca021 | 1 | void Rec(TString file="/Users/jklay/Projects/LHC/alice/work/beamtest07/Period_LHC07a_EMCAL.Run_000000518.Host_001.Seq_10.root") |
2 | { | |
3 | // Reconstruction of RAW data from the input file raw.root | |
4 | // Boris Polichtchouk, 31 Aug 2007 | |
5 | ||
6 | AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT"); | |
7 | AliCDBManager::Instance()->SetSpecificStorage("EMCAL/Calib/Data","local://"); | |
8 | ||
9 | //AliLog::SetGlobalDebugLevel(2); | |
10 | ||
11 | AliReconstruction rec ; | |
12 | rec.SetOption("EMCAL","OldRCUFormat"); | |
13 | rec.SetRunTracking("") ; | |
14 | rec.SetRunVertexFinder(kFALSE) ; | |
15 | rec.SetRunLocalReconstruction("EMCAL") ; | |
16 | rec.SetFillESD("EMCAL") ; | |
17 | ||
18 | rec.SetInput(file.Data()); // read RAW data | |
19 | ||
20 | rec.SetEventRange(0,10); | |
21 | rec.SetNumberOfEventsPerFile(-1); | |
22 | ||
23 | rec.Run(); | |
24 | ||
25 | ||
26 | } |