]> git.uio.no Git - u/mrichter/AliRoot.git/blob - test/ppbench/recraw/rec.C
New ResetDetector method required by AMORE
[u/mrichter/AliRoot.git] / test / ppbench / recraw / rec.C
1 void rec() {
2
3   AliReconstruction reco;
4
5   reco.SetWriteESDfriend();
6   reco.SetWriteAlignmentData();
7
8   reco.SetInput("raw.root");
9
10   reco.SetNumberOfEventsPerFile(-1); // all events in one single file
11
12   reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
13   reco.SetSpecificStorage("GRP/GRP/Data",
14                           Form("local://%s/..",gSystem->pwd()));
15   reco.SetRunPlaneEff(kTRUE);
16
17   reco.SetRunReconstruction("ALL -ZDC") ;
18   reco.SetRunQA("ALL:ALL") ;
19   
20   reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
21   
22   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
23     reco.SetQACycles(det, 999) ;
24     reco.SetQAWriteExpert(det) ; 
25   }
26
27   TStopwatch timer;
28   timer.Start();
29   reco.Run();
30   timer.Stop();
31   timer.Print();
32 }