File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed
Expand file tree Collapse file tree 2 files changed +54
-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+ # ----------- SETUP LOCAL CCDB CACHE --------------------------
8+ export ALICEO2_CCDB_LOCALCACHE=$PWD /.ccdb
9+
10+
11+ # ----------- LOAD UTILITY FUNCTIONS --------------------------
12+ . ${O2_ROOT} /share/scripts/jobutils.sh
13+
14+ RNDSEED=${RNDSEED:- 0}
15+ NSIGEVENTS=${NSIGEVENTS:- 1}
16+ NBKGEVENTS=${NBKGEVENTS:- 1}
17+ NWORKERS=${NWORKERS:- 8}
18+ NTIMEFRAMES=${NTIMEFRAMES:- 1}
19+
20+
21+ ${O2DPG_ROOT} /MC/bin/o2dpg_sim_workflow.py -eCM 13600 -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -e TGeant4 -mod " MCH MFT MID ITS" \
22+ -trigger " external" -ini $O2DPG_ROOT /MC/config/PWGDQ/ini/GeneratorHF_bbbarToMuonsSemileptonic_fwdy.ini \
23+ -genBkg pythia8 -procBkg cdiff -colBkg pp --embedding -nb ${NBKGEVENTS} --mft-reco-full \
24+ -confKeyBkg " Diamond.width[2]=6" -interactionRate 2000 --mft-assessment-full --fwdmatching-assessment-full
25+
26+ # run workflow
27+ ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json -f workflow.json -tt aod -jmax 1
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+ # ----------- SETUP LOCAL CCDB CACHE --------------------------
8+ export ALICEO2_CCDB_LOCALCACHE=$PWD /.ccdb
9+
10+
11+ # ----------- LOAD UTILITY FUNCTIONS --------------------------
12+ . ${O2_ROOT} /share/scripts/jobutils.sh
13+
14+ RNDSEED=${RNDSEED:- 0}
15+ NSIGEVENTS=${NSIGEVENTS:- 1}
16+ NBKGEVENTS=${NBKGEVENTS:- 1}
17+ NWORKERS=${NWORKERS:- 8}
18+ NTIMEFRAMES=${NTIMEFRAMES:- 1}
19+
20+
21+ ${O2DPG_ROOT} /MC/bin/o2dpg_sim_workflow.py -eCM 13600 -gen external -j ${NWORKERS} -ns ${NSIGEVENTS} -tf ${NTIMEFRAMES} -e TGeant4 -mod " MCH MFT MID ITS" \
22+ -trigger " external" -ini $O2DPG_ROOT /MC/config/PWGDQ/ini/GeneratorHF_ccbarToMuonsSemileptonic_fwdy.ini \
23+ -genBkg pythia8 -procBkg cdiff -colBkg pp --embedding -nb ${NBKGEVENTS} --mft-reco-full \
24+ -confKeyBkg " Diamond.width[2]=6" -interactionRate 2000 --mft-assessment-full --fwdmatching-assessment-full
25+
26+ # run workflow
27+ ${O2DPG_ROOT} /MC/bin/o2_dpg_workflow_runner.py -f workflow.json -f workflow.json -tt aod -jmax 1
You can’t perform that action at this time.
0 commit comments