File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # make sure O2DPG + O2 is loaded
4+ [ ! " ${O2DPG_ROOT} " ] && echo " Error: This needs O2DPG loaded" && exit 1
5+ [ ! " ${O2_ROOT} " ] && echo " Error: This needs O2 loaded" && exit 1
6+
7+
8+ # ----------- LOAD UTILITY FUNCTIONS --------------------------
9+ . ${O2_ROOT} /share/scripts/jobutils.sh
10+
11+ RNDSEED=${RNDSEED:- 0}
12+ NSIGEVENTS=${NSIGEVENTS:- 1}
13+ NBKGEVENTS=${NBKGEVENTS:- 1}
14+ NWORKERS=${NWORKERS:- 8}
15+ NTIMEFRAMES=${NTIMEFRAMES:- 1}
16+
17+ ${O2DPG_ROOT} /MC/bin/o2dpg_sim_workflow.py -eCM 900 -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -e TGeant4 -mod " --skipModules ZDC" \
18+ -confKey " GeneratorExternal.fileName=GeneratorCocktailPromptCharmoniaToMuonEvtGen_pp13TeV.C;GeneratorExternal.funcName=GeneratorCocktailPromptCharmoniaToMuonEvtGen_pp13TeV()" \
19+ -genBkg pythia8 -procBkg inel -colBkg pp --embedding -nb ${NBKGEVENTS}
20+
21+
22+ # run workflow
23+ ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # make sure O2DPG + O2 is loaded
4+ [ ! " ${O2DPG_ROOT} " ] && echo " Error: This needs O2DPG loaded" && exit 1
5+ [ ! " ${O2_ROOT} " ] && echo " Error: This needs O2 loaded" && exit 1
6+
7+
8+ # ----------- LOAD UTILITY FUNCTIONS --------------------------
9+ . ${O2_ROOT} /share/scripts/jobutils.sh
10+
11+ RNDSEED=${RNDSEED:- 0}
12+ NSIGEVENTS=${NSIGEVENTS:- 1}
13+ NBKGEVENTS=${NBKGEVENTS:- 1}
14+ NWORKERS=${NWORKERS:- 8}
15+ NTIMEFRAMES=${NTIMEFRAMES:- 1}
16+
17+ ${O2DPG_ROOT} /MC/bin/o2dpg_sim_workflow.py -eCM 900 -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -e TGeant4 -mod " --skipModules ZDC" \
18+ -confKey " GeneratorExternal.fileName=GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV.C;GeneratorExternal.funcName=GeneratorParamPromptJpsiToElectronEvtGen_pp13TeV()" \
19+ -genBkg pythia8 -procBkg inel -colBkg pp --embedding -nb ${NBKGEVENTS}
20+
21+ # run workflow
22+ ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json
You can’t perform that action at this time.
0 commit comments