1 import FWCore.ParameterSet.Config
as cms
3 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
8 heepElectronID_HEEPV50 = cms.PSet(
9 idName = cms.string(
"heepElectronID-HEEPV50"),
11 cms.PSet( cutName = cms.string(
"MinPtCut"),
12 minPt = cms.double(35.0),
13 needsAdditionalProducts = cms.bool(
False),
14 isIgnored = cms.bool(
False) ),
15 cms.PSet( cutName = cms.string(
"GsfEleSCEtaMultiRangeCut"),
16 useAbsEta = cms.bool(
True),
17 allowedEtaRanges = cms.VPSet(
18 cms.PSet( minEta = cms.double(0.0),
19 maxEta = cms.double(ebMax) ),
20 cms.PSet( minEta = cms.double(eeMin),
21 maxEta = cms.double(2.5) )
23 needsAdditionalProducts = cms.bool(
False),
24 isIgnored = cms.bool(
False)),
25 cms.PSet( cutName = cms.string(
'GsfEleDEtaInLinearCut'),
26 constTermEB = cms.double(0.016),
27 constTermEE = cms.double(0),
28 slopeTermEB = cms.double(-1E-4),
29 slopeTermEE = cms.double(0),
30 minValueEB = cms.double(0.004),
31 minValueEE = cms.double(0.02),
32 needsAdditionalProducts = cms.bool(
False),
33 isIgnored = cms.bool(
False)),
34 cms.PSet( cutName = cms.string(
'GsfEleDPhiInCut'),
35 dPhiInCutValueEB = cms.double(0.06),
36 dPhiInCutValueEE = cms.double(0.15),
37 barrelCutOff = cms.double(ebCutOff),
38 needsAdditionalProducts = cms.bool(
False),
39 isIgnored = cms.bool(
False)),
40 cms.PSet( cutName = cms.string(
'GsfEleFull5x5SigmaIEtaIEtaCut'),
41 full5x5SigmaIEtaIEtaCutValueEB = cms.double(9999),
42 full5x5SigmaIEtaIEtaCutValueEE = cms.double(0.03),
43 barrelCutOff = cms.double(ebCutOff),
44 needsAdditionalProducts = cms.bool(
False),
45 isIgnored = cms.bool(
False)),
46 cms.PSet( cutName = cms.string(
'GsfEleFull5x5E2x5OverE5x5Cut'),
47 minE1x5OverE5x5EB = cms.double(0.83),
48 minE1x5OverE5x5EE = cms.double(-1),
49 minE2x5OverE5x5EB = cms.double(0.94),
50 minE2x5OverE5x5EE = cms.double(-1),
51 needsAdditionalProducts = cms.bool(
False),
52 isIgnored = cms.bool(
False)),
53 cms.PSet( cutName = cms.string(
'GsfEleHadronicOverEMLinearCut'),
54 slopeTermEB = cms.double(0.05),
55 slopeTermEE = cms.double(0.05),
56 slopeStartEB = cms.double(0),
57 slopeStartEE = cms.double(0),
58 constTermEB = cms.double(2),
59 constTermEE = cms.double(12.5),
60 needsAdditionalProducts = cms.bool(
False),
61 isIgnored = cms.bool(
False)),
62 cms.PSet( cutName = cms.string(
'GsfEleTrkPtIsoCut'),
63 slopeTermEB = cms.double(0),
64 slopeTermEE = cms.double(0),
65 slopeStartEB = cms.double(0),
66 slopeStartEE = cms.double(0),
67 constTermEB = cms.double(5),
68 constTermEE = cms.double(5),
69 needsAdditionalProducts = cms.bool(
False),
70 isIgnored = cms.bool(
False)),
71 cms.PSet( cutName = cms.string(
'GsfEleEmHadD1IsoRhoCut'),
72 slopeTermEB = cms.double(0.03),
73 slopeTermEE = cms.double(0.03),
74 slopeStartEB = cms.double(0),
75 slopeStartEE = cms.double(50),
76 constTermEB = cms.double(2),
77 constTermEE = cms.double(2.5),
78 rhoConstant = cms.double(0.28),
79 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
80 needsAdditionalProducts = cms.bool(
True),
81 isIgnored = cms.bool(
False)),
82 cms.PSet( cutName = cms.string(
'GsfEleDxyCut'),
83 dxyCutValueEB = cms.double(0.02),
84 dxyCutValueEE = cms.double(0.05),
85 vertexSrc = cms.InputTag(
"offlinePrimaryVertices"),
86 vertexSrcMiniAOD = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
87 barrelCutOff = cms.double(ebCutOff),
88 needsAdditionalProducts = cms.bool(
True),
89 isIgnored = cms.bool(
False)),
90 cms.PSet( cutName = cms.string(
'GsfEleMissingHitsCut'),
91 maxMissingHitsEB = cms.uint32(1),
92 maxMissingHitsEE = cms.uint32(1),
93 barrelCutOff = cms.double(ebCutOff),
94 needsAdditionalProducts = cms.bool(
False),
95 isIgnored = cms.bool(
False))
100 central_id_registry.register(heepElectronID_HEEPV50.idName,
"f570b069abcfe143c1c8db6d06f16cd6")