]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Possibility to specify user defined OCDB path for
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Feb 2009 11:25:22 +0000 (11:25 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Feb 2009 11:25:22 +0000 (11:25 +0000)
the TPC

TPC/testMC/sim.C
TPC/testMC/submitMC.sh

index 4a694712493ec02704581527d1d27b46bc55134e..a33d28b94784ca3914a2ae5650ddcbd015784f17 100644 (file)
@@ -1,4 +1,4 @@
-void sim(char * configPath, char * tpcDBpath, Int_t nevents){
+void sim(char * configPath, char * tpcDbpath, Int_t nevents){
   //
   //
   //
@@ -9,7 +9,7 @@ void sim(char * configPath, char * tpcDBpath, Int_t nevents){
 
   AliSimulation sim;
   sim.SetConfigFile(configPath);
-  //sim.SetSpecificStorage("TPC/*/*",tpcDBpath);
+  sim.SetSpecificStorage("TPC/*/*",tpcDbpath);
   sim.Run(nevents);
 
 
index 3d6a6b6a18b3dfe386113d49bc3133e2c3ce3cf2..ed70e4f2218e6d46fa4541397194d4744ce6dafe 100755 (executable)
@@ -3,7 +3,7 @@
 # 1 argument      - the path to the environment setup
 # 2 argument      - the job ID
 # 3 argument      - path to Config.C  file
-# 4 argument      - path to TPC database files
+# 4 argument      - path to the database files
 # 5 argument      - number of events in the file
 # 6 argument      - output path
 # 7 argument      - reco type
@@ -45,7 +45,7 @@ mkdir $6
 cd $6
 cp $3 .
 cp $ALICE_ROOT/TPC/testMC/sim.C .
-cp $ALICE_ROOT/TPC/testMC/rec.C .
+cp $ALICE_ROOT/TPC/testMC/recMC.C .
 
 
 
@@ -85,8 +85,6 @@ echo
 echo SUBMITING  RECONSTRUCTION MACRO
 echo "$ALICE_ROOT/TPC/testMC/recMC.C"
 rm AliESD*
-command aliroot  -q -b  "$ALICE_ROOT/TPC/testMC/recMC.C"
+command aliroot  -q -b  "$ALICE_ROOT/TPC/testMC/recMC.C(\"$4\")"
 
 
-command aliroot  -q -b "$ALICE_ROOT/TPC/testMC/compGen.C"
-command aliroot  -q -b "$ALICE_ROOT/TPC/testMC/compRec.C"