Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / test / PbPbbench / rec.C
CommitLineData
313d5d68 1void rec() {
2 AliReconstruction reco;
3
313d5d68 4 reco.SetWriteESDfriend();
5 reco.SetWriteAlignmentData();
313d5d68 6
162637e4 7 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
8bd4ae25 8 reco.SetSpecificStorage("GRP/GRP/Data",
9 Form("local://%s",gSystem->pwd()));
421fc2ac 10 reco.SetRunQA("ALL:ALL") ;
11
162637e4 12 AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;
421fc2ac 13
14 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
15 reco.SetQACycles(det, 999) ;
16 reco.SetQAWriteExpert(det) ;
17 }
2ded75c3 18
313d5d68 19 TStopwatch timer;
20 timer.Start();
21 reco.Run();
22 timer.Stop();
23 timer.Print();
24}