27 from RecoTauTag.RecoTau.PFRecoTauDiscriminationByHPSSelection_cfi
import hpsSelectionDiscriminator
28 hpsPFTauDiscriminationByDecayModeFinding = hpsSelectionDiscriminator.clone(
29 PFTauProducer = cms.InputTag(
'hpsPFTauProducer')
33 requireDecayMode = cms.PSet(
34 BooleanOperator = cms.string(
"and"),
36 Producer = cms.InputTag(
'hpsPFTauDiscriminationByDecayModeFinding'),
43 hpsPFTauDiscriminationByLooseIsolation = pfRecoTauDiscriminationByIsolation.clone(
44 PFTauProducer = cms.InputTag(
"hpsPFTauProducer"),
45 Prediscriminants = requireDecayMode.clone(),
46 ApplyDiscriminationByTrackerIsolation =
False,
47 ApplyDiscriminationByECALIsolation =
True,
48 applyOccupancyCut =
True
50 hpsPFTauDiscriminationByLooseIsolation.Prediscriminants.preIso = cms.PSet(
51 Producer = cms.InputTag(
"hpsPFTauDiscriminationByLooseChargedIsolation"),
52 cut = cms.double(0.5))
58 hpsPFTauDiscriminationByVLooseIsolation = hpsPFTauDiscriminationByLooseIsolation.clone(
59 customOuterCone = cms.double(0.3),
60 isoConeSizeForDeltaBeta = cms.double(0.3),
62 hpsPFTauDiscriminationByVLooseIsolation.qualityCuts.isolationQualityCuts.minTrackPt = 1.5
63 hpsPFTauDiscriminationByVLooseIsolation.qualityCuts.isolationQualityCuts.minGammaEt = 2.0
64 hpsPFTauDiscriminationByVLooseIsolation.Prediscriminants.preIso.Producer = cms.InputTag(
"hpsPFTauDiscriminationByVLooseChargedIsolation")
67 hpsPFTauDiscriminationByMediumIsolation = hpsPFTauDiscriminationByLooseIsolation.clone()
68 hpsPFTauDiscriminationByMediumIsolation.qualityCuts.isolationQualityCuts.minTrackPt = 0.8
69 hpsPFTauDiscriminationByMediumIsolation.qualityCuts.isolationQualityCuts.minGammaEt = 0.8
70 hpsPFTauDiscriminationByMediumIsolation.Prediscriminants.preIso.Producer = cms.InputTag(
"hpsPFTauDiscriminationByMediumChargedIsolation")
73 hpsPFTauDiscriminationByTightIsolation = hpsPFTauDiscriminationByLooseIsolation.clone()
74 hpsPFTauDiscriminationByTightIsolation.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
75 hpsPFTauDiscriminationByTightIsolation.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
76 hpsPFTauDiscriminationByTightIsolation.Prediscriminants.preIso.Producer = cms.InputTag(
"hpsPFTauDiscriminationByTightChargedIsolation")
78 hpsPFTauDiscriminationByIsolationSeq = cms.Sequence(
79 hpsPFTauDiscriminationByVLooseIsolation*
80 hpsPFTauDiscriminationByLooseIsolation*
81 hpsPFTauDiscriminationByMediumIsolation*
82 hpsPFTauDiscriminationByTightIsolation
85 _isolation_types = [
'VLoose',
'Loose',
'Medium',
'Tight']
89 hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr = hpsPFTauDiscriminationByVLooseIsolation.clone(
90 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
91 applyDeltaBetaCorrection =
True,
92 isoConeSizeForDeltaBeta = 0.8,
93 deltaBetaFactor =
"%0.4f"%(0.0123/0.1687),
94 applyOccupancyCut =
False,
98 hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr.maximumSumPtCut=hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
100 hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseIsolation.clone(
101 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
102 applyDeltaBetaCorrection =
True,
103 isoConeSizeForDeltaBeta = 0.8,
104 deltaBetaFactor =
"%0.4f"%(0.0123/0.1687),
105 applyOccupancyCut =
False,
106 applySumPtCut =
True,
108 hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.maximumSumPtCut=hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
111 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr = hpsPFTauDiscriminationByMediumIsolation.clone(
112 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
113 applyDeltaBetaCorrection =
True,
114 isoConeSizeForDeltaBeta = 0.8,
115 deltaBetaFactor =
"%0.4f"%(0.0462/0.1687),
116 applyOccupancyCut =
False,
117 applySumPtCut =
True,
119 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.maximumSumPtCut=hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
122 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr = hpsPFTauDiscriminationByTightIsolation.clone(
123 deltaBetaPUTrackPtCutOverride = cms.double(0.5),
124 applyDeltaBetaCorrection =
True,
125 isoConeSizeForDeltaBeta = 0.8,
126 deltaBetaFactor =
"%0.4f"%(0.0772/0.1687),
127 applyOccupancyCut =
False,
128 applySumPtCut =
True,
130 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.maximumSumPtCut=hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt
132 hpsPFTauDiscriminationByIsolationSeqDBSumPtCorr = cms.Sequence(
133 hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr*
134 hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr*
135 hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr*
136 hpsPFTauDiscriminationByTightIsolationDBSumPtCorr
140 hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr.clone(
141 ApplyDiscriminationByTrackerIsolation =
True,
142 ApplyDiscriminationByECALIsolation =
True,
143 deltaBetaFactor =
"%0.4f"%((0.09/0.25)*(0.0772/0.1687)),
144 applyOccupancyCut =
False,
145 applySumPtCut =
True,
146 maximumSumPtCut = 3.0,
147 Prediscriminants = requireDecayMode.clone()
149 hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
150 hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
152 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr.clone(
153 ApplyDiscriminationByTrackerIsolation =
True,
154 ApplyDiscriminationByECALIsolation =
True,
155 deltaBetaFactor =
"%0.4f"%(0.0772/0.1687),
156 applyOccupancyCut =
False,
157 applySumPtCut =
True,
158 maximumSumPtCut = 2.0,
159 Prediscriminants = requireDecayMode.clone()
161 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
162 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
165 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
166 applySumPtCut =
False,
167 storeRawSumPt = cms.bool(
True)
170 hpsPFTauDiscriminationByRawChargedIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
171 applySumPtCut =
False,
172 ApplyDiscriminationByECALIsolation =
False,
173 storeRawSumPt = cms.bool(
True)
176 hpsPFTauDiscriminationByRawGammaIsolationDBSumPtCorr = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
177 applySumPtCut =
False,
178 ApplyDiscriminationByTrackerIsolation =
False,
179 storeRawSumPt = cms.bool(
True)
183 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr.clone(
184 ApplyDiscriminationByTrackerIsolation =
True,
185 ApplyDiscriminationByECALIsolation =
True,
186 deltaBetaFactor =
"%0.4f"%(0.0772/0.1687),
187 applyOccupancyCut =
False,
188 applySumPtCut =
True,
189 maximumSumPtCut = 1.0,
190 Prediscriminants = requireDecayMode.clone()
192 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
193 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
195 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr = hpsPFTauDiscriminationByTightIsolationDBSumPtCorr.clone(
196 ApplyDiscriminationByTrackerIsolation =
True,
197 ApplyDiscriminationByECALIsolation =
True,
198 deltaBetaFactor =
"%0.4f"%(0.0772/0.1687),
199 applyOccupancyCut =
False,
200 applySumPtCut =
True,
201 maximumSumPtCut = 0.8,
202 Prediscriminants = requireDecayMode.clone()
204 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minTrackPt = 0.5
205 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.qualityCuts.isolationQualityCuts.minGammaEt = 0.5
207 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr = cms.Sequence(
208 hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr*
209 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr*
210 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr*
211 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr
215 hpsPFTauDiscriminationByVLooseChargedIsolation = hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr.clone(
216 ApplyDiscriminationByECALIsolation =
False
219 hpsPFTauDiscriminationByLooseChargedIsolation = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone(
220 ApplyDiscriminationByECALIsolation =
False
223 hpsPFTauDiscriminationByMediumChargedIsolation = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.clone(
224 ApplyDiscriminationByECALIsolation =
False
226 hpsPFTauDiscriminationByTightChargedIsolation = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.clone(
227 ApplyDiscriminationByECALIsolation =
False
231 hpsPFTauDiscriminationByChargedIsolationSeq = cms.Sequence(
232 hpsPFTauDiscriminationByVLooseChargedIsolation*
233 hpsPFTauDiscriminationByLooseChargedIsolation*
234 hpsPFTauDiscriminationByMediumChargedIsolation*
235 hpsPFTauDiscriminationByTightChargedIsolation
241 hpsPFTauDiscriminationByIsolationMVAraw = pfRecoTauDiscriminationByMVAIsolation.clone(
242 PFTauProducer = cms.InputTag(
"hpsPFTauProducer"),
243 Prediscriminants = requireDecayMode.clone(),
244 returnMVA = cms.bool(
True),
247 hpsPFTauDiscriminationByLooseIsolationMVA = hpsPFTauDiscriminationByDecayModeFinding.clone(
248 Prediscriminants = cms.PSet(
249 BooleanOperator = cms.string(
"and"),
251 Producer = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVAraw'),
252 cut = cms.double(0.795)
255 hpsPFTauDiscriminationByMediumIsolationMVA = copy.deepcopy(hpsPFTauDiscriminationByLooseIsolationMVA)
256 hpsPFTauDiscriminationByMediumIsolationMVA.Prediscriminants.mva.cut = cms.double(0.884)
257 hpsPFTauDiscriminationByTightIsolationMVA = copy.deepcopy(hpsPFTauDiscriminationByLooseIsolationMVA)
258 hpsPFTauDiscriminationByTightIsolationMVA.Prediscriminants.mva.cut = cms.double(0.921)
261 hpsPFTauDiscriminationByIsolationMVA2raw = pfRecoTauDiscriminationByMVAIsolation.clone(
262 PFTauProducer = cms.InputTag(
"hpsPFTauProducer"),
263 Prediscriminants = requireDecayMode.clone(),
264 returnMVA = cms.bool(
True),
265 gbrfFilePath = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrfTauIso_v2.root')
268 hpsPFTauDiscriminationByLooseIsolationMVA2 = hpsPFTauDiscriminationByDecayModeFinding.clone(
269 Prediscriminants = cms.PSet(
270 BooleanOperator = cms.string(
"and"),
272 Producer = cms.InputTag(
'hpsPFTauDiscriminationByIsolationMVA2raw'),
273 cut = cms.double(0.85)
276 hpsPFTauDiscriminationByMediumIsolationMVA2 = copy.deepcopy(hpsPFTauDiscriminationByLooseIsolationMVA2)
277 hpsPFTauDiscriminationByMediumIsolationMVA2.Prediscriminants.mva.cut = cms.double(0.90)
278 hpsPFTauDiscriminationByTightIsolationMVA2 = copy.deepcopy(hpsPFTauDiscriminationByLooseIsolationMVA2)
279 hpsPFTauDiscriminationByTightIsolationMVA2.Prediscriminants.mva.cut = cms.double(0.94)
282 kt6PFJetsForRhoComputationVoronoi = _dummy.clone(
287 hpsPFTauDiscriminationByMVAIsolationSeq = cms.Sequence(
288 kt6PFJetsForRhoComputationVoronoi*
289 hpsPFTauDiscriminationByIsolationMVAraw*
290 hpsPFTauDiscriminationByLooseIsolationMVA*
291 hpsPFTauDiscriminationByMediumIsolationMVA*
292 hpsPFTauDiscriminationByTightIsolationMVA*
293 hpsPFTauDiscriminationByIsolationMVA2raw*
294 hpsPFTauDiscriminationByLooseIsolationMVA2*
295 hpsPFTauDiscriminationByMediumIsolationMVA2*
296 hpsPFTauDiscriminationByTightIsolationMVA2
300 hpsPFTauDiscriminationByLooseElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
301 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
302 Prediscriminants = noPrediscriminants,
303 PFElectronMVA_maxValue = cms.double(0.6)
306 hpsPFTauDiscriminationByMediumElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
307 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
308 Prediscriminants = noPrediscriminants,
309 ApplyCut_EcalCrackCut = cms.bool(
True)
312 hpsPFTauDiscriminationByTightElectronRejection = pfRecoTauDiscriminationAgainstElectron.clone(
313 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
314 Prediscriminants = noPrediscriminants,
315 ApplyCut_EcalCrackCut = cms.bool(
True),
316 ApplyCut_BremCombined = cms.bool(
True)
319 hpsPFTauDiscriminationByLooseMuonRejection = pfRecoTauDiscriminationAgainstMuon.clone(
320 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
321 Prediscriminants = noPrediscriminants
324 hpsPFTauDiscriminationByMediumMuonRejection = pfRecoTauDiscriminationAgainstMuon.clone(
325 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
326 Prediscriminants = noPrediscriminants,
327 discriminatorOption = cms.string(
'noAllArbitrated')
330 hpsPFTauDiscriminationByTightMuonRejection = pfRecoTauDiscriminationAgainstMuon.clone(
331 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
332 Prediscriminants = noPrediscriminants,
333 discriminatorOption = cms.string(
'noAllArbitratedWithHOP')
336 hpsPFTauDiscriminationByLooseMuonRejection2 = pfRecoTauDiscriminationAgainstMuon2.clone(
337 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
338 Prediscriminants = noPrediscriminants
341 hpsPFTauDiscriminationByMediumMuonRejection2 = pfRecoTauDiscriminationAgainstMuon2.clone(
342 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
343 Prediscriminants = noPrediscriminants,
344 discriminatorOption = cms.string(
'medium')
347 hpsPFTauDiscriminationByTightMuonRejection2 = pfRecoTauDiscriminationAgainstMuon2.clone(
348 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
349 Prediscriminants = noPrediscriminants,
350 discriminatorOption = cms.string(
'tight')
353 hpsPFTauDiscriminationByLooseMuonRejection3 = pfRecoTauDiscriminationAgainstMuon2.clone(
354 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
355 Prediscriminants = noPrediscriminants,
356 discriminatorOption = cms.string(
'custom'),
357 maxNumberOfMatches = cms.int32(1),
358 doCaloMuonVeto = cms.bool(
True),
359 maxNumberOfHitsLast2Stations = cms.int32(-1)
362 hpsPFTauDiscriminationByTightMuonRejection3 = hpsPFTauDiscriminationByLooseMuonRejection3.clone(
363 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
364 Prediscriminants = noPrediscriminants,
365 maxNumberOfHitsLast2Stations = cms.int32(0)
369 hpsPFTauDiscriminationByMVAElectronRejection = pfRecoTauDiscriminationAgainstElectronMVA.clone(
370 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
371 Prediscriminants = requireDecayMode.clone(),
376 hpsPFTauDiscriminationByMVAElectronRejection.Prediscriminants.electronMedium = \
378 Producer = cms.InputTag(
'hpsPFTauDiscriminationByMediumElectronRejection'),
379 cut = cms.double(0.5)
382 hpsPFTauDiscriminationByMVA2rawElectronRejection = pfRecoTauDiscriminationAgainstElectronMVA2.clone(
383 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
384 Prediscriminants = requireDecayMode.clone()
387 from RecoTauTag.RecoTau.RecoTauDiscriminantCutMultiplexer_cfi
import recoTauDiscriminantCutMultiplexer
388 hpsPFTauDiscriminationByMVA2VLooseElectronRejection = recoTauDiscriminantCutMultiplexer.clone(
389 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
390 Prediscriminants = requireDecayMode.clone(),
391 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByMVA2rawElectronRejection'),
392 key = cms.InputTag(
'hpsPFTauDiscriminationByMVA2rawElectronRejection:category'),
395 category = cms.uint32(0),
396 cut = cms.double(-0.141383)
399 category = cms.uint32(1),
400 cut = cms.double(-0.122568)
403 category = cms.uint32(2),
404 cut = cms.double(-0.138286)
407 category = cms.uint32(3),
408 cut = cms.double(-0.100279)
411 category = cms.uint32(4),
412 cut = cms.double(-0.116113)
415 category = cms.uint32(5),
416 cut = cms.double(-0.191557)
419 category = cms.uint32(6),
420 cut = cms.double(-0.0921955)
423 category = cms.uint32(7),
424 cut = cms.double(-0.0936173)
427 category = cms.uint32(8),
428 cut = cms.double(-0.119732)
431 category = cms.uint32(9),
432 cut = cms.double(-0.1042)
437 hpsPFTauDiscriminationByMVA2LooseElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA2VLooseElectronRejection)
438 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[0].cut = cms.double(-0.0639254)
439 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[1].cut = cms.double(-0.0220708)
440 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[2].cut = cms.double(-0.102071)
441 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[3].cut = cms.double(-0.0233814)
442 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[4].cut = cms.double(-0.0391565)
443 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[5].cut = cms.double(-0.142564)
444 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[6].cut = cms.double(+0.00982555)
445 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[7].cut = cms.double(-0.0596019)
446 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[8].cut = cms.double(-0.0381238)
447 hpsPFTauDiscriminationByMVA2LooseElectronRejection.mapping[9].cut = cms.double(-0.100381)
449 hpsPFTauDiscriminationByMVA2MediumElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA2VLooseElectronRejection)
450 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[0].cut = cms.double(+0.011729)
451 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[1].cut = cms.double(+0.0203646)
452 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[2].cut = cms.double(+0.177502)
453 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[3].cut = cms.double(+0.0103449)
454 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[4].cut = cms.double(+0.257798)
455 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[5].cut = cms.double(-0.0966083)
456 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[6].cut = cms.double(-0.0466023)
457 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[7].cut = cms.double(+0.0467638)
458 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[8].cut = cms.double(+0.0863876)
459 hpsPFTauDiscriminationByMVA2MediumElectronRejection.mapping[9].cut = cms.double(+0.233436)
461 hpsPFTauDiscriminationByMVA2TightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA2VLooseElectronRejection)
462 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[0].cut = cms.double(+0.0306715)
463 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[1].cut = cms.double(+0.992195)
464 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[2].cut = cms.double(+0.308324)
465 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[3].cut = cms.double(-0.0370998)
466 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[4].cut = cms.double(+0.864643)
467 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[5].cut = cms.double(+0.0832094)
468 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[6].cut = cms.double(+0.791665)
469 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[7].cut = cms.double(+0.675537)
470 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[8].cut = cms.double(+0.87047)
471 hpsPFTauDiscriminationByMVA2TightElectronRejection.mapping[9].cut = cms.double(+0.233711)
473 hpsPFTauDiscriminationByMVA3rawElectronRejection = pfRecoTauDiscriminationAgainstElectronMVA3.clone(
474 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
475 Prediscriminants = requireDecayMode.clone()
478 hpsPFTauDiscriminationByMVA3LooseElectronRejection = recoTauDiscriminantCutMultiplexer.clone(
479 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
480 Prediscriminants = requireDecayMode.clone(),
481 toMultiplex = cms.InputTag(
'hpsPFTauDiscriminationByMVA3rawElectronRejection'),
482 key = cms.InputTag(
'hpsPFTauDiscriminationByMVA3rawElectronRejection:category'),
485 category = cms.uint32(0),
486 cut = cms.double(0.1816889)
489 category = cms.uint32(1),
490 cut = cms.double(0.1538533)
493 category = cms.uint32(2),
494 cut = cms.double(0.5605197)
497 category = cms.uint32(3),
498 cut = cms.double(0.66321647)
501 category = cms.uint32(4),
502 cut = cms.double(0.86337829)
505 category = cms.uint32(5),
506 cut = cms.double(0.94084531)
509 category = cms.uint32(6),
510 cut = cms.double(0.98025548)
513 category = cms.uint32(7),
514 cut = cms.double(0.80039471)
517 category = cms.uint32(8),
518 cut = cms.double(-1.0)
521 category = cms.uint32(9),
522 cut = cms.double(0.49787951)
525 category = cms.uint32(10),
526 cut = cms.double(0.74751109)
529 category = cms.uint32(11),
530 cut = cms.double(0.94486511)
533 category = cms.uint32(12),
534 cut = cms.double(0.63645148)
537 category = cms.uint32(13),
538 cut = cms.double(0.9575507)
541 category = cms.uint32(14),
542 cut = cms.double(0.9549247)
545 category = cms.uint32(15),
546 cut = cms.double(0.83487612)
549 category = cms.uint32(16),
550 cut = cms.double(-1.)
553 category = cms.uint32(17),
554 cut = cms.double(-1.)
559 hpsPFTauDiscriminationByMVA3MediumElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA3LooseElectronRejection)
560 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[0].cut = cms.double(0.5577119)
561 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[1].cut = cms.double(0.7271899)
562 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[2].cut = cms.double(0.90410149)
563 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[3].cut = cms.double(0.94858187)
564 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[4].cut = cms.double(0.95044029)
565 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[5].cut = cms.double(0.97195327)
566 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[6].cut = cms.double(0.99229473)
567 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[7].cut = cms.double(0.92997772)
568 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[8].cut = cms.double(-0.3049897)
569 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[9].cut = cms.double(0.92191792)
570 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[10].cut = cms.double(0.96017671)
571 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[11].cut = cms.double(0.98126549)
572 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[12].cut = cms.double(0.80912107)
573 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[13].cut = cms.double(0.98326528)
574 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[14].cut = cms.double(0.97490251)
575 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[15].cut = cms.double(0.94708711)
576 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[16].cut = cms.double(-1.)
577 hpsPFTauDiscriminationByMVA3MediumElectronRejection.mapping[17].cut = cms.double(-1.)
579 hpsPFTauDiscriminationByMVA3TightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA3LooseElectronRejection)
580 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[0].cut = cms.double(0.78914332)
581 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[1].cut = cms.double(0.91818088)
582 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[2].cut = cms.double(0.96754968)
583 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[3].cut = cms.double(0.98437631)
584 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[4].cut = cms.double(0.96684271)
585 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[5].cut = cms.double(0.99065852)
586 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[6].cut = cms.double(0.99797088)
587 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[7].cut = cms.double(0.96952927)
588 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[8].cut = cms.double(0.1180589)
589 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[9].cut = cms.double(0.9714281)
590 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[10].cut = cms.double(0.98451769)
591 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[11].cut = cms.double(0.99372888)
592 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[12].cut = cms.double(0.84681427)
593 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[13].cut = cms.double(0.98940611)
594 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[14].cut = cms.double(0.98308349)
595 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[15].cut = cms.double(0.97482169)
596 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[16].cut = cms.double(-1.)
597 hpsPFTauDiscriminationByMVA3TightElectronRejection.mapping[17].cut = cms.double(-1.)
599 hpsPFTauDiscriminationByMVA3VTightElectronRejection = copy.deepcopy(hpsPFTauDiscriminationByMVA3LooseElectronRejection)
600 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[0].cut = cms.double(0.89307231)
601 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[1].cut = cms.double(0.96239871)
602 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[2].cut = cms.double(0.98247749)
603 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[3].cut = cms.double(0.99013329)
604 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[4].cut = cms.double(0.9768821)
605 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[5].cut = cms.double(0.9958095)
606 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[6].cut = cms.double(0.99797088)
607 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[7].cut = cms.double(0.98120493)
608 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[8].cut = cms.double(0.60025311)
609 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[9].cut = cms.double(0.98320472)
610 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[10].cut = cms.double(0.9897899)
611 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[11].cut = cms.double(0.9964357)
612 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[12].cut = cms.double(0.88230568)
613 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[13].cut = cms.double(0.99132508)
614 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[14].cut = cms.double(0.98467928)
615 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[15].cut = cms.double(0.98235631)
616 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[16].cut = cms.double(-1.)
617 hpsPFTauDiscriminationByMVA3VTightElectronRejection.mapping[17].cut = cms.double(-1.)
620 hpsPFTauDiscriminationByDeadECALElectronRejection = pfRecoTauDiscriminationAgainstElectronDeadECAL.clone(
621 PFTauProducer = cms.InputTag(
'hpsPFTauProducer'),
622 Prediscriminants = requireDecayMode.clone()
626 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr.clone()
627 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr.clone()
628 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr.clone()
630 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
631 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
632 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits.qualityCuts.isolationQualityCuts.minTrackHits = cms.uint32(3)
634 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits = hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits.clone(
635 applySumPtCut =
False,
636 storeRawSumPt = cms.bool(
True)
639 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr3Hits = cms.Sequence(
640 hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits*
641 hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits*
642 hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits*
643 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits
647 hpsSelectionDiscriminator.PFTauProducer = cms.InputTag(
"combinatoricRecoTaus")
649 import RecoTauTag.RecoTau.RecoTauCleanerPlugins
as cleaners
651 hpsPFTauProducerSansRefs = cms.EDProducer(
653 src = cms.InputTag(
"combinatoricRecoTaus"),
654 cleaners = cms.VPSet(
661 name = cms.string(
"leadStripPtLt2_5"),
662 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
663 selection = cms.string(
"signalPiZeroCandidates().size() = 0 | signalPiZeroCandidates()[0].pt > 2.5"),
664 selectionPassFunction = cms.string(
"0"),
665 selectionFailValue = cms.double(1e3)
671 name = cms.string(
"HPS_Select"),
672 plugin = cms.string(
"RecoTauDiscriminantCleanerPlugin"),
673 src = cms.InputTag(
"hpsSelectionDiscriminator"),
675 cleaners.combinedIsolation
679 hpsPFTauProducer = cms.EDProducer(
680 "RecoTauPiZeroUnembedder",
681 src = cms.InputTag(
"hpsPFTauProducerSansRefs")
684 produceHPSPFTaus = cms.Sequence(
685 hpsSelectionDiscriminator
690 *hpsPFTauProducerSansRefs
694 produceAndDiscriminateHPSPFTaus = cms.Sequence(
696 hpsPFTauDiscriminationByDecayModeFinding*
697 hpsPFTauDiscriminationByChargedIsolationSeq*
698 hpsPFTauDiscriminationByIsolationSeq*
701 hpsPFTauDiscriminationByIsolationSeqDBSumPtCorr*
702 hpsPFTauDiscriminationByMVAIsolationSeq*
704 hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr*
705 hpsPFTauDiscriminationByRawChargedIsolationDBSumPtCorr*
706 hpsPFTauDiscriminationByRawGammaIsolationDBSumPtCorr*
708 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr*
709 hpsPFTauDiscriminationByCombinedIsolationSeqDBSumPtCorr3Hits*
711 hpsPFTauDiscriminationByLooseElectronRejection*
712 hpsPFTauDiscriminationByMediumElectronRejection*
713 hpsPFTauDiscriminationByTightElectronRejection*
714 hpsPFTauDiscriminationByMVAElectronRejection*
715 hpsPFTauDiscriminationByMVA2rawElectronRejection*
716 hpsPFTauDiscriminationByMVA2VLooseElectronRejection*
717 hpsPFTauDiscriminationByMVA2LooseElectronRejection*
718 hpsPFTauDiscriminationByMVA2MediumElectronRejection*
719 hpsPFTauDiscriminationByMVA2TightElectronRejection*
720 hpsPFTauDiscriminationByMVA3rawElectronRejection*
721 hpsPFTauDiscriminationByMVA3LooseElectronRejection*
722 hpsPFTauDiscriminationByMVA3MediumElectronRejection*
723 hpsPFTauDiscriminationByMVA3TightElectronRejection*
724 hpsPFTauDiscriminationByMVA3VTightElectronRejection*
725 hpsPFTauDiscriminationByDeadECALElectronRejection*
726 hpsPFTauDiscriminationByLooseMuonRejection*
727 hpsPFTauDiscriminationByMediumMuonRejection*
728 hpsPFTauDiscriminationByTightMuonRejection*
729 hpsPFTauDiscriminationByLooseMuonRejection2*
730 hpsPFTauDiscriminationByMediumMuonRejection2*
731 hpsPFTauDiscriminationByTightMuonRejection2*
732 hpsPFTauDiscriminationByLooseMuonRejection3*
733 hpsPFTauDiscriminationByTightMuonRejection3