Skip to content

Commit 069ce40

Browse files
committed
Fix ft0reco crash
Recent disabling of FT0 calibrations in the reco workflow internally disables the CCDB fetcher. In result, the option --condition-not-before vanishes and the workflow crashes when the option is given on the command line. This is a generic problem with "dynamic" options. For now fixing, by taking away this option for FT0 reconstruction.
1 parent 6f4eb91 commit 069ce40

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

MC/bin/o2dpg_sim_workflow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,8 @@ def getDigiTaskName(det):
964964
workflow['stages'].append(ITSRECOtask)
965965

966966
FT0RECOtask=createTask(name='ft0reco_'+str(tf), needs=[getDigiTaskName("FT0")], tf=tf, cwd=timeframeworkdir, lab=["RECO"], mem='1000')
967-
FT0RECOtask['cmd'] = '${O2_ROOT}/bin/o2-ft0-reco-workflow --disable-time-offset-calib --disable-slewing-calib ' + getDPL_global_options() + putConfigValues()
967+
# note: when calibrations (or CCDB objects) are reenabled, we need to say ccdbbackend=True
968+
FT0RECOtask['cmd'] = '${O2_ROOT}/bin/o2-ft0-reco-workflow --disable-time-offset-calib --disable-slewing-calib ' + getDPL_global_options(ccdbbackend=False) + putConfigValues()
968969
workflow['stages'].append(FT0RECOtask)
969970

970971
ITSTPCMATCHtask=createTask(name='itstpcMatch_'+str(tf), needs=[TPCRECOtask['name'], ITSRECOtask['name'], FT0RECOtask['name']], tf=tf, cwd=timeframeworkdir, lab=["RECO"], mem='8000', relative_cpu=3/8)

0 commit comments

Comments
 (0)