Corrected generation of AODs
authorhristov <Peter.Hristov@cern.ch>
Wed, 10 Dec 2014 10:27:10 +0000 (11:27 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:09 +0000 (13:52 +0100)
test/generators/TUHKMgen/aod.C [new file with mode: 0644]
test/generators/TUHKMgen/runtest.sh
test/generators/epos/aod.C [new file with mode: 0644]
test/generators/epos/runtest.sh
test/generators/herwig/aod.C [new file with mode: 0644]
test/generators/herwig/runtest.sh
test/generators/therminator/aod.C [new file with mode: 0644]
test/generators/therminator/runtest.sh

diff --git a/test/generators/TUHKMgen/aod.C b/test/generators/TUHKMgen/aod.C
new file mode 100644 (file)
index 0000000..249a626
--- /dev/null
@@ -0,0 +1,13 @@
+void aod(){
+
+    gSystem->Load("libANALYSIS");
+    gSystem->Load("libANALYSISalice");
+    gSystem->Load("libCORRFW");
+    gSystem->Load("libPWGHFbase");
+    gSystem->Load("libPWGmuon");
+    gSystem->Load("libESDfilter");
+    gSystem->Load("libTender");
+    gSystem->Load("libPWGPP");
+
+    gROOT->Macro("${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C(\"AliESDs.root\",\"AliAOD.root\",\"local://$ALICE_ROOT/OCDB\",\"local://.\")");
+}
index 355f04e..f035dbe 100755 (executable)
@@ -19,7 +19,7 @@ mv syswatch.log simwatch.log
 aliroot -b -q $1rec.C      2>&1 | tee rec.log
 mv syswatch.log recwatch.log
 aliroot -b -q ${ALICE_ROOT}/STEER/macros/CheckESD.C 2>&1 | tee check.log
-aliroot -b -q ${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C 2>&1 | tee aod.log
+aliroot -b -q aod.C 2>&1 | tee aod.log
 
 
 
diff --git a/test/generators/epos/aod.C b/test/generators/epos/aod.C
new file mode 100644 (file)
index 0000000..249a626
--- /dev/null
@@ -0,0 +1,13 @@
+void aod(){
+
+    gSystem->Load("libANALYSIS");
+    gSystem->Load("libANALYSISalice");
+    gSystem->Load("libCORRFW");
+    gSystem->Load("libPWGHFbase");
+    gSystem->Load("libPWGmuon");
+    gSystem->Load("libESDfilter");
+    gSystem->Load("libTender");
+    gSystem->Load("libPWGPP");
+
+    gROOT->Macro("${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C(\"AliESDs.root\",\"AliAOD.root\",\"local://$ALICE_ROOT/OCDB\",\"local://.\")");
+}
index 029fc6a..da8ef53 100755 (executable)
@@ -19,7 +19,7 @@ mv syswatch.log simwatch.log
 aliroot -b -q $1rec.C      2>&1 | tee rec.log
 mv syswatch.log recwatch.log
 aliroot -b -q ${ALICE_ROOT}/STEER/macros/CheckESD.C 2>&1 | tee check.log
-aliroot -b -q ${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C 2>&1 | tee aod.log
+aliroot -b -q aod.C 2>&1 | tee aod.log
 
 
 
diff --git a/test/generators/herwig/aod.C b/test/generators/herwig/aod.C
new file mode 100644 (file)
index 0000000..249a626
--- /dev/null
@@ -0,0 +1,13 @@
+void aod(){
+
+    gSystem->Load("libANALYSIS");
+    gSystem->Load("libANALYSISalice");
+    gSystem->Load("libCORRFW");
+    gSystem->Load("libPWGHFbase");
+    gSystem->Load("libPWGmuon");
+    gSystem->Load("libESDfilter");
+    gSystem->Load("libTender");
+    gSystem->Load("libPWGPP");
+
+    gROOT->Macro("${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C(\"AliESDs.root\",\"AliAOD.root\",\"local://$ALICE_ROOT/OCDB\",\"local://.\")");
+}
index 355f04e..f035dbe 100755 (executable)
@@ -19,7 +19,7 @@ mv syswatch.log simwatch.log
 aliroot -b -q $1rec.C      2>&1 | tee rec.log
 mv syswatch.log recwatch.log
 aliroot -b -q ${ALICE_ROOT}/STEER/macros/CheckESD.C 2>&1 | tee check.log
-aliroot -b -q ${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C 2>&1 | tee aod.log
+aliroot -b -q aod.C 2>&1 | tee aod.log
 
 
 
diff --git a/test/generators/therminator/aod.C b/test/generators/therminator/aod.C
new file mode 100644 (file)
index 0000000..249a626
--- /dev/null
@@ -0,0 +1,13 @@
+void aod(){
+
+    gSystem->Load("libANALYSIS");
+    gSystem->Load("libANALYSISalice");
+    gSystem->Load("libCORRFW");
+    gSystem->Load("libPWGHFbase");
+    gSystem->Load("libPWGmuon");
+    gSystem->Load("libESDfilter");
+    gSystem->Load("libTender");
+    gSystem->Load("libPWGPP");
+
+    gROOT->Macro("${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C(\"AliESDs.root\",\"AliAOD.root\",\"local://$ALICE_ROOT/OCDB\",\"local://.\")");
+}
index 355f04e..f035dbe 100755 (executable)
@@ -19,7 +19,7 @@ mv syswatch.log simwatch.log
 aliroot -b -q $1rec.C      2>&1 | tee rec.log
 mv syswatch.log recwatch.log
 aliroot -b -q ${ALICE_ROOT}/STEER/macros/CheckESD.C 2>&1 | tee check.log
-aliroot -b -q ${ALICE_ROOT}/STEER/macros/CreateAODfromESD.C 2>&1 | tee aod.log
+aliroot -b -q aod.C 2>&1 | tee aod.log