Root6-enabled version
[u/mrichter/AliRoot.git] / test / PbPbbench / rec.C
... / ...
CommitLineData
1void 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 reco.SetSpecificStorage("VZERO/Calib/Data",
11 "local://$ALICE_ROOT/OCDB/VZERO/PbPb");
12 reco.SetRunQA("ALL:ALL") ;
13
14 reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
15 reco.SetRunPlaneEff(kTRUE);
16
17 for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
18 reco.SetQACycles((AliQAv1::DETECTORINDEX_t)det, 999) ;
19 reco.SetQAWriteExpert((AliQAv1::DETECTORINDEX_t)det) ;
20 }
21
22 // High multiplicity settings
23 Double_t cuts[]={33, 0.1, 0.1, 0.05, 0.99, 0.9, 100};
24 AliV0vertexer::SetDefaultCuts(cuts);
25 Double_t cts[]={33., 0.05, 0.008, 0.035, 0.1, 0.9985, 0.9,100};
26 AliCascadeVertexer::SetDefaultCuts(cts);
27
28 TStopwatch timer;
29 timer.Start();
30 reco.Run();
31 timer.Stop();
32 timer.Print();
33}