From 24ea079a53308fa73137218b5b4ae9daf4adf3b8 Mon Sep 17 00:00:00 2001 From: hristov Date: Wed, 10 Dec 2014 11:27:10 +0100 Subject: [PATCH] Corrected generation of AODs --- test/generators/TUHKMgen/aod.C | 13 +++++++++++++ test/generators/TUHKMgen/runtest.sh | 2 +- test/generators/epos/aod.C | 13 +++++++++++++ test/generators/epos/runtest.sh | 2 +- test/generators/herwig/aod.C | 13 +++++++++++++ test/generators/herwig/runtest.sh | 2 +- test/generators/therminator/aod.C | 13 +++++++++++++ test/generators/therminator/runtest.sh | 2 +- 8 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 test/generators/TUHKMgen/aod.C create mode 100644 test/generators/epos/aod.C create mode 100644 test/generators/herwig/aod.C create mode 100644 test/generators/therminator/aod.C diff --git a/test/generators/TUHKMgen/aod.C b/test/generators/TUHKMgen/aod.C new file mode 100644 index 00000000000..249a626e4fb --- /dev/null +++ b/test/generators/TUHKMgen/aod.C @@ -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://.\")"); +} diff --git a/test/generators/TUHKMgen/runtest.sh b/test/generators/TUHKMgen/runtest.sh index 355f04ec148..f035dbec2bc 100755 --- a/test/generators/TUHKMgen/runtest.sh +++ b/test/generators/TUHKMgen/runtest.sh @@ -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 index 00000000000..249a626e4fb --- /dev/null +++ b/test/generators/epos/aod.C @@ -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://.\")"); +} diff --git a/test/generators/epos/runtest.sh b/test/generators/epos/runtest.sh index 029fc6ac7c9..da8ef533b31 100755 --- a/test/generators/epos/runtest.sh +++ b/test/generators/epos/runtest.sh @@ -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 index 00000000000..249a626e4fb --- /dev/null +++ b/test/generators/herwig/aod.C @@ -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://.\")"); +} diff --git a/test/generators/herwig/runtest.sh b/test/generators/herwig/runtest.sh index 355f04ec148..f035dbec2bc 100755 --- a/test/generators/herwig/runtest.sh +++ b/test/generators/herwig/runtest.sh @@ -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 index 00000000000..249a626e4fb --- /dev/null +++ b/test/generators/therminator/aod.C @@ -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://.\")"); +} diff --git a/test/generators/therminator/runtest.sh b/test/generators/therminator/runtest.sh index 355f04ec148..f035dbec2bc 100755 --- a/test/generators/therminator/runtest.sh +++ b/test/generators/therminator/runtest.sh @@ -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 -- 2.39.3