15 This is a container class to hold numerical cut values for either
16 the barrel or endcap set of cuts
22 full5x5SigmaIEtaIEtaCut,
78 cutName = cms.string(
"MinPtCut"),
79 minPt = cms.double(35.0),
80 needsAdditionalProducts = cms.bool(
False),
81 isIgnored = cms.bool(
False)
87 cutName = cms.string(
"GsfEleSCEtaMultiRangeCut"),
88 useAbsEta = cms.bool(
True),
89 allowedEtaRanges = cms.VPSet(
90 cms.PSet( minEta = cms.double(0.0),
91 maxEta = cms.double(ebMax) ),
92 cms.PSet( minEta = cms.double(eeMin),
93 maxEta = cms.double(2.5) )
95 needsAdditionalProducts = cms.bool(
False),
96 isIgnored = cms.bool(
False)
102 cutName = cms.string(
'GsfEleDEtaInSeedCut'),
103 dEtaInSeedCutValueEB = cms.double( wpEB.dEtaInSeedCut ),
104 dEtaInSeedCutValueEE = cms.double( wpEE.dEtaInSeedCut ),
105 barrelCutOff = cms.double(ebCutOff),
106 needsAdditionalProducts = cms.bool(
False),
107 isIgnored = cms.bool(
False)
113 cutName = cms.string(
'GsfEleDPhiInCut'),
114 dPhiInCutValueEB = cms.double( wpEB.dPhiInCut ),
115 dPhiInCutValueEE = cms.double( wpEE.dPhiInCut ),
116 barrelCutOff = cms.double(ebCutOff),
117 needsAdditionalProducts = cms.bool(
False),
118 isIgnored = cms.bool(
False)
124 cutName = cms.string(
'GsfEleFull5x5SigmaIEtaIEtaCut'),
125 full5x5SigmaIEtaIEtaCutValueEB = cms.double( wpEB.full5x5SigmaIEtaIEtaCut ),
126 full5x5SigmaIEtaIEtaCutValueEE = cms.double( wpEE.full5x5SigmaIEtaIEtaCut ),
127 barrelCutOff = cms.double(ebCutOff),
128 needsAdditionalProducts = cms.bool(
False),
129 isIgnored = cms.bool(
False)
135 cutName = cms.string(
'GsfEleFull5x5E2x5OverE5x5Cut'),
137 minE1x5OverE5x5EB = cms.double( wpEB.minE1x5OverE5x5Cut ),
138 minE1x5OverE5x5EE = cms.double( wpEE.minE1x5OverE5x5Cut ),
140 minE2x5OverE5x5EB = cms.double( wpEB.minE2x5OverE5x5Cut ),
141 minE2x5OverE5x5EE = cms.double( wpEE.minE2x5OverE5x5Cut ),
142 needsAdditionalProducts = cms.bool(
False),
143 isIgnored = cms.bool(
False)
149 cutName = cms.string(
'GsfEleHadronicOverEMLinearCut'),
153 slopeTermEB = cms.double( wpEB.hOverESlopeTerm ),
154 slopeTermEE = cms.double( wpEE.hOverESlopeTerm ),
155 slopeStartEB = cms.double( wpEB.hOverESlopeStart ),
156 slopeStartEE = cms.double( wpEE.hOverESlopeStart ),
157 constTermEB = cms.double( wpEB.hOverEConstTerm ),
158 constTermEE = cms.double( wpEE.hOverEConstTerm ),
159 needsAdditionalProducts = cms.bool(
False),
160 isIgnored = cms.bool(
False)
166 cutName = cms.string(
'GsfEleTrkPtIsoCut'),
170 slopeTermEB = cms.double( wpEB.trkIsoSlopeTerm ),
171 slopeTermEE = cms.double( wpEE.trkIsoSlopeTerm ),
172 slopeStartEB = cms.double( wpEB.trkIsoSlopeStart ),
173 slopeStartEE = cms.double( wpEE.trkIsoSlopeStart ),
174 constTermEB = cms.double( wpEB.trkIsoConstTerm ),
175 constTermEE = cms.double( wpEE.trkIsoConstTerm ),
176 needsAdditionalProducts = cms.bool(
False),
177 isIgnored = cms.bool(
False)
183 cutName = cms.string(
'GsfEleEmHadD1IsoRhoCut'),
184 slopeTermEB = cms.double( wpEB.ehIsoSlopeTerm ),
185 slopeTermEE = cms.double( wpEE.ehIsoSlopeTerm ),
186 slopeStartEB = cms.double( wpEB.ehIsoSlopeStart ),
187 slopeStartEE = cms.double( wpEE.ehIsoSlopeStart ),
188 constTermEB = cms.double( wpEB.ehIsoConstTerm ),
189 constTermEE = cms.double( wpEE.ehIsoConstTerm ),
190 rhoConstant = cms.double( wpEB.effAreaForEHIso),
191 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
192 needsAdditionalProducts = cms.bool(
True),
193 isIgnored = cms.bool(
False)
199 cutName = cms.string(
'GsfEleDxyCut'),
200 dxyCutValueEB = cms.double( wpEB.dxyCut ),
201 dxyCutValueEE = cms.double( wpEE.dxyCut ),
202 vertexSrc = cms.InputTag(
"offlinePrimaryVertices"),
203 vertexSrcMiniAOD = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
204 barrelCutOff = cms.double(ebCutOff),
205 needsAdditionalProducts = cms.bool(
True),
206 isIgnored = cms.bool(
False)
212 cutName = cms.string(
'GsfEleMissingHitsCut'),
213 maxMissingHitsEB = cms.uint32( wpEB.maxMissingHitsCut ),
214 maxMissingHitsEE = cms.uint32( wpEE.maxMissingHitsCut ),
215 barrelCutOff = cms.double(ebCutOff),
216 needsAdditionalProducts = cms.bool(
False),
217 isIgnored = cms.bool(
False)
221 cutName = cms.string(
'GsfEleEcalDrivenCut'),
222 ecalDrivenEB = cms.int32( wpEB.ecalDrivenCut ),
223 ecalDrivenEE = cms.int32( wpEE.ecalDrivenCut ),
224 barrelCutOff = cms.double(ebCutOff),
225 needsAdditionalProducts = cms.bool(
False),
226 isIgnored = cms.bool(
False)
235 This function configures the full cms.PSet for a VID ID and returns it.
236 The inputs: two objects of the type HEEP_WorkingPoint_V1, one
237 containing the cuts for the Barrel (EB) and the other one for the Endcap (EE).
239 parameterSet = cms.PSet(
240 idName = cms.string(
"heepElectronID-HEEPV51"),