Skip to content

Commit

Permalink
Merge pull request #36474 from missirol/devel_hltGetConfOutputMods_122X
Browse files Browse the repository at this point in the history
ensure `HLTProcess` adds all `(End)Path`s to the schedule [12.2.X]
  • Loading branch information
cmsbuild authored Dec 14, 2021
2 parents bb90c8c + b72c689 commit 61479ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion HLTrigger/Configuration/python/Tools/confdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ def overrideOutput(self):
)
)
%(process)s.MinimalOutput = cms.EndPath( %(process)s.hltOutputMinimal )
%(process)s.schedule.append( %(process)s.MinimalOutput )
"""
elif not self.config.fragment and self.config.output == 'full':
# add a single "keep *" output
Expand All @@ -518,6 +519,7 @@ def overrideOutput(self):
outputCommands = cms.untracked.vstring( 'keep *' )
)
%(process)s.FullOutput = cms.EndPath( %(process)s.hltOutputFull )
%(process)s.schedule.append( %(process)s.FullOutput )
"""

# select specific Eras
Expand Down Expand Up @@ -682,9 +684,10 @@ def instrumentDQM(self):
# prepend the dqmOutput to the DQMOutput path
self.data = other_path.sub(dqmstore + r'\g<1> %(process)s.dqmOutput +\g<3>', self.data)
else:
# ceate a new DQMOutput path with the dqmOutput module
# create a new DQMOutput path with the dqmOutput module
self.data += dqmstore
self.data += '\n%(process)s.DQMOutput = cms.EndPath( %(process)s.dqmOutput )\n'
self.data += '%(process)s.schedule.append( %(process)s.DQMOutput )\n'


@staticmethod
Expand Down

0 comments on commit 61479ba

Please sign in to comment.