6 if 'hltTrigReport' in process.__dict__:
7 process.hltTrigReport.HLTriggerResults = cms.InputTag(
'TriggerResults',
'',process.name_() )
9 if 'hltDQMHLTScalers' in process.__dict__:
10 process.hltDQMHLTScalers.triggerResults = cms.InputTag(
'TriggerResults',
'',process.name_() )
12 if 'hltDQML1SeedLogicScalers' in process.__dict__:
13 process.hltDQML1SeedLogicScalers.processname = process.name_()
21 process.options.wantSummary = cms.untracked.bool(
True)
23 process.MessageLogger.categories.append(
'TriggerSummaryProducerAOD')
24 process.MessageLogger.categories.append(
'L1GtTrigReport')
25 process.MessageLogger.categories.append(
'HLTrigReport')
42 process.load(
'L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi')
43 labels = [
'gtDigis',
'simGtDigis',
'newGtDigis',
'hltGtDigis']
45 if label
in process.__dict__:
46 process.l1GtTrigReport.L1GtRecordInputTag = cms.InputTag( label )
48 process.L1AnalyzerEndpath = cms.EndPath( process.l1GtTrigReport )
49 process.schedule.append(process.L1AnalyzerEndpath)
59 if not (
'HLTAnalyzerEndpath' in process.__dict__) :
60 from HLTrigger.Configuration.HLT_FULL_cff
import fragment
61 process.hltL1GtTrigReport = fragment.hltL1GtTrigReport
62 process.hltTrigReport = fragment.hltTrigReport
63 process.HLTAnalyzerEndpath = cms.EndPath(process.hltL1GtTrigReport + process.hltTrigReport)
64 process.schedule.append(process.HLTAnalyzerEndpath)
75 process.hltL1GtTrigReport.L1GtRecordInputTag = cms.InputTag(
"simGtDigis")
82 process.source.inputCommands = cms.untracked.vstring (
84 'drop *_hltL1GtObjectMap_*_*',
85 'drop *_TriggerResults_*_*',
86 'drop *_hltTriggerSummaryAOD_*_*',
94 def MassReplaceInputTag(process,old="rawDataCollector",new="rawDataRepacker",verbose=False,moduleLabelOnly=False,skipLabelTest=False):
97 for s
in process.paths_().
keys():
99 for s
in process.endpaths_().
keys():
106 for s
in process.paths_().
keys():
108 for s
in process.endpaths_().
keys():
114 if 'DigiToRaw' in process.__dict__:
115 process.DigiToRaw = cms.Sequence(process.l1tDigiToRawSeq + process.l1GtPack + process.l1GtEvmPack + process.rawDataCollector)
116 if 'rawDataCollector' in process.__dict__:
117 process.rawDataCollector.RawCollectionList = cms.VInputTag(
118 cms.InputTag(
'gctDigiToRaw'),
119 cms.InputTag(
'l1tDigiToRaw'),
120 cms.InputTag(
'l1GtPack'),
121 cms.InputTag(
'l1GtEvmPack'),
122 cms.InputTag(
'rawDataCollector', processName=cms.InputTag.skipCurrentProcess())
def massSearchReplaceAnyInputTag
def massSearchReplaceParam