From 323e9f301830f547f76236df5dfa62a0dec3fb33 Mon Sep 17 00:00:00 2001 From: David Rohr Date: Thu, 23 Nov 2023 22:11:25 +0100 Subject: [PATCH] TPC Time Series Bugfix: InputSpec was TimeFrame lifetime, while outputs are sporadic. This can break the workflow / drop time frames --- Detectors/TPC/workflow/src/TPCTimeSeriesWriterSpec.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Detectors/TPC/workflow/src/TPCTimeSeriesWriterSpec.cxx b/Detectors/TPC/workflow/src/TPCTimeSeriesWriterSpec.cxx index 0160f4a760969..c113a537cef83 100644 --- a/Detectors/TPC/workflow/src/TPCTimeSeriesWriterSpec.cxx +++ b/Detectors/TPC/workflow/src/TPCTimeSeriesWriterSpec.cxx @@ -33,8 +33,8 @@ DataProcessorSpec getTPCTimeSeriesWriterSpec() return MakeRootTreeWriterSpec("tpc-time-series-writer", "o2_timeseries_tpc.root", "treeTimeSeries", - BranchDefinition{InputSpec{"timeseries", o2::header::gDataOriginTPC, getDataDescriptionTimeSeries(), 0}, "TimeSeries", 1}, - BranchDefinition{InputSpec{"itpctfid", o2::header::gDataOriginTPC, getDataDescriptionTPCTimeSeriesTFId(), 0}, "tfID", 1})(); + BranchDefinition{InputSpec{"timeseries", o2::header::gDataOriginTPC, getDataDescriptionTimeSeries(), 0, Lifetime::Sporadic}, "TimeSeries", 1}, + BranchDefinition{InputSpec{"itpctfid", o2::header::gDataOriginTPC, getDataDescriptionTPCTimeSeriesTFId(), 0, Lifetime::Sporadic}, "tfID", 1})(); } } // namespace tpc