From 3d9a2d957722c6e2b3e9e5a8e9369d9abadfd25f Mon Sep 17 00:00:00 2001 From: feisenhu <53603353+feisenhu@users.noreply.github.com> Date: Tue, 14 May 2024 11:59:50 +0200 Subject: [PATCH] PWGEM add ini files for different Gap triggers (#1625) * PWGEM add ini files for different Gap triggers * Adjust skripts that use renamed ini files --------- Co-authored-by: Florian Eisenhut --- ... => GeneratorHFGapTriggered_BeautyForcedDecay_Gap3.ini} | 0 .../ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap4.ini | 6 ++++++ .../ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap5.ini | 6 ++++++ .../ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap6.ini | 6 ++++++ .../ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap7.ini | 6 ++++++ ...> GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap3.ini} | 0 .../GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap4.ini | 6 ++++++ .../GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap5.ini | 6 ++++++ .../GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap6.ini | 6 ++++++ .../GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap7.ini | 6 ++++++ ...ed_Charm.ini => GeneratorHFGapTriggered_Charm_Gap3.ini} | 0 MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap4.ini | 6 ++++++ MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap5.ini | 6 ++++++ MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap6.ini | 6 ++++++ MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap7.ini | 6 ++++++ MC/run/PWGEM/runHFGapToDielectrons_pp.sh | 7 ++++--- 16 files changed, 76 insertions(+), 3 deletions(-) rename MC/config/PWGEM/ini/{GeneratorHFGapTriggered_BeautyForcedDecay.ini => GeneratorHFGapTriggered_BeautyForcedDecay_Gap3.ini} (100%) create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap4.ini create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap5.ini create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap6.ini create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap7.ini rename MC/config/PWGEM/ini/{GeneratorHFGapTriggered_BeautyNoForcedDecay.ini => GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap3.ini} (100%) create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap4.ini create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap5.ini create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap6.ini create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap7.ini rename MC/config/PWGEM/ini/{GeneratorHFGapTriggered_Charm.ini => GeneratorHFGapTriggered_Charm_Gap3.ini} (100%) create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap4.ini create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap5.ini create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap6.ini create mode 100644 MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap7.ini diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap3.ini similarity index 100% rename from MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay.ini rename to MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap3.ini diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap4.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap4.ini new file mode 100644 index 000000000..704e6678f --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap4.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredBeautyForcedDecays(4) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap5.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap5.ini new file mode 100644 index 000000000..3cfd8272f --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap5.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredBeautyForcedDecays(5) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap6.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap6.ini new file mode 100644 index 000000000..e5c2b382e --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap6.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredBeautyForcedDecays(6) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap7.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap7.ini new file mode 100644 index 000000000..6b16cb28b --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyForcedDecay_Gap7.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredBeautyForcedDecays(7) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap3.ini similarity index 100% rename from MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay.ini rename to MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap3.ini diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap4.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap4.ini new file mode 100644 index 000000000..100008d16 --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap4.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredBeautyNoForcedDecays(4) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap5.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap5.ini new file mode 100644 index 000000000..6c3612e2a --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap5.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredBeautyNoForcedDecays(5) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap6.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap6.ini new file mode 100644 index 000000000..d64e71db5 --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap6.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredBeautyNoForcedDecays(6) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap7.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap7.ini new file mode 100644 index 000000000..08c851c7e --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap7.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredBeautyNoForcedDecays(7) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap3.ini similarity index 100% rename from MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm.ini rename to MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap3.ini diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap4.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap4.ini new file mode 100644 index 000000000..61dcdeed2 --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap4.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredCharmLepton(4) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap5.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap5.ini new file mode 100644 index 000000000..11726920c --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap5.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredCharmLepton(5) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap6.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap6.ini new file mode 100644 index 000000000..37846a7d7 --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap6.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredCharmLepton(6) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap7.ini b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap7.ini new file mode 100644 index 000000000..da3c9c60d --- /dev/null +++ b/MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap7.ini @@ -0,0 +1,6 @@ +[GeneratorExternal] +fileName = ${O2DPG_ROOT}/MC/config/PWGEM/external/generator/Generator_pythia8_GapTriggered_HFLepton.C +funcName = GeneratorPythia8GapTriggeredCharmLepton(7) + +[GeneratorPythia8] +config = ${O2DPG_ROOT}/MC/config/PWGEM/pythia8/generator/configPythiaEmpty.cfg diff --git a/MC/run/PWGEM/runHFGapToDielectrons_pp.sh b/MC/run/PWGEM/runHFGapToDielectrons_pp.sh index b83c839e3..bc884b56a 100644 --- a/MC/run/PWGEM/runHFGapToDielectrons_pp.sh +++ b/MC/run/PWGEM/runHFGapToDielectrons_pp.sh @@ -16,6 +16,7 @@ NSIGEVENTS=${NSIGEVENTS:-1} NWORKERS=${NWORKERS:-8} NTIMEFRAMES=${NTIMEFRAMES:-1} INTRATE=${INTRATE:-500000} +GAPRATIO=${GAPRATIO:-3} [[ ${SPLITID} != "" ]] && SEED="-seed ${SPLITID}" || SEED="" #generate random number @@ -24,13 +25,13 @@ echo $RNDSIG if [[ $RNDSIG -ge 0 && $RNDSIG -lt 20 ]]; then - CONFIGNAME="GeneratorHFGapTriggered_Charm.ini" + CONFIGNAME="GeneratorHFGapTriggered_Charm_Gap$GAPRATIO.ini" elif [[ $RNDSIG -ge 20 && $RNDSIG -lt 40 ]]; then - CONFIGNAME="GeneratorHFGapTriggered_BeautyForcedDecay.ini" + CONFIGNAME="GeneratorHFGapTriggered_BeautyForcedDecay_Gap$GAPRATIO.ini" elif [[ $RNDSIG -ge 40 && $RNDSIG -lt 100 ]]; then - CONFIGNAME="GeneratorHFGapTriggered_BeautyNoForcedDecay.ini" + CONFIGNAME="GeneratorHFGapTriggered_BeautyNoForcedDecay_Gap$GAPRATIO.ini" fi