Skip to content

Commit 9d81f6c

Browse files
committed
Disable TPC timeseries when required detectors are missing
Fixes https://its.cern.ch/jira/browse/O2-6586
1 parent 3bef31f commit 9d81f6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2095,7 +2095,9 @@ def remove_json_prefix(path):
20952095
TPCTStask['cmd'] += ' --primary-vertices '
20962096
TPCTStask['cmd'] += ' | o2-tpc-time-series-workflow --enable-unbinned-root-output --sample-unbinned-tsallis --sampling-factor 0.01 '
20972097
TPCTStask['cmd'] += putConfigValues() + ' ' + getDPL_global_options(bigshm=True)
2098-
workflow['stages'].append(TPCTStask)
2098+
if isActive('TOF') and isActive('TPC') and isActive('FT0'):
2099+
# could be relaxed or changed once the timerseries worklow is more reactive to input cluster- and track-types
2100+
workflow['stages'].append(TPCTStask)
20992101

21002102
# cleanup
21012103
# --------

0 commit comments

Comments
 (0)