]> git.uio.no Git - u/mrichter/AliRoot.git/blob - test/QA/rec.C
Introducing event specie in QA (Yves)
[u/mrichter/AliRoot.git] / test / QA / rec.C
1  void rec() {
2   
3   AliReconstruction reco;
4
5   reco.SetWriteESDfriend();
6   reco.SetWriteAlignmentData();
7   reco.SetDefaultStorage("local://$ALICE_ROOT");
8   reco.SetSpecificStorage("GRP/GRP/Data",
9                           Form("local://%s",gSystem->pwd()));
10
11   AliTPCReconstructor::SetStreamLevel(1);
12
13   reco.SetRunQA("ALL:ALL") ;
14           
15   AliQA::SetQARefStorage("local://$ALICE_ROOT") ;
16   
17   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
18     reco.SetQACycles(det, 999) ;
19     reco.SetQAWriteExpert(det) ; 
20   }
21   
22   TStopwatch timer;
23   timer.Start();
24   reco.Run("raw.root");
25   timer.Stop();
26   timer.Print();
27 }
28