1 void rec(Int_t runNumber, Int_t nev=10000, Int_t firstev=0)
\r
3 gSystem->Load("libRAliEn.so");
\r
4 gSystem->Load("libNet.so");
\r
6 // Set the CDB storage location
\r
7 AliCDBManager * man = AliCDBManager::Instance();
\r
8 man->SetDefaultStorage("raw://");
\r
10 // Reconstruction settings
\r
11 AliReconstruction rec;
\r
15 rec.SetRunGlobalQA(kFALSE);
\r
16 rec.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
\r
18 // AliReconstruction settings
\r
19 rec.SetWriteESDfriend(kTRUE);
\r
20 rec.SetWriteAlignmentData();
\r
21 rec.SetInput(Form("raw://run%d",runNumber));
\r
22 // rec.SetRunReconstruction("ALL -HLT -PMD -MUON -PHOS");
\r
23 rec.SetRunReconstruction("ALL");
\r
24 rec.SetUseTrackingErrorsForAlignment("ITS");
\r
26 Int_t lastev=nev+firstev-1;
\r
27 rec.SetEventRange(0,lastev);
\r
29 // high flux settings (for injection test runs)
\r
30 // rec.SetRecoParam("ITS", AliITSRecoParam::GetHighFluxParam());
\r
32 // switch off cleanESD
\r
33 rec.SetCleanESD(kFALSE);
\r
35 rec.SetOutput(Form("root_archive.zip#AliESDs.root:AliESDs.root,AliESDfriends.root@dataset://run%d",runNumber));
\r