Skip to content

Commit 655862b

Browse files
shreyasiacharyasawenzel
authored andcommitted
beauty and charm to mu
1 parent 942d128 commit 655862b

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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

0 commit comments

Comments
 (0)