Skip to content

Commit 9d719fd

Browse files
rpezzigconesab
authored andcommitted
Fix number of muons on boxmuon embedded generators
1 parent 5b379fb commit 9d719fd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

MC/run/PWGDQ/runFwdMuBoxGen_PbPb.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ NSIGEVENTS=${NSIGEVENTS:-1}
1414
NBKGEVENTS=${NBKGEVENTS:-1}
1515
NWORKERS=${NWORKERS:-8}
1616
NTIMEFRAMES=${NTIMEFRAMES:-1}
17-
NBOXMUONS=${NBOXMUONS:2}
17+
NBOXMUONS=${NBOXMUONS:-2}
1818

19-
NMUONS=$NBOXMUONS ${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py -eCM 5020 -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -e TGeant4 \
19+
${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py -eCM 5020 -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -e TGeant4 \
2020
-confKey "GeneratorExternal.fileName=${O2DPG_ROOT}/MC/config/PWGDQ/external/generator/GeneratorBoxFwd.C;GeneratorExternal.funcName=fwdMuBoxGen()" \
2121
-genBkg pythia8 -procBkg "heavy_ion" -colBkg PbPb --embedding -nb ${NBKGEVENTS} --mft-reco-full --mft-assessment-full --fwdmatching-assessment-full --fwdmatching-save-trainingdata
2222

2323
# run workflow (MFT-related tasks)
24-
${O2DPG_ROOT}/MC/bin/o2_dpg_workflow_runner.py -f workflow.json -tt "(mft.*)"
24+
NMUONS=$NBOXMUONS ${O2DPG_ROOT}/MC/bin/o2_dpg_workflow_runner.py -f workflow.json -tt "(mft.*)"

MC/run/PWGDQ/runFwdMuBoxGen_pp.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ NSIGEVENTS=${NSIGEVENTS:-1}
1414
NBKGEVENTS=${NBKGEVENTS:-1}
1515
NWORKERS=${NWORKERS:-8}
1616
NTIMEFRAMES=${NTIMEFRAMES:-1}
17-
NBOXMUONS=${NBOXMUONS:2}
17+
NBOXMUONS=${NBOXMUONS:-2}
1818

19-
NMUONS=$NBOXMUONS ${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py -eCM 13600 -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -e TGeant4 -mod "--skipModules ZDC" \
19+
${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py -eCM 13600 -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -e TGeant4 -mod "--skipModules ZDC" \
2020
-confKey "GeneratorExternal.fileName=${O2DPG_ROOT}/MC/config/PWGDQ/external/generator/GeneratorBoxFwd.C;GeneratorExternal.funcName=fwdMuBoxGen()" \
2121
-genBkg pythia8 -procBkg inel -colBkg pp --embedding -nb ${NBKGEVENTS} --mft-reco-full --mft-assessment-full --fwdmatching-assessment-full --fwdmatching-save-trainingdata
2222

2323
# run workflow (MFT-related tasks)
24-
${O2DPG_ROOT}/MC/bin/o2_dpg_workflow_runner.py -f workflow.json -tt "(mft.*)"
24+
NMUONS=$NBOXMUONS ${O2DPG_ROOT}/MC/bin/o2_dpg_workflow_runner.py -f workflow.json -tt "(mft.*)"

0 commit comments

Comments
 (0)