Root6-enabled version
[u/mrichter/AliRoot.git] / test / PbPbbench / recraw / rec.C
CommitLineData
313d5d68 1void rec() {
2
313d5d68 3 AliReconstruction reco;
4
313d5d68 5 reco.SetWriteESDfriend();
6 reco.SetWriteAlignmentData();
313d5d68 7
162637e4 8 reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
8bd4ae25 9 reco.SetSpecificStorage("GRP/GRP/Data",
10 Form("local://%s/..",gSystem->pwd()));
a143c29a 11 reco.SetSpecificStorage("VZERO/Calib/Data",
12 "local://$ALICE_ROOT/OCDB/VZERO/PbPb");
8bd4ae25 13
6dc54f2c 14 reco.SetRunQA("ALL:ALL") ;
15
f1c1204d 16 reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
b5688f53 17 reco.SetRunPlaneEff(kTRUE);
6dc54f2c 18
19 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
20 reco.SetQACycles(det, 999) ;
21 reco.SetQAWriteExpert(det) ;
22 }
23
313d5d68 24 reco.SetInput("raw.root");
25
26 reco.SetNumberOfEventsPerFile(-1); // all events in one single file
27
dde492a7 28 // High multiplicity settings
29 Double_t cuts[]={33, 0.1, 0.1, 0.05, 0.99, 0.9, 100};
30 AliV0vertexer::SetDefaultCuts(cuts);
31 Double_t cts[]={33., 0.05, 0.008, 0.035, 0.1, 0.9985, 0.9,100};
32 AliCascadeVertexer::SetDefaultCuts(cts);
33
313d5d68 34 TStopwatch timer;
35 timer.Start();
36 reco.Run();
37 timer.Stop();
38 timer.Print();
39}