Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions MC/bin/o2dpg_sim_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1866,6 +1866,9 @@ def getDigiTaskName(det):
'--tracking-sources-map-extraction',
default_value='ITS-TPC'))

# store the MC truth of the residual tracks (branch trkMC of the trackData tree) whenever MC labels are available
scdcalib_mc_option = '' if args.no_mc_labels else option_if_available('o2-tpc-scdcalib-interpolation-workflow', '--enable-mc', envfile=async_envfile)

SCDCALIBtask = createTask(name='scdcalib_'+str(tf), needs=[PVFINDERtask['name']], tf=tf, cwd=timeframeworkdir, lab=["CALIB"], mem='4000')
SCDCALIBtask['cmd'] = task_finalizer(
[ '${O2_ROOT}/bin/o2-tpc-scdcalib-interpolation-workflow',
Expand All @@ -1875,7 +1878,8 @@ def getDigiTaskName(det):
'--tracking-sources ' + scdcalib_track_sources,
'--tracking-sources-map-extraction ' + scdcalib_track_extraction,
'--sec-per-slot 1 ',
'--send-track-data'
'--send-track-data',
scdcalib_mc_option
])
workflow['stages'].append(SCDCALIBtask)

Expand All @@ -1898,7 +1902,8 @@ def getDigiTaskName(det):
'--enable-track-input',
'--output-dir ./',
'--output-type ' + scdaggreg_outputtype,
'--meta-output-dir /dev/null'
'--meta-output-dir /dev/null',
scdcalib_mc_option
])
workflow['stages'].append(SCDAGGREGtask)

Expand Down
Loading