1 import FWCore.ParameterSet.Config
as cms
11 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw = patDiscriminationByIsolationMVArun2v1raw.clone(
12 PATTauProducer = cms.InputTag(
'slimmedTaus'),
13 Prediscriminants = noPrediscriminants,
14 loadMVAfromDB = cms.bool(
True),
15 mvaName = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2"),
16 mvaOpt = cms.string(
"DBoldDMwLTwGJ"),
17 verbosity = cms.int32(0)
20 patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT = patDiscriminationByIsolationMVArun2v1VLoose.clone(
21 PATTauProducer = cms.InputTag(
'slimmedTaus'),
22 Prediscriminants = noPrediscriminants,
23 toMultiplex = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw'),
24 key = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw',
'category'),
25 loadMVAfromDB = cms.bool(
True),
26 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_mvaOutput_normalization"),
29 category = cms.uint32(0),
30 cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff95"),
31 variable = cms.string(
"pt"),
36 patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT.clone()
37 patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff90")
39 patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT.clone()
40 patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff80")
42 patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT.clone()
43 patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff70")
45 patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT.clone()
46 patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff60")
48 patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT.clone()
49 patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff50")
51 patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT.clone()
52 patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v2_WPEff40")
54 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTSeq = cms.Sequence(
55 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw
56 + patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT
57 + patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT
58 + patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT
59 + patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT
60 + patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT
61 + patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT
62 + patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT
66 patTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw = patDiscriminationByIsolationMVArun2v1raw.clone(
67 PATTauProducer = cms.InputTag(
'slimmedTaus'),
68 Prediscriminants = noPrediscriminants,
69 loadMVAfromDB = cms.bool(
True),
70 mvaName = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2"),
71 mvaOpt = cms.string(
"DBnewDMwLTwGJ"),
72 verbosity = cms.int32(0)
75 patTauDiscriminationByVVLooseIsolationMVArun2v1DBnewDMwLT = patDiscriminationByIsolationMVArun2v1VLoose.clone(
76 PATTauProducer = cms.InputTag(
'slimmedTaus'),
77 Prediscriminants = noPrediscriminants,
78 toMultiplex = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw'),
79 key = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw',
'category'),
80 loadMVAfromDB = cms.bool(
True),
81 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_mvaOutput_normalization"),
84 category = cms.uint32(0),
85 cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff95"),
86 variable = cms.string(
"pt"),
91 patTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBnewDMwLT.clone()
92 patTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff90")
94 patTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBnewDMwLT.clone()
95 patTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff80")
97 patTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBnewDMwLT.clone()
98 patTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff70")
100 patTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBnewDMwLT.clone()
101 patTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff60")
103 patTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBnewDMwLT.clone()
104 patTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff50")
106 patTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBnewDMwLT.clone()
107 patTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBnewDMwLT2017v2_WPEff40")
109 patTauDiscriminationByIsolationMVArun2v1DBnewDMwLTSeq = cms.Sequence(
110 patTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw
111 + patTauDiscriminationByVVLooseIsolationMVArun2v1DBnewDMwLT
112 + patTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT
113 + patTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT
114 + patTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT
115 + patTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT
116 + patTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT
117 + patTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT
121 patTauDiscriminationByIsolationMVArun2v1DBoldDMdR0p3wLTraw = patDiscriminationByIsolationMVArun2v1raw.clone(
122 PATTauProducer = cms.InputTag(
'slimmedTaus'),
123 Prediscriminants = noPrediscriminants,
124 loadMVAfromDB = cms.bool(
True),
125 mvaName = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2"),
126 mvaOpt = cms.string(
"DBoldDMwLTwGJ"),
127 srcChargedIsoPtSum = cms.string(
'chargedIsoPtSumdR03'),
128 srcFootprintCorrection = cms.string(
'footprintCorrectiondR03'),
129 srcNeutralIsoPtSum = cms.string(
'neutralIsoPtSumdR03'),
130 srcPUcorrPtSum = cms.string(
'puCorrPtSum'),
131 srcPhotonPtSumOutsideSignalCone = cms.string(
'photonPtSumOutsideSignalConedR03'),
132 verbosity = cms.int32(0)
135 patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMdR0p3wLT = patDiscriminationByIsolationMVArun2v1VLoose.clone(
136 PATTauProducer = cms.InputTag(
'slimmedTaus'),
137 Prediscriminants = noPrediscriminants,
138 toMultiplex = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMdR0p3wLTraw'),
139 key = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMdR0p3wLTraw',
'category'),
140 loadMVAfromDB = cms.bool(
True),
141 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_mvaOutput_normalization"),
144 category = cms.uint32(0),
145 cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff95"),
146 variable = cms.string(
"pt"),
151 patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMdR0p3wLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMdR0p3wLT.clone()
152 patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMdR0p3wLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff90")
154 patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMdR0p3wLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMdR0p3wLT.clone()
155 patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMdR0p3wLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff80")
157 patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMdR0p3wLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMdR0p3wLT.clone()
158 patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMdR0p3wLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff70")
160 patTauDiscriminationByTightIsolationMVArun2v1DBoldDMdR0p3wLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMdR0p3wLT.clone()
161 patTauDiscriminationByTightIsolationMVArun2v1DBoldDMdR0p3wLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff60")
163 patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMdR0p3wLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMdR0p3wLT.clone()
164 patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMdR0p3wLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff50")
166 patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMdR0p3wLT = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMdR0p3wLT.clone()
167 patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMdR0p3wLT.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMdR0p3wLT2017v2_WPEff40")
169 patTauDiscriminationByIsolationMVArun2v1DBoldDMdR0p3wLTSeq = cms.Sequence(
170 patTauDiscriminationByIsolationMVArun2v1DBoldDMdR0p3wLTraw
171 + patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMdR0p3wLT
172 + patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMdR0p3wLT
173 + patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMdR0p3wLT
174 + patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMdR0p3wLT
175 + patTauDiscriminationByTightIsolationMVArun2v1DBoldDMdR0p3wLT
176 + patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMdR0p3wLT
177 + patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMdR0p3wLT
182 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2017v1 = patDiscriminationByIsolationMVArun2v1raw.clone(
183 PATTauProducer = cms.InputTag(
'slimmedTaus'),
184 Prediscriminants = noPrediscriminants,
185 loadMVAfromDB = cms.bool(
True),
186 mvaName = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1"),
187 mvaOpt = cms.string(
"DBoldDMwLTwGJ"),
188 verbosity = cms.int32(0)
191 patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT2017v1 = patDiscriminationByIsolationMVArun2v1VLoose.clone(
192 PATTauProducer = cms.InputTag(
'slimmedTaus'),
193 Prediscriminants = noPrediscriminants,
194 toMultiplex = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2017v1'),
195 key = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2017v1',
'category'),
196 loadMVAfromDB = cms.bool(
True),
197 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_mvaOutput_normalization"),
200 category = cms.uint32(0),
201 cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff95"),
202 variable = cms.string(
"pt"),
207 patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2017v1 = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT2017v1.clone()
208 patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2017v1.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff90")
210 patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT2017v1 = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT2017v1.clone()
211 patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT2017v1.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff80")
213 patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT2017v1 = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT2017v1.clone()
214 patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT2017v1.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff70")
216 patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT2017v1 = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT2017v1.clone()
217 patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT2017v1.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff60")
219 patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT2017v1 = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT2017v1.clone()
220 patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT2017v1.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff50")
222 patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT2017v1 = patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT2017v1.clone()
223 patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT2017v1.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVAIsoDBoldDMwLT2017v1_WPEff40")
225 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLT2017v1Seq = cms.Sequence(
226 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2017v1
227 + patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT2017v1
228 + patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2017v1
229 + patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT2017v1
230 + patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT2017v1
231 + patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT2017v1
232 + patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT2017v1
233 + patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT2017v1
238 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2015 = patDiscriminationByIsolationMVArun2v1raw.clone(
239 PATTauProducer = cms.InputTag(
'slimmedTaus'),
240 Prediscriminants = noPrediscriminants,
241 loadMVAfromDB = cms.bool(
True),
242 mvaName = cms.string(
"RecoTauTag_tauIdMVADBoldDMwLTv1"),
243 mvaOpt = cms.string(
"DBoldDMwLT"),
244 verbosity = cms.int32(0)
247 patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2015 = patDiscriminationByIsolationMVArun2v1VLoose.clone(
248 PATTauProducer = cms.InputTag(
'slimmedTaus'),
249 Prediscriminants = noPrediscriminants,
250 toMultiplex = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2015'),
251 key = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2015',
'category'),
252 loadMVAfromDB = cms.bool(
True),
253 mvaOutput_normalization = cms.string(
"RecoTauTag_tauIdMVADBoldDMwLTv1_mvaOutput_normalization"),
256 category = cms.uint32(0),
257 cut = cms.string(
"RecoTauTag_tauIdMVADBoldDMwLTv1_WPEff90"),
258 variable = cms.string(
"pt"),
263 patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT2015 = patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2015.clone()
264 patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT2015.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBoldDMwLTv1_WPEff80")
266 patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT2015 = patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2015.clone()
267 patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT2015.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBoldDMwLTv1_WPEff70")
269 patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT2015 = patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2015.clone()
270 patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT2015.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBoldDMwLTv1_WPEff60")
272 patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT2015 = patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2015.clone()
273 patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT2015.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBoldDMwLTv1_WPEff50")
275 patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT2015 = patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2015.clone()
276 patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT2015.mapping[0].cut = cms.string(
"RecoTauTag_tauIdMVADBoldDMwLTv1_WPEff40")
278 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLT2015Seq = cms.Sequence(
279 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2015
280 + patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2015
281 + patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT2015
282 + patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT2015
283 + patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT2015
284 + patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT2015
285 + patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT2015
290 antiElectronDiscrMVA6_version =
"MVA6v3_noeveto" 292 from RecoTauTag.RecoTau.PATTauDiscriminationAgainstElectronMVA6_cfi
import patTauDiscriminationAgainstElectronMVA6
294 patTauDiscriminationByElectronRejectionMVA62018Raw = patTauDiscriminationAgainstElectronMVA6.clone(
295 Prediscriminants = noPrediscriminants,
296 vetoEcalCracks =
False,
297 mvaName_NoEleMatch_wGwoGSF_BL =
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_BL',
298 mvaName_NoEleMatch_wGwoGSF_EC =
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_EC',
299 mvaName_NoEleMatch_woGwoGSF_BL =
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_BL',
300 mvaName_NoEleMatch_woGwoGSF_EC =
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_EC',
301 mvaName_wGwGSF_BL =
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_BL',
302 mvaName_wGwGSF_EC =
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_EC',
303 mvaName_woGwGSF_BL =
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_BL',
304 mvaName_woGwGSF_EC =
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_EC' 309 patTauDiscriminationByVLooseElectronRejectionMVA62018 = patTauDiscriminantCutMultiplexer.clone(
310 PATTauProducer = patTauDiscriminationByElectronRejectionMVA62018Raw.PATTauProducer,
311 Prediscriminants = patTauDiscriminationByElectronRejectionMVA62018Raw.Prediscriminants,
312 toMultiplex = cms.InputTag(
"patTauDiscriminationByElectronRejectionMVA62018Raw"),
313 key = cms.InputTag(
"patTauDiscriminationByElectronRejectionMVA62018Raw",
"category"),
316 category = cms.uint32(0),
317 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_BL_WPeff98'),
318 variable = cms.string(
'pt')
321 category = cms.uint32(2),
322 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_BL_WPeff98'),
323 variable = cms.string(
'pt')
326 category = cms.uint32(5),
327 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_BL_WPeff98'),
328 variable = cms.string(
'pt')
331 category = cms.uint32(7),
332 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_BL_WPeff98'),
333 variable = cms.string(
'pt')
336 category = cms.uint32(8),
337 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_EC_WPeff98'),
338 variable = cms.string(
'pt')
341 category = cms.uint32(10),
342 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_EC_WPeff98'),
343 variable = cms.string(
'pt')
346 category = cms.uint32(13),
347 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_EC_WPeff98'),
348 variable = cms.string(
'pt')
351 category = cms.uint32(15),
352 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_EC_WPeff98'),
353 variable = cms.string(
'pt')
358 patTauDiscriminationByLooseElectronRejectionMVA62018 = patTauDiscriminationByVLooseElectronRejectionMVA62018.clone(
361 category = cms.uint32(0),
362 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_BL_WPeff90'),
363 variable = cms.string(
'pt')
366 category = cms.uint32(2),
367 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_BL_WPeff90'),
368 variable = cms.string(
'pt')
371 category = cms.uint32(5),
372 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_BL_WPeff90'),
373 variable = cms.string(
'pt')
376 category = cms.uint32(7),
377 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_BL_WPeff90'),
378 variable = cms.string(
'pt')
381 category = cms.uint32(8),
382 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_EC_WPeff90'),
383 variable = cms.string(
'pt')
386 category = cms.uint32(10),
387 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_EC_WPeff90'),
388 variable = cms.string(
'pt')
391 category = cms.uint32(13),
392 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_EC_WPeff90'),
393 variable = cms.string(
'pt')
396 category = cms.uint32(15),
397 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_EC_WPeff90'),
398 variable = cms.string(
'pt')
403 patTauDiscriminationByMediumElectronRejectionMVA62018 = patTauDiscriminationByVLooseElectronRejectionMVA62018.clone(
406 category = cms.uint32(0),
407 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_BL_WPeff80'),
408 variable = cms.string(
'pt')
411 category = cms.uint32(2),
412 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_BL_WPeff80'),
413 variable = cms.string(
'pt')
416 category = cms.uint32(5),
417 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_BL_WPeff80'),
418 variable = cms.string(
'pt')
421 category = cms.uint32(7),
422 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_BL_WPeff80'),
423 variable = cms.string(
'pt')
426 category = cms.uint32(8),
427 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_EC_WPeff80'),
428 variable = cms.string(
'pt')
431 category = cms.uint32(10),
432 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_EC_WPeff80'),
433 variable = cms.string(
'pt')
436 category = cms.uint32(13),
437 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_EC_WPeff80'),
438 variable = cms.string(
'pt')
441 category = cms.uint32(15),
442 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_EC_WPeff80'),
443 variable = cms.string(
'pt')
448 patTauDiscriminationByTightElectronRejectionMVA62018 = patTauDiscriminationByVLooseElectronRejectionMVA62018.clone(
451 category = cms.uint32(0),
452 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_BL_WPeff70'),
453 variable = cms.string(
'pt')
456 category = cms.uint32(2),
457 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_BL_WPeff70'),
458 variable = cms.string(
'pt')
461 category = cms.uint32(5),
462 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_BL_WPeff70'),
463 variable = cms.string(
'pt')
466 category = cms.uint32(7),
467 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_BL_WPeff70'),
468 variable = cms.string(
'pt')
471 category = cms.uint32(8),
472 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_EC_WPeff70'),
473 variable = cms.string(
'pt')
476 category = cms.uint32(10),
477 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_EC_WPeff70'),
478 variable = cms.string(
'pt')
481 category = cms.uint32(13),
482 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_EC_WPeff70'),
483 variable = cms.string(
'pt')
486 category = cms.uint32(15),
487 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_EC_WPeff70'),
488 variable = cms.string(
'pt')
493 patTauDiscriminationByVTightElectronRejectionMVA62018 = patTauDiscriminationByVLooseElectronRejectionMVA62018.clone(
496 category = cms.uint32(0),
497 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_BL_WPeff60'),
498 variable = cms.string(
'pt')
501 category = cms.uint32(2),
502 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_BL_WPeff60'),
503 variable = cms.string(
'pt')
506 category = cms.uint32(5),
507 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_BL_WPeff60'),
508 variable = cms.string(
'pt')
511 category = cms.uint32(7),
512 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_BL_WPeff60'),
513 variable = cms.string(
'pt')
516 category = cms.uint32(8),
517 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_woGwoGSF_EC_WPeff60'),
518 variable = cms.string(
'pt')
521 category = cms.uint32(10),
522 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_NoEleMatch_wGwoGSF_EC_WPeff60'),
523 variable = cms.string(
'pt')
526 category = cms.uint32(13),
527 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_woGwGSF_EC_WPeff60'),
528 variable = cms.string(
'pt')
531 category = cms.uint32(15),
532 cut = cms.string(
'RecoTauTag_antiElectron'+antiElectronDiscrMVA6_version+
'_gbr_wGwGSF_EC_WPeff60'),
533 variable = cms.string(
'pt')
538 patTauDiscriminationByElectronRejectionSeq = cms.Sequence(
539 patTauDiscriminationByElectronRejectionMVA62018Raw
540 +patTauDiscriminationByVLooseElectronRejectionMVA62018
541 +patTauDiscriminationByLooseElectronRejectionMVA62018
542 +patTauDiscriminationByMediumElectronRejectionMVA62018
543 +patTauDiscriminationByTightElectronRejectionMVA62018
544 +patTauDiscriminationByVTightElectronRejectionMVA62018
548 _patTauMVAIDsSeq2017v2 = cms.Sequence(
549 patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTSeq
550 +patTauDiscriminationByIsolationMVArun2v1DBnewDMwLTSeq
551 +patTauDiscriminationByIsolationMVArun2v1DBoldDMdR0p3wLTSeq
552 +patTauDiscriminationByElectronRejectionSeq
554 patTauMVAIDsSeq = _patTauMVAIDsSeq2017v2.copy()
555 patTauMVAIDsSeq += patTauDiscriminationByIsolationMVArun2v1DBoldDMwLT2015Seq
557 _patTauMVAIDsSeqWith2017v1 = _patTauMVAIDsSeq2017v2.copy()
558 _patTauMVAIDsSeqWith2017v1 += patTauDiscriminationByIsolationMVArun2v1DBoldDMwLT2017v1Seq
559 from Configuration.Eras.Modifier_run2_nanoAOD_94XMiniAODv1_cff
import run2_nanoAOD_94XMiniAODv1
560 for era
in [run2_nanoAOD_94XMiniAODv1,]:
561 era.toReplaceWith(patTauMVAIDsSeq,_patTauMVAIDsSeqWith2017v1)
564 slimmedTausUpdated = cms.EDProducer(
"PATTauIDEmbedder",
565 src = cms.InputTag(
'slimmedTaus'),
566 tauIDSources = cms.PSet()
568 _tauIDSources2017v2 = cms.PSet(
570 byIsolationMVArun2v1DBoldDMwLTraw2017v2 = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw'),
571 byVVLooseIsolationMVArun2v1DBoldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT'),
572 byVLooseIsolationMVArun2v1DBoldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT'),
573 byLooseIsolationMVArun2v1DBoldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT'),
574 byMediumIsolationMVArun2v1DBoldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT'),
575 byTightIsolationMVArun2v1DBoldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT'),
576 byVTightIsolationMVArun2v1DBoldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT'),
577 byVVTightIsolationMVArun2v1DBoldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT'),
579 byIsolationMVArun2v1DBnewDMwLTraw2017v2 = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBnewDMwLTraw'),
580 byVVLooseIsolationMVArun2v1DBnewDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVVLooseIsolationMVArun2v1DBnewDMwLT'),
581 byVLooseIsolationMVArun2v1DBnewDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVLooseIsolationMVArun2v1DBnewDMwLT'),
582 byLooseIsolationMVArun2v1DBnewDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByLooseIsolationMVArun2v1DBnewDMwLT'),
583 byMediumIsolationMVArun2v1DBnewDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByMediumIsolationMVArun2v1DBnewDMwLT'),
584 byTightIsolationMVArun2v1DBnewDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByTightIsolationMVArun2v1DBnewDMwLT'),
585 byVTightIsolationMVArun2v1DBnewDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVTightIsolationMVArun2v1DBnewDMwLT'),
586 byVVTightIsolationMVArun2v1DBnewDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVVTightIsolationMVArun2v1DBnewDMwLT'),
588 byIsolationMVArun2v1DBdR03oldDMwLTraw2017v2 = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMdR0p3wLTraw'),
589 byVVLooseIsolationMVArun2v1DBdR03oldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMdR0p3wLT'),
590 byVLooseIsolationMVArun2v1DBdR03oldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMdR0p3wLT'),
591 byLooseIsolationMVArun2v1DBdR03oldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMdR0p3wLT'),
592 byMediumIsolationMVArun2v1DBdR03oldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMdR0p3wLT'),
593 byTightIsolationMVArun2v1DBdR03oldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByTightIsolationMVArun2v1DBoldDMdR0p3wLT'),
594 byVTightIsolationMVArun2v1DBdR03oldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMdR0p3wLT'),
595 byVVTightIsolationMVArun2v1DBdR03oldDMwLT2017v2 = cms.InputTag(
'patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMdR0p3wLT'),
597 _tauIDSources2017v1 = cms.PSet(
598 byIsolationMVArun2v1DBoldDMwLTraw2017v1 = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2017v1'),
599 byVVLooseIsolationMVArun2v1DBoldDMwLT2017v1 = cms.InputTag(
'patTauDiscriminationByVVLooseIsolationMVArun2v1DBoldDMwLT2017v1'),
600 byVLooseIsolationMVArun2v1DBoldDMwLT2017v1 = cms.InputTag(
'patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2017v1'),
601 byLooseIsolationMVArun2v1DBoldDMwLT2017v1 = cms.InputTag(
'patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT2017v1'),
602 byMediumIsolationMVArun2v1DBoldDMwLT2017v1 = cms.InputTag(
'patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT2017v1'),
603 byTightIsolationMVArun2v1DBoldDMwLT2017v1 = cms.InputTag(
'patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT2017v1'),
604 byVTightIsolationMVArun2v1DBoldDMwLT2017v1 = cms.InputTag(
'patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT2017v1'),
605 byVVTightIsolationMVArun2v1DBoldDMwLT2017v1 = cms.InputTag(
'patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT2017v1')
607 _tauIDSourcesWith2017v1 = cms.PSet(
608 _tauIDSources2017v2.clone(),
611 _tauIDSources2015 = cms.PSet(
612 byIsolationMVArun2v1DBoldDMwLTraw2015 = cms.InputTag(
'patTauDiscriminationByIsolationMVArun2v1DBoldDMwLTraw2015'),
613 byVLooseIsolationMVArun2v1DBoldDMwLT2015 = cms.InputTag(
'patTauDiscriminationByVLooseIsolationMVArun2v1DBoldDMwLT2015'),
614 byLooseIsolationMVArun2v1DBoldDMwLT2015 = cms.InputTag(
'patTauDiscriminationByLooseIsolationMVArun2v1DBoldDMwLT2015'),
615 byMediumIsolationMVArun2v1DBoldDMwLT2015 = cms.InputTag(
'patTauDiscriminationByMediumIsolationMVArun2v1DBoldDMwLT2015'),
616 byTightIsolationMVArun2v1DBoldDMwLT2015 = cms.InputTag(
'patTauDiscriminationByTightIsolationMVArun2v1DBoldDMwLT2015'),
617 byVTightIsolationMVArun2v1DBoldDMwLT2015 = cms.InputTag(
'patTauDiscriminationByVTightIsolationMVArun2v1DBoldDMwLT2015'),
618 byVVTightIsolationMVArun2v1DBoldDMwLT2015 = cms.InputTag(
'patTauDiscriminationByVVTightIsolationMVArun2v1DBoldDMwLT2015')
620 _tauIDSourcesWith2015 = cms.PSet(
621 _tauIDSources2017v2.clone(),
624 slimmedTausUpdated.tauIDSources=_tauIDSourcesWith2015
626 for era
in [run2_nanoAOD_94XMiniAODv1,]:
627 era.toModify(slimmedTausUpdated,
628 tauIDSources = _tauIDSourcesWith2017v1
631 _antiETauIDSources = cms.PSet(
632 againstElectronMVA6Raw2018 = cms.InputTag(
"patTauDiscriminationByElectronRejectionMVA62018Raw"),
633 againstElectronMVA6category2018 = cms.InputTag(
"patTauDiscriminationByElectronRejectionMVA62018Raw",
"category"),
634 againstElectronVLooseMVA62018 = cms.InputTag(
"patTauDiscriminationByVLooseElectronRejectionMVA62018"),
635 againstElectronLooseMVA62018 = cms.InputTag(
"patTauDiscriminationByLooseElectronRejectionMVA62018"),
636 againstElectronMediumMVA62018 = cms.InputTag(
"patTauDiscriminationByMediumElectronRejectionMVA62018"),
637 againstElectronTightMVA62018 = cms.InputTag(
"patTauDiscriminationByTightElectronRejectionMVA62018"),
638 againstElectronVTightMVA62018 = cms.InputTag(
"patTauDiscriminationByVTightElectronRejectionMVA62018")
640 _tauIDSourcesWithAntiE = cms.PSet(
641 slimmedTausUpdated.tauIDSources.clone(),
644 slimmedTausUpdated.tauIDSources=_tauIDSourcesWithAntiE
648 patTauMVAIDsSeq += slimmedTausUpdated
Updated tau collection with MVA-based tau-Ids rerun ####### Used only in some eras.