00001 import FWCore.ParameterSet.Config as cms 00002 def customise(process): 00003 00004 process.hltL1GtTrigReport = cms.EDAnalyzer( "L1GtTrigReport", 00005 PrintVerbosity = cms.untracked.int32(0), 00006 PrintOutput = cms.untracked.int32(2), 00007 UseL1GlobalTriggerRecord = cms.bool( False ), 00008 L1GtRecordInputTag = cms.InputTag( "hltGtDigis" ) 00009 ) 00010 process.hltTrigReport = cms.EDAnalyzer( "HLTrigReport", 00011 HLTriggerResults = cms.InputTag( 'TriggerResults','',process.name_() ) 00012 ) 00013 process.HLTAnalyzerEndpath = cms.EndPath( process.hltL1GtTrigReport + process.hltTrigReport ) 00014 process.schedule.append(process.HLTAnalyzerEndpath) 00015 00016 process.options.wantSummary = cms.untracked.bool(True) 00017 process.MessageLogger.categories.append('TriggerSummaryProducerAOD') 00018 process.MessageLogger.categories.append('L1GtTrigReport') 00019 process.MessageLogger.categories.append('HLTrigReport') 00020 00021 return(process)