]>
Commit | Line | Data |
---|---|---|
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/OCDB"); | |
11 | AliCDBManager::Instance()->SetSpecificStorage("EMCAL/Calib/Data","local://$ALICE_ROOT/OCDB/EMCAL/beamtest07/"); | |
12 | ||
13 | //AliLog::SetGlobalDebugLevel(2); | |
14 | ||
15 | AliReconstruction rec ; | |
16 | rec.SetOption("EMCAL","OldRCUFormat"); | |
17 | rec.SetRunQA(kFALSE); // bug with QA | |
18 | rec.SetRunTracking("") ; | |
19 | rec.SetRunVertexFinder(kFALSE) ; | |
20 | rec.SetRunLocalReconstruction("EMCAL") ; | |
21 | rec.SetFillESD("EMCAL") ; | |
22 | ||
23 | rec.SetInput(file.Data()); // read RAW data | |
24 | ||
25 | rec.SetEventRange(0,-1); | |
26 | rec.SetNumberOfEventsPerFile(-1); | |
27 | rec.Run(); | |
28 | ||
29 | delete rec; | |
30 | gObjectTable->Print(); | |
31 | ||
32 | } | |
33 | ||
34 |