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