small correction
[u/mrichter/AliRoot.git] / test / PbPbbench / recraw / rec.C
CommitLineData
313d5d68 1void rec() {
2
313d5d68 3 AliReconstruction reco;
4
313d5d68 5 reco.SetWriteESDfriend();
6 reco.SetWriteAlignmentData();
313d5d68 7
162637e4 8 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
8bd4ae25 9 reco.SetSpecificStorage("GRP/GRP/Data",
10 Form("local://%s/..",gSystem->pwd()));
8bd4ae25 11
6dc54f2c 12 reco.SetRunQA("ALL:ALL") ;
13
f1c1204d 14 reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
6dc54f2c 15
16 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
17 reco.SetQACycles(det, 999) ;
18 reco.SetQAWriteExpert(det) ;
19 }
20
313d5d68 21 reco.SetInput("raw.root");
22
23 reco.SetNumberOfEventsPerFile(-1); // all events in one single file
24
25 TStopwatch timer;
26 timer.Start();
27 reco.Run();
28 timer.Stop();
29 timer.Print();
30}