Using GRP instead of local setters
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Nov 2008 16:12:57 +0000 (16:12 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Nov 2008 16:12:57 +0000 (16:12 +0000)
test/fpprod/rec.C
test/fpprod/sim.C

index 2334aec17e3c0fe55fb91f6f66294628b3b7c8f3..5260ff5c74e9f36ae57eb90b3b1cb0ede3dd92ce 100644 (file)
@@ -9,27 +9,16 @@ void rec() {
 
   reco.SetWriteESDfriend();
   reco.SetWriteAlignmentData();
-  reco.SetRecoParam("ITS",AliITSRecoParam::GetLowFluxParam());
-  reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
-  reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
-  reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
-  reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
+
+  reco.SetDefaultStorage("local://$ALICE_ROOT");
+  reco.SetSpecificStorage("GRP/GRP/Data",
+                         Form("local://%s",gSystem->pwd()));
+
   AliGRPRecoParam *grpRecoParam = AliGRPRecoParam::GetLowFluxParam();
   grpRecoParam->SetVertexerTracksConstraintITS(kFALSE);
   grpRecoParam->SetVertexerTracksConstraintTPC(kFALSE);
   reco.SetRecoParam("GRP",grpRecoParam);
 
-  //   reco.SetInput("raw.root");
-  reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON VZERO T0 FMD PMD ZDC");
-  reco.SetRunQA(":");
-  reco.SetRunGlobalQA(kTRUE);
-
-// **** 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
-
   TStopwatch timer;
   timer.Start();
   reco.Run();
index a960e1571e850fe65120f27b53e440079a18bb52..5b46e438d0490049275cbcc86a18233da09e6a6c 100644 (file)
@@ -12,8 +12,10 @@ void sim(Int_t nev=50) {
   if (strcmp(gSystem->GetBuildArch(),"win32gcc")) {
     simulator.SetWriteRawData("ALL","raw.root",kTRUE);
   }
-  simulator.SetRunHLT("");
-  simulator.SetRunQA(":");
+
+  simulator.SetDefaultStorage("local://$ALICE_ROOT");
+  simulator.SetSpecificStorage("GRP/GRP/Data",
+                              Form("local://%s",gSystem->pwd()));
  
   TStopwatch timer;
   timer.Start();