Skip to content

Commit d08317f

Browse files
benedikt-voelkelnoferini
authored andcommitted
Make hmp-matcher-workflow respect selected sources (#12691)
1 parent fdf7432 commit d08317f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/GlobalTrackingWorkflow/src/hmp-matcher-workflow.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ WorkflowSpec defineDataProcessing(ConfigContext const& configcontext)
9494

9595
GID::mask_t alowedSources = GID::getSourcesMask("ITS-TPC,TPC-TRD,TPC-TOF,ITS-TPC-TRD,ITS-TPC-TOF,TPC-TRD-TOF,ITS-TPC-TRD-TOF");
9696

97-
GID::mask_t src = alowedSources;
97+
GID::mask_t src = alowedSources & GID::getSourcesMask(configcontext.options().get<std::string>("track-sources"));
9898

9999
GID::mask_t mcmaskcl;
100100
GID::mask_t nonemask = GID::getSourcesMask(GID::NONE);

0 commit comments

Comments
 (0)