Skip to content

Commit

Permalink
PWGEM add ini files for different Gap triggers (#1625)
Browse files Browse the repository at this point in the history
* PWGEM add ini files for different Gap triggers

* Adjust skripts that use renamed ini files

---------

Co-authored-by: Florian Eisenhut <[email protected]>
(cherry picked from commit 3d9a2d9)
  • Loading branch information
feisenhu authored and alcaliva committed Aug 7, 2024
1 parent 5d40ac8 commit 6972d66
Show file tree
Hide file tree
Showing 16 changed files with 76 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap4.ini
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap5.ini
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap6.ini
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions MC/config/PWGEM/ini/GeneratorHFGapTriggered_Charm_Gap7.ini
Original file line number Diff line number Diff line change
@@ -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
7 changes: 4 additions & 3 deletions MC/run/PWGEM/runHFGapToDielectrons_pp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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


Expand Down

0 comments on commit 6972d66

Please sign in to comment.