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