7 singleElectronCut = 900
8 doubleElectronCut = 300
9 tripleElectronCut = 100
10 singlePhotonCut = 1200
19 dielectronMassCut = 800
27 caloOverPFRatioCut = 2
28 PFOverCaloRatioCut = 2
31 pvFilter = cms.EDFilter(
33 src = cms.InputTag(
"offlinePrimaryVertices"),
34 cut = cms.string(
"!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2"),
35 filter = cms.bool(
True),
46 singleMuonSelector = cms.EDFilter(
48 src = cms.InputTag(
"muons"),
49 cut = cms.string(
"isGlobalMuon() & pt() > "+str(singleMuonCut) )
51 singleMuonFilter = cms.EDFilter(
52 "CandViewCountFilter",
53 src = cms.InputTag(
"singleMuonSelector"),
54 minNumber = cms.uint32(1)
56 seqHotlineSkimSingleMuon = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * singleMuonSelector * singleMuonFilter)
59 doubleMuonSelector = cms.EDFilter(
61 src = cms.InputTag(
"muons"),
62 cut = cms.string(
"pt() > "+str(doubleMuonCut) )
64 doubleMuonFilter = cms.EDFilter(
65 "CandViewCountFilter",
66 src = cms.InputTag(
"doubleMuonSelector"),
67 minNumber = cms.uint32(2)
69 seqHotlineSkimDoubleMuon = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * doubleMuonSelector * doubleMuonFilter)
72 tripleMuonSelector = cms.EDFilter(
74 src = cms.InputTag(
"muons"),
75 cut = cms.string(
"pt() > "+str(tripleMuonCut) )
77 tripleMuonFilter = cms.EDFilter(
78 "CandViewCountFilter",
79 src = cms.InputTag(
"tripleMuonSelector"),
80 minNumber = cms.uint32(3)
82 seqHotlineSkimTripleMuon = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * tripleMuonSelector * tripleMuonFilter)
85 singleElectronSelector = cms.EDFilter(
87 src = cms.InputTag(
"gedGsfElectrons"),
88 cut = cms.string(
"pt() > "+str(singleElectronCut) )
90 singleElectronFilter = cms.EDFilter(
91 "CandViewCountFilter",
92 src = cms.InputTag(
"singleElectronSelector"),
93 minNumber = cms.uint32(1)
95 seqHotlineSkimSingleElectron = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * singleElectronSelector * singleElectronFilter)
98 doubleElectronSelector = cms.EDFilter(
100 src = cms.InputTag(
"gedGsfElectrons"),
101 cut = cms.string(
"pt() > "+str(doubleElectronCut) )
103 doubleElectronFilter = cms.EDFilter(
104 "CandViewCountFilter",
105 src = cms.InputTag(
"doubleElectronSelector"),
106 minNumber = cms.uint32(2)
108 seqHotlineSkimDoubleElectron = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * doubleElectronSelector * doubleElectronFilter)
111 tripleElectronSelector = cms.EDFilter(
113 src = cms.InputTag(
"gedGsfElectrons"),
114 cut = cms.string(
"pt() > "+str(tripleElectronCut) )
116 tripleElectronFilter = cms.EDFilter(
117 "CandViewCountFilter",
118 src = cms.InputTag(
"tripleElectronSelector"),
119 minNumber = cms.uint32(3)
121 seqHotlineSkimTripleElectron = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * tripleElectronSelector * tripleElectronFilter)
124 singlePhotonSelector = cms.EDFilter(
126 src = cms.InputTag(
"gedPhotons"),
127 cut = cms.string(
"pt() > "+str(singlePhotonCut) )
129 singlePhotonFilter = cms.EDFilter(
130 "CandViewCountFilter",
131 src = cms.InputTag(
"singlePhotonSelector"),
132 minNumber = cms.uint32(1)
134 seqHotlineSkimSinglePhoton = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * singlePhotonSelector * singlePhotonFilter)
137 doublePhotonSelector = cms.EDFilter(
139 src = cms.InputTag(
"gedPhotons"),
140 cut = cms.string(
"pt() > "+str(doublePhotonCut) )
142 doublePhotonFilter = cms.EDFilter(
143 "CandViewCountFilter",
144 src = cms.InputTag(
"doublePhotonSelector"),
145 minNumber = cms.uint32(2)
147 seqHotlineSkimDoublePhoton = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * doublePhotonSelector * doublePhotonFilter)
150 triplePhotonSelector = cms.EDFilter(
152 src = cms.InputTag(
"gedPhotons"),
153 cut = cms.string(
"pt() > "+str(triplePhotonCut) )
155 triplePhotonFilter = cms.EDFilter(
156 "CandViewCountFilter",
157 src = cms.InputTag(
"triplePhotonSelector"),
158 minNumber = cms.uint32(3)
160 seqHotlineSkimTriplePhoton = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * triplePhotonSelector * triplePhotonFilter)
163 singleJetSelector = cms.EDFilter(
165 src = cms.InputTag(
"ak4PFJets"),
166 cut = cms.string(
"pt() > "+str(singleJetCut) )
168 singleJetFilter = cms.EDFilter(
169 "CandViewCountFilter",
170 src = cms.InputTag(
"singleJetSelector"),
171 minNumber = cms.uint32(1)
173 seqHotlineSkimSingleJet = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * singleJetSelector * singleJetFilter)
176 doubleJetSelector = cms.EDFilter(
178 src = cms.InputTag(
"ak4PFJets"),
179 cut = cms.string(
"pt() > "+str(doubleJetCut) )
181 doubleJetFilter = cms.EDFilter(
182 "CandViewCountFilter",
183 src = cms.InputTag(
"doubleJetSelector"),
184 minNumber = cms.uint32(2)
186 seqHotlineSkimDoubleJet = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * doubleJetSelector * doubleJetFilter)
189 multiJetSelector = cms.EDFilter(
191 src = cms.InputTag(
"ak4PFJets"),
192 cut = cms.string(
"pt() > "+str(multiJetCut) )
194 multiJetFilter = cms.EDFilter(
195 "CandViewCountFilter",
196 src = cms.InputTag(
"multiJetSelector"),
197 minNumber = cms.uint32(multiJetNJets)
199 seqHotlineSkimMultiJet = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * multiJetSelector * multiJetFilter)
202 htMht = cms.EDProducer(
"HLTHtMhtProducer",
203 usePt = cms.bool(
False ),
204 minPtJetHt = cms.double( 40.0 ),
205 maxEtaJetMht = cms.double( 5.0 ),
206 minNJetMht = cms.int32( 0 ),
207 jetsLabel = cms.InputTag(
"ak4CaloJets" ),
208 maxEtaJetHt = cms.double( 3.0 ),
209 minPtJetMht = cms.double( 30.0 ),
210 minNJetHt = cms.int32( 0 ),
211 pfCandidatesLabel = cms.InputTag(
"" ),
212 excludePFMuons = cms.bool(
False )
214 htSelector = cms.EDFilter(
216 src = cms.InputTag(
"htMht"),
217 cut = cms.string(
"sumEt() > "+str(htCut) )
219 htFilter = cms.EDFilter(
220 "CandViewCountFilter",
221 src = cms.InputTag(
"htSelector"),
222 minNumber = cms.uint32(1)
224 seqHotlineSkimHT = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * htMht * htSelector * htFilter)
227 dimuons = cms.EDProducer(
228 "CandViewShallowCloneCombiner",
229 decay = cms.string(
"muons muons"),
230 checkCharge = cms.bool(
False),
231 cut = cms.string(
"daughter(0).pt>150 & daughter(1).pt>150 & mass > "+str(dimuonMassCut)),
233 dielectrons = cms.EDProducer(
234 "CandViewShallowCloneCombiner",
235 decay = cms.string(
"gedGsfElectrons gedGsfElectrons"),
236 checkCharge = cms.bool(
False),
237 cut = cms.string(
"daughter(0).pt>150 & daughter(1).pt>150 & mass > "+str(dielectronMassCut)),
239 diEMu = cms.EDProducer(
240 "CandViewShallowCloneCombiner",
241 decay = cms.string(
"muons gedGsfElectrons"),
242 checkCharge = cms.bool(
False),
243 cut = cms.string(
"daughter(0).pt>150 & daughter(1).pt>150 & mass > "+str(diEMuMassCut)),
245 dimuonMassFilter = cms.EDFilter(
246 "CandViewCountFilter",
247 src = cms.InputTag(
"dimuons"),
248 minNumber = cms.uint32(1)
250 dielectronMassFilter = cms.EDFilter(
251 "CandViewCountFilter",
252 src = cms.InputTag(
"dielectrons"),
253 minNumber = cms.uint32(1)
255 diEMuMassFilter = cms.EDFilter(
256 "CandViewCountFilter",
257 src = cms.InputTag(
"diEMu"),
258 minNumber = cms.uint32(1)
261 seqHotlineSkimMassiveDimuon = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * dimuons * dimuonMassFilter)
262 seqHotlineSkimMassiveDielectron = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * dielectrons * dielectronMassFilter)
263 seqHotlineSkimMassiveEMu = cms.Sequence(pvFilter * CSCTightHaloFilter * HBHENoiseFilterResultProducer * HBHENoiseFilter * diEMu * diEMuMassFilter)
266 pfMETSelector = cms.EDFilter(
268 src = cms.InputTag(
"pfMet"),
269 cut = cms.string(
"pt()>"+str(pfMetCut) )
272 pfMETCounter = cms.EDFilter(
273 "CandViewCountFilter",
274 src = cms.InputTag(
"pfMETSelector"),
275 minNumber = cms.uint32(1),
278 seqHotlineSkimPFMET = cms.Sequence(
281 HBHENoiseFilterResultProducer*
288 caloMETSelector = cms.EDFilter(
290 src = cms.InputTag(
"caloMetM"),
291 cut = cms.string(
"pt()>"+str(caloMetCut) )
294 caloMETCounter = cms.EDFilter(
295 "CandViewCountFilter",
296 src = cms.InputTag(
"caloMETSelector"),
297 minNumber = cms.uint32(1),
300 seqHotlineSkimCaloMET = cms.Sequence(
303 HBHENoiseFilterResultProducer*
310 CondMETSelector = cms.EDProducer(
311 "CandViewShallowCloneCombiner",
312 decay = cms.string(
"pfMet caloMetM"),
313 cut = cms.string(
"(daughter(0).pt/daughter(1).pt > "+str(PFOverCaloRatioCut)+
" && daughter(1).pt > "+str(condCaloMetCut)+
") || (daughter(1).pt/daughter(0).pt > "+str(caloOverPFRatioCut)+
" && daughter(0).pt > "+str(condPFMetCut)+
" ) " )
316 CondMETCounter = cms.EDFilter(
317 "CandViewCountFilter",
318 src = cms.InputTag(
"CondMETSelector"),
319 minNumber = cms.uint32(1),
322 seqHotlineSkimCondMET = cms.Sequence(
325 HBHENoiseFilterResultProducer*