Skip to content

Commit f97e50c

Browse files
matthiasrichterktf
authored andcommitted
Minor cleanup: setting subspec to zero for better clarity
DPL InputSpec constructor implicitely sets subspec '0' if not specified, this can be confused with *any* subspec, but for this ConcreteDataTypeMatcher needs to be used. Setting subspec to sero to be more clear.
1 parent 4e21fa5 commit f97e50c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

Detectors/TPC/workflow/src/RecoWorkflow.cxx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -406,16 +406,16 @@ framework::WorkflowSpec getWorkflow(std::vector<int> const& tpcSectors, std::vec
406406
auto logger = BranchDefinition<TrackOutputType>::Spectator([](TrackOutputType const& tracks) {
407407
LOG(INFO) << "writing " << tracks.size() << " track(s)";
408408
});
409-
auto tracksdef = BranchDefinition<TrackOutputType>{InputSpec{"inputTracks", "TPC", "TRACKS"}, //
410-
"TPCTracks", "track-branch-name", //
411-
1, //
412-
logger}; //
413-
auto clrefdef = BranchDefinition<ClusRefsOutputType>{InputSpec{"inputClusRef", "TPC", "CLUSREFS"}, //
414-
"ClusRefs", "trackclusref-branch-name"}; //
415-
auto mcdef = BranchDefinition<MCLabelContainer>{InputSpec{"mcinput", "TPC", "TRACKSMCLBL"}, //
416-
"TPCTracksMCTruth", //
417-
(propagateMC ? 1 : 0), //
418-
"trackmc-branch-name"}; //
409+
auto tracksdef = BranchDefinition<TrackOutputType>{InputSpec{"inputTracks", "TPC", "TRACKS", 0}, //
410+
"TPCTracks", "track-branch-name", //
411+
1, //
412+
logger}; //
413+
auto clrefdef = BranchDefinition<ClusRefsOutputType>{InputSpec{"inputClusRef", "TPC", "CLUSREFS", 0}, //
414+
"ClusRefs", "trackclusref-branch-name"}; //
415+
auto mcdef = BranchDefinition<MCLabelContainer>{InputSpec{"mcinput", "TPC", "TRACKSMCLBL", 0}, //
416+
"TPCTracksMCTruth", //
417+
(propagateMC ? 1 : 0), //
418+
"trackmc-branch-name"}; //
419419

420420
// depending on the MC propagation flag, branch definition for MC labels is disabled
421421
specs.push_back(MakeRootTreeWriterSpec(processName, defaultFileName, defaultTreeName,

0 commit comments

Comments
 (0)