Skip to content

Commit 4a213a3

Browse files
committed
anchorMC: JDL coupling to condition_not_after
1 parent e72f726 commit 4a213a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MC/run/ANCHOR/anchorMC.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ print_help()
6060
echo "ALIEN_JDL_MC_ORBITS_PER_TF=N, enforce some orbits per timeframe, instead of determining from CCDB"
6161
echo "ALIEN_JDL_RUN_TIME_SPAN_FILE=FILE, use a run-time-span file to exclude bad data-taking periods"
6262
echo "ALIEN_JDL_INVERT_IRFRAME_SELECTION, invertes the choice of ALIEN_JDL_RUN_TIME_SPAN_FILE"
63+
echo "ALIEN_JDL_CCDB_CONDITION_NOT_AFTER, sets the condition_not_after timestamp for CCDB queries"
6364
echo "DISABLE_QC, set this to disable QC, e.g. to 1"
6465
}
6566

@@ -291,7 +292,8 @@ remainingargs="${ALIEN_JDL_ANCHOR_SIM_OPTIONS} ${remainingargs} --anchor-config
291292
# apply software tagging choice
292293
# remainingargs="${remainingargs} ${ALIEN_JDL_O2DPG_ASYNC_RECO_TAG:+--alternative-reco-software ${ALIEN_JDL_O2DPG_ASYNC_RECO_TAG}}"
293294
remainingargs="${remainingargs} ${ALIEN_JDL_O2DPG_ASYNC_RECO_TAG:+--alternative-reco-software ${PWD}/env_async.env}"
294-
295+
# potentially add CCDB timemachine timestamp
296+
remainingargs="${remainingargs} ${ALIEN_JDL_CCDB_CONDITION_NOT_AFTER:+--condition-not-after ${ALIEN_JDL_CCDB_CONDITION_NOT_AFTER}}"
295297

296298
echo_info "baseargs passed to o2dpg_sim_workflow_anchored.py: ${baseargs}"
297299
echo_info "remainingargs forwarded to o2dpg_sim_workflow.py: ${remainingargs}"

0 commit comments

Comments
 (0)