00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 cleanMuonTriggerMatchHLTMu20 = cms.EDProducer(
00017 "PATTriggerMatcherDRDPtLessByR"
00018 , src = cms.InputTag( "cleanPatMuons" )
00019 , matched = cms.InputTag( "patTrigger" )
00020 , matchedCuts = cms.string( 'path( "HLT_Mu20_v*" )' )
00021 , maxDPtRel = cms.double( 0.5 )
00022 , maxDeltaR = cms.double( 0.5 )
00023 , resolveAmbiguities = cms.bool( True )
00024 , resolveByMatchQuality = cms.bool( True )
00025 )
00026
00027
00028 cleanMuonTriggerMatchHLTDoubleMu6 = cms.EDProducer(
00029 "PATTriggerMatcherDRDPtLessByR"
00030 , src = cms.InputTag( "cleanPatMuons" )
00031 , matched = cms.InputTag( "patTrigger" )
00032 , matchedCuts = cms.string( 'path( "HLT_DoubleMu6_v*" )' )
00033 , maxDPtRel = cms.double( 0.5 )
00034 , maxDeltaR = cms.double( 0.5 )
00035 , resolveAmbiguities = cms.bool( True )
00036 , resolveByMatchQuality = cms.bool( True )
00037 )
00038
00039
00040 cleanPhotonTriggerMatchHLTPhoton26IsoVLPhoton18 = cms.EDProducer(
00041 "PATTriggerMatcherDRDPtLessByR"
00042 , src = cms.InputTag( "cleanPatPhotons" )
00043 , matched = cms.InputTag( "patTrigger" )
00044 , matchedCuts = cms.string( 'path( "HLT_Photon26_IsoVL_Photon18_v*" )' )
00045 , maxDPtRel = cms.double( 0.5 )
00046 , maxDeltaR = cms.double( 0.5 )
00047 , resolveAmbiguities = cms.bool( True )
00048 , resolveByMatchQuality = cms.bool( True )
00049 )
00050
00051
00052 cleanElectronTriggerMatchHLTEle27CaloIdVTCaloIsoTTrkIdTTrkIsoT = cms.EDProducer(
00053 "PATTriggerMatcherDRDPtLessByR"
00054 , src = cms.InputTag( "cleanPatElectrons" )
00055 , matched = cms.InputTag( "patTrigger" )
00056 , matchedCuts = cms.string( 'path( "HLT_Ele27_CaloIdVT_CaloIsoT_TrkIdT_TrkIsoT_v*" )' )
00057 , maxDPtRel = cms.double( 0.5 )
00058 , maxDeltaR = cms.double( 0.5 )
00059 , resolveAmbiguities = cms.bool( True )
00060 , resolveByMatchQuality = cms.bool( True )
00061 )
00062
00063
00064 cleanTauTriggerMatchHLTDoubleIsoPFTau20Trk5 = cms.EDProducer(
00065 "PATTriggerMatcherDRDPtLessByR"
00066 , src = cms.InputTag( "cleanPatTaus" )
00067 , matched = cms.InputTag( "patTrigger" )
00068 , matchedCuts = cms.string( 'path( "HLT_DoubleIsoPFTau20_Trk5_v*" )' )
00069 , maxDPtRel = cms.double( 0.5 )
00070 , maxDeltaR = cms.double( 0.5 )
00071 , resolveAmbiguities = cms.bool( True )
00072 , resolveByMatchQuality = cms.bool( True )
00073 )
00074
00075
00076 cleanJetTriggerMatchHLTJet240 = cms.EDProducer(
00077 "PATTriggerMatcherDRLessByR"
00078 , src = cms.InputTag( 'cleanPatJets' )
00079 , matched = cms.InputTag( 'patTrigger' )
00080 , matchedCuts = cms.string( 'path( "HLT_Jet240_v*" )' )
00081 , maxDPtRel = cms.double( 3.0 )
00082 , maxDeltaR = cms.double( 0.4 )
00083 , resolveAmbiguities = cms.bool( True )
00084 , resolveByMatchQuality = cms.bool( True )
00085 )
00086
00087
00088 metTriggerMatchHLTMET100 = cms.EDProducer(
00089 "PATTriggerMatcherDRLessByR"
00090 , src = cms.InputTag( 'patMETs' )
00091 , matched = cms.InputTag( 'patTrigger' )
00092 , matchedCuts = cms.string( 'path( "HLT_MET100_v*" )' )
00093 , maxDPtRel = cms.double( 3.0 )
00094 , maxDeltaR = cms.double( 0.4 )
00095 , resolveAmbiguities = cms.bool( True )
00096 , resolveByMatchQuality = cms.bool( True )
00097 )
00098
00099
00100 cleanMuonTriggerMatchHLTMu17CentralJet30 = cms.EDProducer(
00101 "PATTriggerMatcherDRDPtLessByR"
00102 , src = cms.InputTag( "cleanPatMuons" )
00103 , matched = cms.InputTag( "patTrigger" )
00104 , matchedCuts = cms.string( 'type( "TriggerMuon" ) && path( "HLT_Mu17_CentralJet30_v*" )' )
00105 , maxDPtRel = cms.double( 0.5 )
00106 , maxDeltaR = cms.double( 0.5 )
00107 , resolveAmbiguities = cms.bool( True )
00108 , resolveByMatchQuality = cms.bool( True )
00109 )
00110 cleanJetTriggerMatchHLTMu17CentralJet30 = cms.EDProducer(
00111 "PATTriggerMatcherDRDPtLessByR"
00112 , src = cms.InputTag( "cleanPatJets" )
00113 , matched = cms.InputTag( "patTrigger" )
00114 , matchedCuts = cms.string( 'type( "TriggerJet" ) && path( "HLT_Mu17_CentralJet30_v*" )' )
00115 , maxDPtRel = cms.double( 3.0 )
00116 , maxDeltaR = cms.double( 0.4 )
00117 , resolveAmbiguities = cms.bool( True )
00118 , resolveByMatchQuality = cms.bool( True )
00119 )
00120
00121
00122 triggerMatchingDefaultSequence = cms.Sequence(
00123 cleanMuonTriggerMatchHLTMu20
00124 + cleanMuonTriggerMatchHLTDoubleMu6
00125 + cleanPhotonTriggerMatchHLTPhoton26IsoVLPhoton18
00126 + cleanElectronTriggerMatchHLTEle27CaloIdVTCaloIsoTTrkIdTTrkIsoT
00127 + cleanTauTriggerMatchHLTDoubleIsoPFTau20Trk5
00128 + cleanJetTriggerMatchHLTJet240
00129 + metTriggerMatchHLTMET100
00130 + cleanMuonTriggerMatchHLTMu17CentralJet30
00131 + cleanJetTriggerMatchHLTMu17CentralJet30
00132 )
00133
00134
00135
00136
00137
00138 cleanElectronTriggerMatchL1EGammaCollection = cms.EDProducer(
00139 "PATTriggerMatcherDRLessByR"
00140 , src = cms.InputTag( 'cleanPatElectrons' )
00141 , matched = cms.InputTag( 'patTrigger' )
00142 , matchedCuts = cms.string( 'coll( "l1extraParticles:NonIsolated" ) || coll( "l1extraParticles:Isolated" )' )
00143 , maxDPtRel = cms.double( 0.5 )
00144 , maxDeltaR = cms.double( 0.5 )
00145 , resolveAmbiguities = cms.bool( True )
00146 , resolveByMatchQuality = cms.bool( False )
00147 )
00148
00149
00150 cleanMuonTriggerMatchTriggerMuon = cms.EDProducer(
00151 "PATTriggerMatcherDRDPtLessByR"
00152 , src = cms.InputTag( 'cleanPatMuons' )
00153 , matched = cms.InputTag( 'patTrigger' )
00154 , matchedCuts = cms.string( 'type( "TriggerL1Mu" ) || type( "TriggerMuon" )' )
00155 , maxDPtRel = cms.double( 0.5 )
00156 , maxDeltaR = cms.double( 0.5 )
00157 , resolveAmbiguities = cms.bool( True )
00158 , resolveByMatchQuality = cms.bool( False )
00159 )
00160
00161
00162 cleanMuonTriggerMatchPDSingleMu = cms.EDProducer(
00163 "PATTriggerMatcherDRDPtLessByR"
00164 , src = cms.InputTag( 'cleanPatMuons' )
00165 , matched = cms.InputTag( 'patTrigger' )
00166 , matchedCuts = cms.string( 'path( "HLT_IsoMu12_v*" ) || path( "HLT_IsoMu15_v*" ) || path( "HLT_IsoMu17_v*" ) || path( "HLT_IsoMu24_v*" ) || path( "HLT_IsoMu30_v*" ) || path( "HLT_L1SingleMu10_v*" ) || path( "HLT_L1SingleMu20_v*" ) || path( "HLT_L2Mu10_v*" ) || path( "HLT_L2Mu20_v*" ) || path( "HLT_Mu3_v*" ) || path( "HLT_Mu5_v*" ) || path( "HLT_Mu8_v*" ) || path( "HLT_Mu12_v*" ) || path( "HLT_Mu15_v*" ) || path( "HLT_Mu20_v*" ) || path( "HLT_Mu24_v*" ) || path( "HLT_Mu30_v*" )' )
00167 , maxDPtRel = cms.double( 0.5 )
00168 , maxDeltaR = cms.double( 0.5 )
00169 , resolveAmbiguities = cms.bool( True )
00170 , resolveByMatchQuality = cms.bool( True )
00171 )
00172
00173
00174 metTriggerMatchHLTMu20 = cms.EDProducer(
00175 "PATTriggerMatcherDRLessByR"
00176 , src = cms.InputTag( 'patMETs' )
00177 , matched = cms.InputTag( 'patTrigger' )
00178 , matchedCuts = cms.string( 'path( "HLT_Mu20_v*" )' )
00179 , maxDPtRel = cms.double( 0.5 )
00180 , maxDeltaR = cms.double( 0.5 )
00181 , resolveAmbiguities = cms.bool( True )
00182 , resolveByMatchQuality = cms.bool( True )
00183 )