1 import FWCore.ParameterSet.Config
as cms
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')
44 process.load(
'L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi')
45 labels = [
'gtDigis',
'simGtDigis',
'newGtDigis',
'hltGtDigis']
47 if label
in process.__dict__:
48 process.l1GtTrigReport.L1GtRecordInputTag = cms.InputTag( label )
50 process.L1AnalyzerEndpath = cms.EndPath( process.l1GtTrigReport )
51 process.schedule.append(process.L1AnalyzerEndpath)
61 if not (
'HLTAnalyzerEndpath' in process.__dict__) :
62 from HLTrigger.Configuration.HLT_FULL_cff
import fragment
63 process.hltGtDigis = fragment.hltGtDigis
64 process.hltL1GtTrigReport = fragment.hltL1GtTrigReport
65 process.hltTrigReport = fragment.hltTrigReport
66 process.HLTAnalyzerEndpath = cms.EndPath(process.hltGtDigis + process.hltL1GtTrigReport + process.hltTrigReport)
67 process.schedule.append(process.HLTAnalyzerEndpath)
76 process.source.inputCommands = cms.untracked.vstring (
78 'drop *_hltL1GtObjectMap_*_*',
79 'drop *_TriggerResults_*_*',
80 'drop *_hltTriggerSummaryAOD_*_*',
88 def MassReplaceInputTag(process,old="rawDataCollector",new="rawDataRepacker",verbose=False,moduleLabelOnly=False,skipLabelTest=False):
91 for s
in process.paths_().
keys():
93 for s
in process.endpaths_().
keys():
100 for s
in process.paths_().
keys():
102 for s
in process.endpaths_().
keys():
108 if 'DigiToRaw' in process.__dict__:
109 process.DigiToRaw = cms.Sequence(process.l1tDigiToRawSeq + process.l1GtPack + process.l1GtEvmPack + process.rawDataCollector)
110 if 'rawDataCollector' in process.__dict__:
111 process.rawDataCollector.RawCollectionList = cms.VInputTag(
112 cms.InputTag(
'gctDigiToRaw'),
113 cms.InputTag(
'l1tDigiToRaw'),
114 cms.InputTag(
'l1GtPack'),
115 cms.InputTag(
'l1GtEvmPack'),
116 cms.InputTag(
'rawDataCollector', processName=cms.InputTag.skipCurrentProcess())
def massSearchReplaceAnyInputTag
def massSearchReplaceParam