File indexing completed on 2024-04-06 12:25:07
0001 from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry
0002
0003 import FWCore.ParameterSet.Config as cms
0004
0005
0006 from RecoEgamma.ElectronIdentification.Identification.cutBasedElectronID_tools \
0007 import ( EleWorkingPoint_V3,
0008 configureVIDCutBasedEleID_V3 )
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 idName = "cutBasedElectronID-Summer16-80X-V1-veto"
0024 WP_Veto_EB = EleWorkingPoint_V3(
0025 idName = idName ,
0026 full5x5_sigmaIEtaIEtaCut = 0.0115 ,
0027 dEtaInSeedCut = 0.00749 ,
0028 dPhiInCut = 0.228 ,
0029 hOverECut = 0.356 ,
0030 relCombIsolationWithEALowPtCut = 0.175 ,
0031 relCombIsolationWithEAHighPtCut= 0.175 ,
0032 absEInverseMinusPInverseCut = 0.299 ,
0033
0034 missingHitsCut = 2
0035 )
0036
0037 WP_Veto_EE = EleWorkingPoint_V3(
0038 idName = idName ,
0039 full5x5_sigmaIEtaIEtaCut = 0.0370 ,
0040 dEtaInSeedCut = 0.00895 ,
0041 dPhiInCut = 0.213 ,
0042 hOverECut = 0.211 ,
0043 relCombIsolationWithEALowPtCut = 0.159 ,
0044 relCombIsolationWithEAHighPtCut= 0.159 ,
0045 absEInverseMinusPInverseCut = 0.150 ,
0046
0047 missingHitsCut = 3
0048 )
0049
0050
0051 idName = "cutBasedElectronID-Summer16-80X-V1-loose"
0052 WP_Loose_EB = EleWorkingPoint_V3(
0053 idName = idName ,
0054 full5x5_sigmaIEtaIEtaCut = 0.0110 ,
0055 dEtaInSeedCut = 0.00477 ,
0056 dPhiInCut = 0.222 ,
0057 hOverECut = 0.298 ,
0058 relCombIsolationWithEALowPtCut = 0.0994 ,
0059 relCombIsolationWithEAHighPtCut= 0.0994 ,
0060 absEInverseMinusPInverseCut = 0.241 ,
0061
0062 missingHitsCut = 1
0063 )
0064
0065 WP_Loose_EE = EleWorkingPoint_V3(
0066 idName = idName ,
0067 full5x5_sigmaIEtaIEtaCut = 0.0314 ,
0068 dEtaInSeedCut = 0.00868 ,
0069 dPhiInCut = 0.213 ,
0070 hOverECut = 0.101 ,
0071 relCombIsolationWithEALowPtCut = 0.107 ,
0072 relCombIsolationWithEAHighPtCut= 0.107 ,
0073 absEInverseMinusPInverseCut = 0.140 ,
0074
0075 missingHitsCut = 1
0076 )
0077
0078
0079 idName = "cutBasedElectronID-Summer16-80X-V1-medium"
0080 WP_Medium_EB = EleWorkingPoint_V3(
0081 idName = idName ,
0082 full5x5_sigmaIEtaIEtaCut = 0.00998,
0083 dEtaInSeedCut = 0.00311,
0084 dPhiInCut = 0.103 ,
0085 hOverECut = 0.253 ,
0086 relCombIsolationWithEALowPtCut = 0.0695 ,
0087 relCombIsolationWithEAHighPtCut= 0.0695 ,
0088 absEInverseMinusPInverseCut = 0.134 ,
0089
0090 missingHitsCut = 1
0091 )
0092
0093 WP_Medium_EE = EleWorkingPoint_V3(
0094 idName = idName ,
0095 full5x5_sigmaIEtaIEtaCut = 0.0298 ,
0096 dEtaInSeedCut = 0.00609 ,
0097 dPhiInCut = 0.0450 ,
0098 hOverECut = 0.0878 ,
0099 relCombIsolationWithEALowPtCut = 0.0821 ,
0100 relCombIsolationWithEAHighPtCut= 0.0821 ,
0101 absEInverseMinusPInverseCut = 0.130 ,
0102
0103 missingHitsCut = 1
0104 )
0105
0106
0107 idName = "cutBasedElectronID-Summer16-80X-V1-tight"
0108 WP_Tight_EB = EleWorkingPoint_V3(
0109 idName = idName ,
0110 full5x5_sigmaIEtaIEtaCut = 0.00998 ,
0111 dEtaInSeedCut = 0.00308 ,
0112 dPhiInCut = 0.0816 ,
0113 hOverECut = 0.0414 ,
0114 relCombIsolationWithEALowPtCut = 0.0588 ,
0115 relCombIsolationWithEAHighPtCut= 0.0588 ,
0116 absEInverseMinusPInverseCut = 0.0129 ,
0117
0118 missingHitsCut = 1
0119 )
0120
0121 WP_Tight_EE = EleWorkingPoint_V3(
0122 idName = idName ,
0123 full5x5_sigmaIEtaIEtaCut = 0.0292 ,
0124 dEtaInSeedCut = 0.00605 ,
0125 dPhiInCut = 0.0394 ,
0126 hOverECut = 0.0641 ,
0127 relCombIsolationWithEALowPtCut = 0.0571 ,
0128 relCombIsolationWithEAHighPtCut= 0.0571 ,
0129 absEInverseMinusPInverseCut = 0.0129 ,
0130
0131 missingHitsCut = 1
0132 )
0133
0134
0135 isoEffAreas = "RecoEgamma/ElectronIdentification/data/Summer16/effAreaElectrons_cone03_pfNeuHadronsAndPhotons_80X.txt"
0136
0137
0138
0139
0140
0141
0142 cutBasedElectronID_Summer16_80X_V1_veto = configureVIDCutBasedEleID_V3(WP_Veto_EB, WP_Veto_EE, isoEffAreas)
0143 cutBasedElectronID_Summer16_80X_V1_loose = configureVIDCutBasedEleID_V3(WP_Loose_EB, WP_Loose_EE, isoEffAreas)
0144 cutBasedElectronID_Summer16_80X_V1_medium = configureVIDCutBasedEleID_V3(WP_Medium_EB, WP_Medium_EE, isoEffAreas)
0145 cutBasedElectronID_Summer16_80X_V1_tight = configureVIDCutBasedEleID_V3(WP_Tight_EB, WP_Tight_EE, isoEffAreas)
0146
0147
0148
0149
0150
0151
0152
0153
0154
0155 central_id_registry.register(cutBasedElectronID_Summer16_80X_V1_veto.idName,
0156 '0025c1841da1ab64a08d703ded72409b')
0157 central_id_registry.register(cutBasedElectronID_Summer16_80X_V1_loose.idName,
0158 'c1c4c739f1ba0791d40168c123183475')
0159 central_id_registry.register(cutBasedElectronID_Summer16_80X_V1_medium.idName,
0160 '71b43f74a27d2fd3d27416afd22e8692')
0161 central_id_registry.register(cutBasedElectronID_Summer16_80X_V1_tight.idName,
0162 'ca2a9db2976d80ba2c13f9bfccdc32f2')
0163
0164
0165
0166 cutBasedElectronID_Summer16_80X_V1_veto.isPOGApproved = cms.untracked.bool(True)
0167 cutBasedElectronID_Summer16_80X_V1_loose.isPOGApproved = cms.untracked.bool(True)
0168 cutBasedElectronID_Summer16_80X_V1_medium.isPOGApproved = cms.untracked.bool(True)
0169 cutBasedElectronID_Summer16_80X_V1_tight.isPOGApproved = cms.untracked.bool(True)