CMS 3D CMS Logo

patTrigMatcher_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from PhysicsTools.PatAlgos.triggerLayer0.patTrigProducer_cfi import *
00004 # Examples for configurations of the trigger match for various physics objects
00005 # (cuts are NOT tuned, using old values from TQAF MC match, january 2008)
00006 
00007 
00008 # matches to Egamma triggers
00009 # matches to CandHLT1ElectronStartup
00010 electronTrigMatchCandHLT1ElectronStartup = cms.EDFilter("PATTrigMatcher",
00011     src     = cms.InputTag("pixelMatchGsfElectrons"),
00012     matched = cms.InputTag("patCandHLT1ElectronStartup"),
00013     maxDPtRel = cms.double(1.0),
00014     maxDeltaR = cms.double(0.2),
00015     resolveAmbiguities    = cms.bool(True),
00016     resolveByMatchQuality = cms.bool(False),
00017 )
00018 
00019 # matches to HLT1Photon
00020 photonTrigMatchHLT1Photon = cms.EDFilter("PATTrigMatcher",
00021     src     = cms.InputTag("photons"),
00022     matched = cms.InputTag("patHLT1Photon"),
00023     maxDPtRel = cms.double(1.0),
00024     maxDeltaR = cms.double(0.2),
00025     resolveAmbiguities    = cms.bool(True),
00026     resolveByMatchQuality = cms.bool(False),
00027 )
00028 
00029 # matches to HLT1PhotonRelaxed
00030 photonTrigMatchHLT1PhotonRelaxed = cms.EDFilter("PATTrigMatcher",
00031     src     = cms.InputTag("photons"),
00032     matched = cms.InputTag("patHLT1PhotonRelaxed"),
00033     maxDPtRel = cms.double(1.0),
00034     maxDeltaR = cms.double(0.2),
00035     resolveAmbiguities    = cms.bool(True),
00036     resolveByMatchQuality = cms.bool(False),
00037 )
00038 
00039 # matches to HLT2Photon
00040 photonTrigMatchHLT2Photon = cms.EDFilter("PATTrigMatcher",
00041     src     = cms.InputTag("photons"),
00042     matched = cms.InputTag("patHLT2Photon"),
00043     maxDPtRel = cms.double(1.0),
00044     maxDeltaR = cms.double(0.2),
00045     resolveAmbiguities    = cms.bool(True),
00046     resolveByMatchQuality = cms.bool(False),
00047 )
00048 
00049 # matches to HLT2PhotonRelaxed
00050 photonTrigMatchHLT2PhotonRelaxed = cms.EDFilter("PATTrigMatcher",
00051     src     = cms.InputTag("photons"),
00052     matched = cms.InputTag("patHLT2PhotonRelaxed"),
00053     maxDPtRel = cms.double(1.0),
00054     maxDeltaR = cms.double(0.2),
00055     resolveAmbiguities    = cms.bool(True),
00056     resolveByMatchQuality = cms.bool(False),
00057 )
00058 
00059 # matches to HLT1Electron
00060 electronTrigMatchHLT1Electron = cms.EDFilter("PATTrigMatcher",
00061     src     = cms.InputTag("pixelMatchGsfElectrons"),
00062     matched = cms.InputTag("patHLT1Electron"),
00063     maxDPtRel = cms.double(1.0),
00064     maxDeltaR = cms.double(0.2),
00065     resolveAmbiguities    = cms.bool(True),
00066     resolveByMatchQuality = cms.bool(False),
00067 )
00068 
00069 # matches to HLT1ElectronRelaxed
00070 # including example of "wrong" match (jets which fired electron trigger),
00071 electronTrigMatchHLT1ElectronRelaxed = cms.EDFilter("PATTrigMatcher",
00072     src     = cms.InputTag("pixelMatchGsfElectrons"),
00073     matched = cms.InputTag("patHLT1ElectronRelaxed"),
00074     maxDPtRel = cms.double(1.0),
00075     maxDeltaR = cms.double(0.2),
00076     resolveAmbiguities    = cms.bool(True),
00077     resolveByMatchQuality = cms.bool(False),
00078 )
00079 
00080 jetTrigMatchHLT1ElectronRelaxed = cms.EDFilter("PATTrigMatcher",
00081     src     = cms.InputTag("iterativeCone5CaloJets"),
00082     matched = cms.InputTag("patHLT1ElectronRelaxed"),
00083     maxDPtRel = cms.double(1.0),
00084     maxDeltaR = cms.double(0.2),
00085     resolveAmbiguities    = cms.bool(True),
00086     resolveByMatchQuality = cms.bool(False),
00087 )
00088 
00089 # matches to HLT2Electron
00090 electronTrigMatchHLT2Electron = cms.EDFilter("PATTrigMatcher",
00091     src     = cms.InputTag("pixelMatchGsfElectrons"),
00092     matched = cms.InputTag("patHLT2Electron"),
00093     maxDPtRel = cms.double(1.0),
00094     maxDeltaR = cms.double(0.2),
00095     resolveAmbiguities    = cms.bool(True),
00096     resolveByMatchQuality = cms.bool(False),
00097 )
00098 
00099 # matches to HLT2ElectronRelaxed
00100 electronTrigMatchHLT2ElectronRelaxed = cms.EDFilter("PATTrigMatcher",
00101     src     = cms.InputTag("pixelMatchGsfElectrons"),
00102     matched = cms.InputTag("patHLT2ElectronRelaxed"),
00103     maxDPtRel = cms.double(1.0),
00104     maxDeltaR = cms.double(0.2),
00105     resolveAmbiguities    = cms.bool(True),
00106     resolveByMatchQuality = cms.bool(False),
00107 )
00108 
00109 # matches to Muon triggers
00110 # matches to HLT1MuonIso
00111 muonTrigMatchHLT1MuonIso = cms.EDFilter("PATTrigMatcher",
00112     src     = cms.InputTag("muons"),
00113     matched = cms.InputTag("patHLT1MuonIso"),
00114     maxDPtRel = cms.double(1.0),
00115     maxDeltaR = cms.double(0.2),
00116     resolveAmbiguities    = cms.bool(True),
00117     resolveByMatchQuality = cms.bool(False),
00118 )
00119 
00120 # matches to HLT1MuonNonIso
00121 muonTrigMatchHLT1MuonNonIso = cms.EDFilter("PATTrigMatcher",
00122     src     = cms.InputTag("muons"),
00123     matched = cms.InputTag("patHLT1MuonNonIso"),
00124     maxDPtRel = cms.double(1.0),
00125     maxDeltaR = cms.double(0.2),
00126     resolveAmbiguities    = cms.bool(True),
00127     resolveByMatchQuality = cms.bool(False),
00128 )
00129 
00130 # matches to HLT2MuonNonIso
00131 muonTrigMatchHLT2MuonNonIso = cms.EDFilter("PATTrigMatcher",
00132     src     = cms.InputTag("muons"),
00133     matched = cms.InputTag("patHLT2MuonNonIso"),
00134     maxDPtRel = cms.double(1.0),
00135     maxDeltaR = cms.double(0.2),
00136     resolveAmbiguities    = cms.bool(True),
00137     resolveByMatchQuality = cms.bool(False),
00138 )
00139 
00140 # matches to BTau triggers
00141 # matches to HLT1Tau
00142 tauTrigMatchHLT1Tau = cms.EDFilter("PATTrigMatcher",
00143     src     = cms.InputTag("pfRecoTauProducer"),
00144     matched = cms.InputTag("patHLT1Tau"),
00145     maxDPtRel = cms.double(1.0),
00146     maxDeltaR = cms.double(0.2),
00147     resolveAmbiguities    = cms.bool(True),
00148     resolveByMatchQuality = cms.bool(False),
00149 )
00150 
00151 # matches to HLT2TauPixel
00152 tauTrigMatchHLT2TauPixel = cms.EDFilter("PATTrigMatcher",
00153     src     = cms.InputTag("pfRecoTauProducer"),
00154     matched = cms.InputTag("patHLT2TauPixel"),
00155     maxDPtRel = cms.double(1.0),
00156     maxDeltaR = cms.double(0.2),
00157     resolveAmbiguities    = cms.bool(True),
00158     resolveByMatchQuality = cms.bool(False),
00159 )
00160 
00161 # matches to JetMET triggers
00162 # matches to HLT2jet
00163 jetTrigMatchHLT2jet = cms.EDFilter("PATTrigMatcher",
00164     src     = cms.InputTag("iterativeCone5CaloJets"),
00165     matched = cms.InputTag("patHLT2jet"),
00166     maxDPtRel = cms.double(1.0),
00167     maxDeltaR = cms.double(0.2),
00168     resolveAmbiguities    = cms.bool(True),
00169     resolveByMatchQuality = cms.bool(False),
00170 )
00171 
00172 # matches to HLT3jet
00173 jetTrigMatchHLT3jet = cms.EDFilter("PATTrigMatcher",
00174     src     = cms.InputTag("iterativeCone5CaloJets"),
00175     matched = cms.InputTag("patHLT3jet"),
00176     maxDPtRel = cms.double(1.0),
00177     maxDeltaR = cms.double(0.2),
00178     resolveAmbiguities    = cms.bool(True),
00179     resolveByMatchQuality = cms.bool(False),
00180 )
00181 
00182 # matches to HLT4jet
00183 jetTrigMatchHLT4jet = cms.EDFilter("PATTrigMatcher",
00184     src     = cms.InputTag("iterativeCone5CaloJets"),
00185     matched = cms.InputTag("patHLT4jet"),
00186     maxDPtRel = cms.double(1.0),
00187     maxDeltaR = cms.double(0.2),
00188     resolveAmbiguities    = cms.bool(True),
00189     resolveByMatchQuality = cms.bool(False),
00190 )
00191 
00192 # matches to HLT1MET65
00193 # including example of "wrong" match (muons which fired MET trigger),
00194 metTrigMatchHLT1MET65 = cms.EDFilter("PATTrigMatcher",
00195     src     = cms.InputTag("corMetType1Icone5Muons"),
00196     matched = cms.InputTag("patHLT1MET65"),
00197     maxDPtRel = cms.double(1.0),
00198     maxDeltaR = cms.double(0.2),
00199     resolveAmbiguities    = cms.bool(True),
00200     resolveByMatchQuality = cms.bool(False),
00201 )
00202 
00203 muonTrigMatchHLT1MET65 = cms.EDFilter("PATTrigMatcher",
00204     src     = cms.InputTag("muons"),
00205     matched = cms.InputTag("patHLT1MET65"),
00206     maxDPtRel = cms.double(1.0),
00207     maxDeltaR = cms.double(0.2),
00208     resolveAmbiguities    = cms.bool(True),
00209     resolveByMatchQuality = cms.bool(False),
00210 )
00211 
00212 patTrigMatchCandHLT1ElectronStartup = cms.Sequence(patCandHLT1ElectronStartup * electronTrigMatchCandHLT1ElectronStartup)
00213 patTrigMatchHLT1Photon = cms.Sequence(patHLT1Photon * photonTrigMatchHLT1Photon)
00214 patTrigMatchHLT1PhotonRelaxed = cms.Sequence(patHLT1PhotonRelaxed * photonTrigMatchHLT1PhotonRelaxed)
00215 patTrigMatchHLT2Photon = cms.Sequence(patHLT2Photon * photonTrigMatchHLT2Photon)
00216 patTrigMatchHLT2PhotonRelaxed = cms.Sequence(patHLT2PhotonRelaxed * photonTrigMatchHLT2PhotonRelaxed)
00217 patTrigMatchHLT1Electron = cms.Sequence(patHLT1Electron * electronTrigMatchHLT1Electron)
00218 patTrigMatchHLT1ElectronRelaxed = cms.Sequence(patHLT1ElectronRelaxed * (electronTrigMatchHLT1ElectronRelaxed + jetTrigMatchHLT1ElectronRelaxed))
00219 patTrigMatchHLT2Electron = cms.Sequence(patHLT2Electron * electronTrigMatchHLT2Electron)
00220 patTrigMatchHLT2ElectronRelaxed = cms.Sequence(patHLT2ElectronRelaxed * electronTrigMatchHLT2ElectronRelaxed)
00221 patTrigMatchHLT1MuonIso = cms.Sequence(patHLT1MuonIso * muonTrigMatchHLT1MuonIso)
00222 patTrigMatchHLT1MuonNonIso = cms.Sequence(patHLT1MuonNonIso * muonTrigMatchHLT1MuonNonIso)
00223 patTrigMatchHLT2MuonNonIso = cms.Sequence(patHLT2MuonNonIso * muonTrigMatchHLT2MuonNonIso)
00224 patTrigMatchHLT1Tau = cms.Sequence(patHLT1Tau * tauTrigMatchHLT1Tau)
00225 patTrigMatchHLT2TauPixel = cms.Sequence(patHLT2TauPixel * tauTrigMatchHLT2TauPixel)
00226 patTrigMatchHLT2jet = cms.Sequence(patHLT2jet * jetTrigMatchHLT2jet)
00227 patTrigMatchHLT3jet = cms.Sequence(patHLT3jet * jetTrigMatchHLT3jet)
00228 patTrigMatchHLT4jet   = cms.Sequence(patHLT4jet * jetTrigMatchHLT4jet)
00229 patTrigMatchHLT1MET65 = cms.Sequence(patHLT1MET65 * (metTrigMatchHLT1MET65 + muonTrigMatchHLT1MET65))
00230 
00231 
00232 ## patTuple ##
00233 
00234 # matches to HLT_IsoMu11
00235 muonTrigMatchHLTIsoMu11 = cms.EDFilter("PATTrigMatcher",
00236     src     = cms.InputTag("muons"),
00237     matched = cms.InputTag("patHLTIsoMu11"),
00238     maxDPtRel = cms.double(1.0),
00239     maxDeltaR = cms.double(0.2),
00240     resolveAmbiguities    = cms.bool(True),
00241     resolveByMatchQuality = cms.bool(False),
00242 )
00243 
00244 # matches to HLT_Mu11
00245 muonTrigMatchHLTMu11 = cms.EDFilter("PATTrigMatcher",
00246     src     = cms.InputTag("muons"),
00247     matched = cms.InputTag("patHLTMu11"),
00248     maxDPtRel = cms.double(1.0),
00249     maxDeltaR = cms.double(0.2),
00250     resolveAmbiguities    = cms.bool(True),
00251     resolveByMatchQuality = cms.bool(False),
00252 )
00253 
00254 # matches to HLT_DoubleIsoMu3
00255 muonTrigMatchHLTDoubleIsoMu3 = cms.EDFilter("PATTrigMatcher",
00256     src     = cms.InputTag("muons"),
00257     matched = cms.InputTag("patHLTDoubleIsoMu3"),
00258     maxDPtRel = cms.double(1.0),
00259     maxDeltaR = cms.double(0.2),
00260     resolveAmbiguities    = cms.bool(True),
00261     resolveByMatchQuality = cms.bool(False),
00262 )
00263 
00264 # matches to HLT_DoubleMu3
00265 muonTrigMatchHLTDoubleMu3 = cms.EDFilter("PATTrigMatcher",
00266     src     = cms.InputTag("muons"),
00267     matched = cms.InputTag("patHLTDoubleMu3"),
00268     maxDPtRel = cms.double(1.0),
00269     maxDeltaR = cms.double(0.2),
00270     resolveAmbiguities    = cms.bool(True),
00271     resolveByMatchQuality = cms.bool(False),
00272 )
00273 
00274 # matches to HLT_IsoEle15_LW_L1I
00275 electronTrigMatchHLTIsoEle15LWL1I = cms.EDFilter("PATTrigMatcher",
00276     src     = cms.InputTag("pixelMatchGsfElectrons"),
00277     matched = cms.InputTag("patHLTIsoEle15LWL1I"),
00278     maxDPtRel = cms.double(1.0),
00279     maxDeltaR = cms.double(0.2),
00280     resolveAmbiguities    = cms.bool(True),
00281     resolveByMatchQuality = cms.bool(False),
00282 )
00283 
00284 # matches to HLT_Ele15_LW_L1R
00285 electronTrigMatchHLTEle15LWL1R = cms.EDFilter("PATTrigMatcher",
00286     src     = cms.InputTag("pixelMatchGsfElectrons"),
00287     matched = cms.InputTag("patHLTEle15LWL1R"),
00288     maxDPtRel = cms.double(1.0),
00289     maxDeltaR = cms.double(0.2),
00290     resolveAmbiguities    = cms.bool(True),
00291     resolveByMatchQuality = cms.bool(False),
00292 )
00293 
00294 # matches to HLT_DoubleIsoEle10_LW_L1I
00295 electronTrigMatchHLTDoubleIsoEle10LWL1I = cms.EDFilter("PATTrigMatcher",
00296     src     = cms.InputTag("pixelMatchGsfElectrons"),
00297     matched = cms.InputTag("patHLTDoubleIsoEle10LWL1I"),
00298     maxDPtRel = cms.double(1.0),
00299     maxDeltaR = cms.double(0.2),
00300     resolveAmbiguities    = cms.bool(True),
00301     resolveByMatchQuality = cms.bool(False),
00302 )
00303 
00304 # matches to HLT_DoubleEle5_SW_L1R
00305 electronTrigMatchHLTDoubleEle5SWL1R = cms.EDFilter("PATTrigMatcher",
00306     src     = cms.InputTag("pixelMatchGsfElectrons"),
00307     matched = cms.InputTag("patHLTDoubleEle5SWL1R"),
00308     maxDPtRel = cms.double(1.0),
00309     maxDeltaR = cms.double(0.2),
00310     resolveAmbiguities    = cms.bool(True),
00311     resolveByMatchQuality = cms.bool(False),
00312 )
00313 
00314 # matches to HLT_LooseIsoTau_MET30_L1MET
00315 tauTrigMatchHLTLooseIsoTauMET30L1MET = cms.EDFilter("PATTrigMatcher",
00316     src     = cms.InputTag("pfRecoTauProducer"),
00317     matched = cms.InputTag("patHLTLooseIsoTauMET30L1MET"),
00318     maxDPtRel = cms.double(1.0),
00319     maxDeltaR = cms.double(0.2),
00320     resolveAmbiguities    = cms.bool(True),
00321     resolveByMatchQuality = cms.bool(False),
00322 )
00323 
00324 # matches to HLT_DoubleIsoTau_Trk3
00325 tauTrigMatchHLTDoubleIsoTauTrk3 = cms.EDFilter("PATTrigMatcher",
00326     src     = cms.InputTag("pfRecoTauProducer"),
00327     matched = cms.InputTag("patHLTDoubleIsoTauTrk3"),
00328     maxDPtRel = cms.double(1.0),
00329     maxDeltaR = cms.double(0.2),
00330     resolveAmbiguities    = cms.bool(True),
00331     resolveByMatchQuality = cms.bool(False),
00332 )
00333 
00334 patTrigMatchHLT_IsoMu11 = cms.Sequence(patHLTIsoMu11 * muonTrigMatchHLTIsoMu11)
00335 patTrigMatchHLT_Mu11 = cms.Sequence(patHLTMu11 * muonTrigMatchHLTMu11)
00336 patTrigMatchHLT_DoubleIsoMu3 = cms.Sequence(patHLTDoubleIsoMu3 * muonTrigMatchHLTDoubleIsoMu3)
00337 patTrigMatchHLT_DoubleMu3 = cms.Sequence(patHLTDoubleMu3 * muonTrigMatchHLTDoubleMu3)
00338 patTrigMatchHLT_IsoEle15_LW_L1I = cms.Sequence(patHLTIsoEle15LWL1I * electronTrigMatchHLTIsoEle15LWL1I)
00339 patTrigMatchHLT_Ele15_LW_L1R = cms.Sequence(patHLTEle15LWL1R * electronTrigMatchHLTEle15LWL1R)
00340 patTrigMatchHLT_DoubleIsoEle10_LW_L1I = cms.Sequence(patHLTDoubleIsoEle10LWL1I * electronTrigMatchHLTDoubleIsoEle10LWL1I)
00341 patTrigMatchHLT_DoubleEle5_SW_L1R = cms.Sequence(patHLTDoubleEle5SWL1R * electronTrigMatchHLTDoubleEle5SWL1R)
00342 patTrigMatchHLT_LooseIsoTau_MET30_L1MET = cms.Sequence(patHLTLooseIsoTauMET30L1MET * tauTrigMatchHLTLooseIsoTauMET30L1MET)
00343 patTrigMatchHLT_DoubleIsoTau_Trk3 = cms.Sequence(patHLTDoubleIsoTauTrk3 * tauTrigMatchHLTDoubleIsoTauTrk3)

Generated on Tue Jun 9 17:41:44 2009 for CMSSW by  doxygen 1.5.4