improving raw qa making
[u/mrichter/AliRoot.git] / test / fpprod / rec.C
index 78a419f..d10ae74 100644 (file)
@@ -9,21 +9,10 @@ void rec() {
 
   reco.SetWriteESDfriend();
   reco.SetWriteAlignmentData();
-  reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
-  reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
-  reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
-  reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
-  //   reco.SetInput("raw.root");
-  reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON VZERO T0 FMD PMD ZDC");
-  reco.SetRunQA(":");
-  reco.SetRunGlobalQA(kTRUE);
-  reco.SetMeanVertexConstraint(kFALSE);
 
-// **** The field map settings must be the same as in Config.C !
-  AliMagWrapCheb* field = 0x0;
-  field = new AliMagWrapCheb("Maps","Maps", 2, 1., 10., AliMagWrapCheb::k5kG);
-  Bool_t uniform=kFALSE;
-  AliTracker::SetFieldMap(field,uniform);  // tracking with the real map
+  reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  reco.SetSpecificStorage("GRP/GRP/Data",
+                         Form("local://%s",gSystem->pwd()));
 
   TStopwatch timer;
   timer.Start();