Root6-enabled version
[u/mrichter/AliRoot.git] / test / ppbench / recraw / rec.C
CommitLineData
27b7c1fb 1void rec() {
2
27b7c1fb 3 AliReconstruction reco;
4
27b7c1fb 5 reco.SetWriteESDfriend();
6 reco.SetWriteAlignmentData();
27b7c1fb 7
27b7c1fb 8 reco.SetInput("raw.root");
9
10 reco.SetNumberOfEventsPerFile(-1); // all events in one single file
11
162637e4 12 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
50258ad8 13 reco.SetSpecificStorage("GRP/GRP/Data",
14 Form("local://%s/..",gSystem->pwd()));
b5688f53 15 reco.SetRunPlaneEff(kTRUE);
09244196 16
644d78f5 17 reco.SetRunReconstruction("ALL") ;
927ebea8 18 reco.SetRunQA("ALL:ALL") ;
19
f1c1204d 20 reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
927ebea8 21
22 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
2b919384 23 reco.SetQACycles((AliQAv1::DETECTORINDEX_t)det, 999) ;
24 reco.SetQAWriteExpert((AliQAv1::DETECTORINDEX_t)det) ;
927ebea8 25 }
26
27b7c1fb 27 TStopwatch timer;
28 timer.Start();
29 reco.Run();
30 timer.Stop();
31 timer.Print();
32}