@@ -159,6 +159,8 @@ framework::WorkflowSpec getWorkflow(CompletionPolicyData* policyData, std::vecto
159159
160160 WorkflowSpec specs;
161161
162+ bool produceTracks = isEnabled (OutputType::Tracks);
163+
162164 // We provide a special publishing method for labels which have been stored in a split format and need
163165 // to be transformed into a contiguous shareable container before publishing. For other branches/types this returns
164166 // false and the generic RootTreeWriter publishing proceeds
@@ -196,7 +198,7 @@ framework::WorkflowSpec getWorkflow(CompletionPolicyData* policyData, std::vecto
196198 if (sclOpts.needTPCScalersWorkflow ()) { // for standalone tpc-reco workflow
197199 specs.emplace_back (o2::tpc::getTPCScalerSpec (sclOpts.lumiType == 2 , sclOpts.enableMShapeCorrection ));
198200 }
199- if (sclOpts.requestCTPLumi ) { // need CTP digits (lumi) reader
201+ if (produceTracks && sclOpts.requestCTPLumi ) { // need CTP digits (lumi) reader
200202 specs.emplace_back (o2::ctp::getDigitsReaderSpec (false ));
201203 }
202204 } else if (inputType == InputType::ClustersHardware) {
@@ -247,7 +249,6 @@ framework::WorkflowSpec getWorkflow(CompletionPolicyData* policyData, std::vecto
247249 // Note: the ClusterHardware format is probably a deprecated legacy format and also the
248250 // ClusterDecoderRawSpec
249251 bool produceCompClusters = isEnabled (OutputType::CompClusters);
250- bool produceTracks = isEnabled (OutputType::Tracks);
251252 bool runGPUReco = (produceTracks || produceCompClusters || (isEnabled (OutputType::Clusters) && caClusterer) || inputType == InputType::CompClustersCTF) && inputType != InputType::CompClustersFlat;
252253 bool runHWDecoder = !caClusterer && (runGPUReco || isEnabled (OutputType::Clusters));
253254 bool runClusterer = !caClusterer && (runHWDecoder || isEnabled (OutputType::ClustersHardware));
0 commit comments