Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / test / QA / rec.C
CommitLineData
930e6e3e 1 void rec() {
478d5b53 2
3 AliReconstruction reco;
2ded75c3 4
478d5b53 5 reco.SetWriteESDfriend();
6 reco.SetWriteAlignmentData();
162637e4 7 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
a002cebe 8 reco.SetSpecificStorage("GRP/GRP/Data",
9 Form("local://%s",gSystem->pwd()));
10
11 AliTPCReconstructor::SetStreamLevel(1);
cfe7293f 12
cfe7293f 13 reco.SetRunQA("ALL:ALL") ;
ce43afbe 14
162637e4 15 AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;
478d5b53 16
930e6e3e 17 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
984cda5b 18 reco.SetQACycles(det, 999) ;
937e4a4c 19 reco.SetQAWriteExpert(det) ;
930e6e3e 20 }
21
478d5b53 22 TStopwatch timer;
23 timer.Start();
57acd2d2 24 reco.Run("raw.root");
478d5b53 25 timer.Stop();
26 timer.Print();
27}
28