Using GRP instead of local setters. Check of the created ESDs, production of standard...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Nov 2008 11:53:37 +0000 (11:53 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Nov 2008 11:53:37 +0000 (11:53 +0000)
test/genkine/runtest.sh
test/genkine/sim/rec.C
test/genkine/sim/sim.C

index e9c011b..f26bd7b 100755 (executable)
@@ -6,5 +6,7 @@ chmod a-w *.root
 cd ../sim
 aliroot -b -q sim.C\(5\) 2>&1 | tee sim.log
 aliroot -b -q rec.C      2>&1 | tee rec.log
+aliroot -b -q ${ALICE_ROOT}/STEER/CheckESD.C 2>&1 | tee check.log
+aliroot -b -q ${ALICE_ROOT}/STEER/CreateAODfromESD.C 2>&1 | tee aod.log
 
 
index 9c7219c..4e765bd 100644 (file)
@@ -1,16 +1,10 @@
 void rec() {
   AliReconstruction reco;
 
-  reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());
-  reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());
-  reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());
-  reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());
-  //  reco.SetRunReconstruction("ITS TPC TRD TOF HMPID FMD PMD VZERO START MUON ZDC");
 
-// **** The field map settings must be the same as in Config.C !
-  AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
-  Bool_t uniform=kFALSE;
-  AliTracker::SetFieldMap(field,uniform);
+  reco.SetDefaultStorage("local://$ALICE_ROOT");
+  reco.SetSpecificStorage("GRP/GRP/Data",
+                         Form("local://%s",gSystem->pwd()));
 
   TStopwatch timer;
   timer.Start();
index 8c4a3ee..1eccc15 100644 (file)
@@ -1,6 +1,10 @@
 void sim(Int_t nev=1) {
   AliSimulation simulator;
 
+  simulator.SetDefaultStorage("local://$ALICE_ROOT");
+  simulator.SetSpecificStorage("GRP/GRP/Data",
+                              Form("local://%s",gSystem->pwd()));
+
   TStopwatch timer;
   timer.Start();
   simulator.Run(nev);