7 singleElectronCut = 500
8 doubleElectronCut = 300
9 tripleElectronCut = 100
19 dielectronMassCut = 500
27 caloOverPFRatioCut = 2
28 PFOverCaloRatioCut = 2
31 singleMuonSelector = cms.EDFilter(
33 src = cms.InputTag(
"muons"),
34 cut = cms.string(
"pt() > "+str(singleMuonCut) )
36 singleMuonFilter = cms.EDFilter(
37 "CandViewCountFilter",
38 src = cms.InputTag(
"singleMuonSelector"),
39 minNumber = cms.uint32(1)
41 seqHotlineSkimSingleMuon = cms.Sequence(singleMuonSelector * singleMuonFilter)
44 doubleMuonSelector = cms.EDFilter(
46 src = cms.InputTag(
"muons"),
47 cut = cms.string(
"pt() > "+str(doubleMuonCut) )
49 doubleMuonFilter = cms.EDFilter(
50 "CandViewCountFilter",
51 src = cms.InputTag(
"doubleMuonSelector"),
52 minNumber = cms.uint32(2)
54 seqHotlineSkimDoubleMuon = cms.Sequence(doubleMuonSelector * doubleMuonFilter)
57 tripleMuonSelector = cms.EDFilter(
59 src = cms.InputTag(
"muons"),
60 cut = cms.string(
"pt() > "+str(tripleMuonCut) )
62 tripleMuonFilter = cms.EDFilter(
63 "CandViewCountFilter",
64 src = cms.InputTag(
"tripleMuonSelector"),
65 minNumber = cms.uint32(3)
67 seqHotlineSkimTripleMuon = cms.Sequence(tripleMuonSelector * tripleMuonFilter)
70 singleElectronSelector = cms.EDFilter(
72 src = cms.InputTag(
"gedGsfElectrons"),
73 cut = cms.string(
"pt() > "+str(singleElectronCut) )
75 singleElectronFilter = cms.EDFilter(
76 "CandViewCountFilter",
77 src = cms.InputTag(
"singleElectronSelector"),
78 minNumber = cms.uint32(1)
80 seqHotlineSkimSingleElectron = cms.Sequence(singleElectronSelector * singleElectronFilter)
83 doubleElectronSelector = cms.EDFilter(
85 src = cms.InputTag(
"gedGsfElectrons"),
86 cut = cms.string(
"pt() > "+str(doubleElectronCut) )
88 doubleElectronFilter = cms.EDFilter(
89 "CandViewCountFilter",
90 src = cms.InputTag(
"doubleElectronSelector"),
91 minNumber = cms.uint32(2)
93 seqHotlineSkimDoubleElectron = cms.Sequence(doubleElectronSelector * doubleElectronFilter)
96 tripleElectronSelector = cms.EDFilter(
98 src = cms.InputTag(
"gedGsfElectrons"),
99 cut = cms.string(
"pt() > "+str(tripleElectronCut) )
101 tripleElectronFilter = cms.EDFilter(
102 "CandViewCountFilter",
103 src = cms.InputTag(
"tripleElectronSelector"),
104 minNumber = cms.uint32(3)
106 seqHotlineSkimTripleElectron = cms.Sequence(tripleElectronSelector * tripleElectronFilter)
109 singlePhotonSelector = cms.EDFilter(
111 src = cms.InputTag(
"gedPhotons"),
112 cut = cms.string(
"pt() > "+str(singlePhotonCut) )
114 singlePhotonFilter = cms.EDFilter(
115 "CandViewCountFilter",
116 src = cms.InputTag(
"singlePhotonSelector"),
117 minNumber = cms.uint32(1)
119 seqHotlineSkimSinglePhoton = cms.Sequence(singlePhotonSelector * singlePhotonFilter)
122 doublePhotonSelector = cms.EDFilter(
124 src = cms.InputTag(
"gedPhotons"),
125 cut = cms.string(
"pt() > "+str(doublePhotonCut) )
127 doublePhotonFilter = cms.EDFilter(
128 "CandViewCountFilter",
129 src = cms.InputTag(
"doublePhotonSelector"),
130 minNumber = cms.uint32(2)
132 seqHotlineSkimDoublePhoton = cms.Sequence(doublePhotonSelector * doublePhotonFilter)
135 triplePhotonSelector = cms.EDFilter(
137 src = cms.InputTag(
"gedPhotons"),
138 cut = cms.string(
"pt() > "+str(triplePhotonCut) )
140 triplePhotonFilter = cms.EDFilter(
141 "CandViewCountFilter",
142 src = cms.InputTag(
"triplePhotonSelector"),
143 minNumber = cms.uint32(3)
145 seqHotlineSkimTriplePhoton = cms.Sequence(triplePhotonSelector * triplePhotonFilter)
148 singleJetSelector = cms.EDFilter(
150 src = cms.InputTag(
"ak4PFJets"),
151 cut = cms.string(
"pt() > "+str(singleJetCut) )
153 singleJetFilter = cms.EDFilter(
154 "CandViewCountFilter",
155 src = cms.InputTag(
"singleJetSelector"),
156 minNumber = cms.uint32(1)
158 seqHotlineSkimSingleJet = cms.Sequence(singleJetSelector * singleJetFilter)
161 doubleJetSelector = cms.EDFilter(
163 src = cms.InputTag(
"ak4PFJets"),
164 cut = cms.string(
"pt() > "+str(doubleJetCut) )
166 doubleJetFilter = cms.EDFilter(
167 "CandViewCountFilter",
168 src = cms.InputTag(
"doubleJetSelector"),
169 minNumber = cms.uint32(2)
171 seqHotlineSkimDoubleJet = cms.Sequence(doubleJetSelector * doubleJetFilter)
174 multiJetSelector = cms.EDFilter(
176 src = cms.InputTag(
"ak4PFJets"),
177 cut = cms.string(
"pt() > "+str(multiJetCut) )
179 multiJetFilter = cms.EDFilter(
180 "CandViewCountFilter",
181 src = cms.InputTag(
"multiJetSelector"),
182 minNumber = cms.uint32(multiJetNJets)
184 seqHotlineSkimMultiJet = cms.Sequence(multiJetSelector * multiJetFilter)
187 htMht = cms.EDProducer(
"HLTHtMhtProducer",
188 usePt = cms.bool(
False ),
189 minPtJetHt = cms.double( 40.0 ),
190 maxEtaJetMht = cms.double( 5.0 ),
191 minNJetMht = cms.int32( 0 ),
192 jetsLabel = cms.InputTag(
"ak4CaloJets" ),
193 maxEtaJetHt = cms.double( 3.0 ),
194 minPtJetMht = cms.double( 30.0 ),
195 minNJetHt = cms.int32( 0 ),
196 pfCandidatesLabel = cms.InputTag(
"" ),
197 excludePFMuons = cms.bool(
False )
199 htSelector = cms.EDFilter(
201 src = cms.InputTag(
"htMht"),
202 cut = cms.string(
"sumEt() > "+str(htCut) )
204 htFilter = cms.EDFilter(
205 "CandViewCountFilter",
206 src = cms.InputTag(
"htSelector"),
207 minNumber = cms.uint32(1)
209 seqHotlineSkimHT = cms.Sequence(htMht * htSelector * htFilter)
212 dimuonsHotLine = cms.EDProducer(
213 "CandViewShallowCloneCombiner",
214 decay = cms.string(
"muons muons"),
215 checkCharge = cms.bool(
False),
216 cut = cms.string(
"mass > "+str(dimuonMassCut)),
218 dielectrons = cms.EDProducer(
219 "CandViewShallowCloneCombiner",
220 decay = cms.string(
"gedGsfElectrons gedGsfElectrons"),
221 checkCharge = cms.bool(
False),
222 cut = cms.string(
"mass > "+str(dielectronMassCut)),
224 diEMu = cms.EDProducer(
225 "CandViewShallowCloneCombiner",
226 decay = cms.string(
"muons gedGsfElectrons"),
227 checkCharge = cms.bool(
False),
228 cut = cms.string(
"mass > "+str(diEMuMassCut)),
230 dimuonMassFilter = cms.EDFilter(
231 "CandViewCountFilter",
232 src = cms.InputTag(
"dimuonsHotLine"),
233 minNumber = cms.uint32(1)
235 dielectronMassFilter = cms.EDFilter(
236 "CandViewCountFilter",
237 src = cms.InputTag(
"dielectrons"),
238 minNumber = cms.uint32(1)
240 diEMuMassFilter = cms.EDFilter(
241 "CandViewCountFilter",
242 src = cms.InputTag(
"diEMu"),
243 minNumber = cms.uint32(1)
246 seqHotlineSkimMassiveDimuon = cms.Sequence(dimuonsHotLine * dimuonMassFilter)
247 seqHotlineSkimMassiveDielectron = cms.Sequence(dielectrons * dielectronMassFilter)
248 seqHotlineSkimMassiveEMu = cms.Sequence(diEMu * diEMuMassFilter)
251 pvFilterHotLine = cms.EDFilter(
253 src = cms.InputTag(
"offlinePrimaryVertices"),
254 cut = cms.string(
"!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2"),
255 filter = cms.bool(
True),
263 pfMETSelectorHotLine = cms.EDFilter(
265 src = cms.InputTag(
"pfMet"),
266 cut = cms.string(
"pt()>"+str(pfMetCut) )
269 pfMETCounterHotLine = cms.EDFilter(
270 "CandViewCountFilter",
271 src = cms.InputTag(
"pfMETSelectorHotLine"),
272 minNumber = cms.uint32(1),
275 seqHotlineSkimPFMET = cms.Sequence(
277 HBHENoiseFilterResultProducer*
279 pfMETSelectorHotLine*
284 caloMETSelectorHotLine = cms.EDFilter(
286 src = cms.InputTag(
"caloMetM"),
287 cut = cms.string(
"pt()>"+str(caloMetCut) )
290 caloMETCounterHotLine = cms.EDFilter(
291 "CandViewCountFilter",
292 src = cms.InputTag(
"caloMETSelectorHotLine"),
293 minNumber = cms.uint32(1),
296 seqHotlineSkimCaloMET = cms.Sequence(
298 HBHENoiseFilterResultProducer*
300 caloMETSelectorHotLine*
301 caloMETCounterHotLine
305 CondMETSelectorHotLine = cms.EDProducer(
306 "CandViewShallowCloneCombiner",
307 decay = cms.string(
"pfMet caloMetM"),
308 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)+
" ) " )
311 CondMETCounterHotLine = cms.EDFilter(
312 "CandViewCountFilter",
313 src = cms.InputTag(
"CondMETSelectorHotLine"),
314 minNumber = cms.uint32(1),
317 seqHotlineSkimCondMET = cms.Sequence(
319 HBHENoiseFilterResultProducer*
321 CondMETSelectorHotLine*
322 CondMETCounterHotLine