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