Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
import FWCore.ParameterSet.Config as cms

# RPC DQM
from DQM.RPCMonitorDigi.RPCResidualsHLT_cfi import *

hltHighLevelRPC = cms.EDFilter("HLTHighLevel",
    TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
    HLTPaths = cms.vstring('HLT_L1Mu[^_]*$',
    			'HLT_L2Mu[^_]*$', 
    			'HLT_Mu[^_]*$', 
    			'HLT_IsoMu[^_]*$', 
    			'HLT_DoubleMu[^_]*$', 
			),
    #HLTPaths = cms.vstring('HLT_L1MuOpen','HLT_L1Mu', 'HLT_L1Mu20',
    #			'HLT_L2Mu9','HLT_L2Mu11',
#			'HLT_Mu3', 'HLT_Mu5', 'HLT_Mu9'),
    eventSetupPathsKey = cms.string(''), # not empty => use read paths from AlCaRecoTriggerBitsRcd via this key
    andOr = cms.bool(True), # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
    throw = cms.bool(False)    # throw exception on unknown path names
)

hltLocalRecoRPC = cms.Path(hltHighLevelRPC*rpcSourceHLT)