]>
Commit | Line | Data |
---|---|---|
cedfe9ca | 1 | void Rec(TString file="/scratch/alicehp2/commun/testbeam07/LHC07a_EMCAL/000000190/raw/07000000190001.10.root") |
35eca021 | 2 | { |
cedfe9ca | 3 | |
4 | // Modified for aliroot v4-13 | |
5 | // Cynthia Hadjidakis, 30 May 2008 | |
35eca021 | 6 | // Reconstruction of RAW data from the input file raw.root |
7 | // Boris Polichtchouk, 31 Aug 2007 | |
8 | ||
cedfe9ca | 9 | |
35eca021 | 10 | AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT"); |
cedfe9ca | 11 | AliCDBManager::Instance()->SetSpecificStorage("EMCAL/Calib/Data","local://$ALICE_ROOT/EMCAL/beamtest07/"); |
35eca021 | 12 | |
13 | //AliLog::SetGlobalDebugLevel(2); | |
14 | ||
15 | AliReconstruction rec ; | |
16 | rec.SetOption("EMCAL","OldRCUFormat"); | |
cedfe9ca | 17 | rec.SetRunQA(kFALSE); // bug with QA |
35eca021 | 18 | rec.SetRunTracking("") ; |
cedfe9ca | 19 | rec.SetRunVertexFinder(kFALSE) ; |
35eca021 | 20 | rec.SetRunLocalReconstruction("EMCAL") ; |
21 | rec.SetFillESD("EMCAL") ; | |
cedfe9ca | 22 | |
35eca021 | 23 | rec.SetInput(file.Data()); // read RAW data |
24 | ||
cedfe9ca | 25 | rec.SetEventRange(0,-1); |
35eca021 | 26 | rec.SetNumberOfEventsPerFile(-1); |
35eca021 | 27 | rec.Run(); |
28 | ||
cedfe9ca | 29 | delete rec; |
30 | gObjectTable->Print(); | |
35eca021 | 31 | |
32 | } | |
cedfe9ca | 33 | |
34 |