Skip to content

Commit 656071d

Browse files
sawenzelclaude
andcommitted
Add a workflow test with ITS and MFT staggering enabled
This commit adds a CI workflow test that creates and runs a pp workflow with ALIEN_JDL_ITS_STAGGERED=1 and ALIEN_JDL_MFT_STAGGERED=1. - wf_test_pp.sh does not set the variables, so the staggering code paths of this PR were not exercised by CI. - The test is picked up automatically from MC/bin/tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 8912bef commit 656071d

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
3+
#
4+
# A pp workflow MC->RECO->AOD with ITS and MFT staggering enabled
5+
#
6+
7+
# make sure O2DPG + O2 is loaded
8+
[ ! "${O2DPG_ROOT}" ] && echo "Error: This needs O2DPG loaded" && exit 1
9+
[ ! "${O2_ROOT}" ] && echo "Error: This needs O2 loaded" && exit 1
10+
11+
12+
# ----------- START ACTUAL JOB -----------------------------
13+
14+
NSIGEVENTS=${NSIGEVENTS:-5}
15+
SIGPROC=${SIGPROC:-cdiff}
16+
NTIMEFRAMES=${NTIMEFRAMES:-2}
17+
SIMENGINE=${SIMENGINE:-TGeant3}
18+
NWORKERS=${NWORKERS:-1}
19+
SEED=${SEED:-624}
20+
INTERACTIONRATE=${INTERACTIONRATE:-50000}
21+
22+
# enable ITS and MFT staggering in all consumers
23+
export ALIEN_JDL_ITS_STAGGERED=1
24+
export ALIEN_JDL_MFT_STAGGERED=1
25+
26+
# create workflow
27+
${O2DPG_ROOT}/MC/bin/o2dpg_sim_workflow.py -eCM 5020 -col pp -gen pythia8 -proc ${SIGPROC} -ns ${NSIGEVENTS} \
28+
-tf ${NTIMEFRAMES} -e ${SIMENGINE} -j ${NWORKERS} -seed ${SEED} \
29+
--include-analysis -run 310000 -interactionRate ${INTERACTIONRATE} \
30+
--include-local-qc

0 commit comments

Comments
 (0)