Root6-enabled version
[u/mrichter/AliRoot.git] / test / PbPbbench / recraw / rec.C
index 194a5ed..50799fa 100644 (file)
@@ -1,25 +1,35 @@
 void rec() {
 
-  AliCDBManager::Instance()->SetRun(0);
-
-  AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 2, 1., 10., AliMagFMaps::k5kG);
-  AliTracker::SetFieldMap(field,kTRUE);
-
   AliReconstruction reco;
 
-  reco.SetUniformFieldTracking(kFALSE);
   reco.SetWriteESDfriend();
   reco.SetWriteAlignmentData();
-  reco.SetRecoParam("TPC",AliTPCRecoParam::GetHighFluxParam());
-  reco.SetRecoParam("TRD",AliTRDrecoParam::GetHighFluxParam());
-  reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
-  reco.SetRecoParam("MUON",AliMUONRecoParam::GetHighFluxParam());
 
-  reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON FMD PMD ZDC T0 VZERO");
+  reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  reco.SetSpecificStorage("GRP/GRP/Data",
+                         Form("local://%s/..",gSystem->pwd()));
+  reco.SetSpecificStorage("VZERO/Calib/Data",
+                         "local://$ALICE_ROOT/OCDB/VZERO/PbPb");
+
+  reco.SetRunQA("ALL:ALL") ;
+  
+  reco.SetQARefDefaultStorage("local://$ALICE_ROOT/QAref") ;
+  reco.SetRunPlaneEff(kTRUE);
+  
+  for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {
+    reco.SetQACycles((AliQAv1::DETECTORINDEX_t)det, 999) ;
+    reco.SetQAWriteExpert((AliQAv1::DETECTORINDEX_t)det) ; 
+  }
+
   reco.SetInput("raw.root");
 
   reco.SetNumberOfEventsPerFile(-1); // all events in one single file
-  reco.SetRunVertexFinderTracks(kFALSE);
+
+  // High multiplicity settings
+  Double_t cuts[]={33, 0.1, 0.1, 0.05, 0.99, 0.9, 100}; 
+  AliV0vertexer::SetDefaultCuts(cuts); 
+  Double_t cts[]={33., 0.05, 0.008, 0.035, 0.1, 0.9985, 0.9,100}; 
+  AliCascadeVertexer::SetDefaultCuts(cts); 
 
   TStopwatch timer;
   timer.Start();