]> git.uio.no Git - u/mrichter/AliRoot.git/blob - test/QA/recraw.C
545796e9d342dd761fa39c5f91aa0361ae940858
[u/mrichter/AliRoot.git] / test / QA / recraw.C
1 void recraw() {
2
3         // AliReconstruction settings
4   AliReconstruction reco;
5
6   reco.SetWriteESDfriend(kTRUE);
7   reco.SetWriteAlignmentData();
8   reco.SetInput("raw.root");
9
10   reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
11   reco.SetSpecificStorage("GRP/GRP/Data",
12                           Form("local://%s/..",gSystem->pwd()));
13
14
15   reco.SetUseTrackingErrorsForAlignment("ITS");
16         
17   // all events in one single file
18   reco.SetNumberOfEventsPerFile(-1);
19
20   // switch off cleanESD
21   reco.SetCleanESD(kFALSE);
22         
23   reco.SetRunQA("ALL:ALL") ;
24
25   AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;
26   for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
27     reco.SetQACycles(det, 9999) ;
28     reco.SetQAWriteExpert(det) ; 
29   }
30   
31   AliLog::Flush();
32         
33   TStopwatch timer;
34   timer.Start();
35   reco.Run();
36   timer.Stop();
37   timer.Print();
38 }
39