Skip to content

Commit 0a24722

Browse files
committed
use argument instead of env var to set condition-not-after for global alignment geometry
1 parent 5b70a3e commit 0a24722

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎MC/bin/o2dpg_sim_workflow.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True, runcommand=True):
596596
fi
597597
598598
# fetch the global alignment geometry
599-
${{O2_ROOT}}/bin/o2-create-aligned-geometry-workflow ${{ALIEN_JDL_CCDB_CONDITION_NOT_AFTER:+--condition-not-after $ALIEN_JDL_CCDB_CONDITION_NOT_AFTER}} \
599+
${{O2_ROOT}}/bin/o2-create-aligned-geometry-workflow --condition-not-after {args.condition_not_after} \
600600
--configKeyValues "HBFUtils.startTime={args.timestamp}" -b --run ${{REMAP_OPT}}
601601
602602
# copy the object into the CCDB cache
@@ -1378,13 +1378,13 @@ def getDigiTaskName(det):
13781378
if not isActive('CTP'):
13791379
# CTP digits won't be produced for this timeframe (CTP not in the readout detector list)
13801380
tpc_corr_scaling_options += ' --disable-ctp-lumi-request'
1381-
1381+
13821382
# why not simply?
13831383
# tpc_corr_scaling_options = ('--lumi-type 1', '')[tpcDistortionType != 0]
13841384

13851385
# at the moment MC is not ready for the sector edge fluctuations (RS: and does not use IDC but --disable-IDC-scalers can be added only once it is added by the CorrectionMapsOptions::addGlobalOptions)
13861386
tpc_corr_scaling_options += option_if_available('o2-tpc-reco-workflow', '--disable-sec-edge-fluc-correction', envfile=async_envfile)
1387-
1387+
13881388
#<--------- TPC reco task
13891389
if includeTPCSyncMode:
13901390
tpcSyncreconeeds = tpcreconeeds.copy()

0 commit comments

Comments
 (0)