Skip to content

Commit 5af5498

Browse files
committed
Connect CTP digit-reader to MCStudy if TPC corrections asked
1 parent 7df15eb commit 5af5498

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Detectors/GlobalTrackingWorkflow/study/src/trackMCStudy-workflow.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ WorkflowSpec defineDataProcessing(ConfigContext const& configcontext)
7171
GID::mask_t srcTrc = allowedSourcesTrc & GID::getSourcesMask(configcontext.options().get<std::string>("track-sources"));
7272
GID::mask_t srcCls = allowedSourcesClus & GID::getSourcesMask(configcontext.options().get<std::string>("cluster-sources"));
7373
srcCls |= GID::getSourcesMask("ITS,TPC");
74-
74+
if (sclOpt.requestCTPLumi) {
75+
srcTrc = srcTrc | GID::getSourcesMask("CTP");
76+
srcCls = srcCls | GID::getSourcesMask("CTP");
77+
}
7578
o2::globaltracking::InputHelper::addInputSpecs(configcontext, specs, srcCls, srcTrc, srcTrc, true);
7679
o2::globaltracking::InputHelper::addInputSpecsPVertex(configcontext, specs, true); // P-vertex is always needed
7780
if (checkSV) {

0 commit comments

Comments
 (0)