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_V5,
0008 configureVIDCutBasedEleID_V5 )
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 idName = "cutBasedElectronID-RunIIIWinter22-V1-veto"
0020 WP_Veto_EB = EleWorkingPoint_V5(
0021 idName = idName ,
0022 full5x5_sigmaIEtaIEtaCut = 0.0117 ,
0023 dEtaInSeedCut = 0.0071 ,
0024 dPhiInCut = 0.208 ,
0025 hOverECut_C0 = 0.05 ,
0026 hOverECut_CE = 1.28 ,
0027 hOverECut_Cr = 0.0422 ,
0028 relCombIsolationWithEACut_C0 = 0.406 ,
0029 relCombIsolationWithEACut_Cpt = 0.535 ,
0030 absEInverseMinusPInverseCut = 0.178 ,
0031
0032 missingHitsCut = 2
0033 )
0034
0035 WP_Veto_EE = EleWorkingPoint_V5(
0036 idName = idName ,
0037 full5x5_sigmaIEtaIEtaCut = 0.0298 ,
0038 dEtaInSeedCut = 0.0173 ,
0039 dPhiInCut = 0.234 ,
0040 hOverECut_C0 = 0.05 ,
0041 hOverECut_CE = 2.3 ,
0042 hOverECut_Cr = 0.262 ,
0043 relCombIsolationWithEACut_C0 = 0.342 ,
0044 relCombIsolationWithEACut_Cpt = 0.519 ,
0045 absEInverseMinusPInverseCut = 0.137 ,
0046
0047 missingHitsCut = 3
0048 )
0049
0050
0051 idName = "cutBasedElectronID-RunIIIWinter22-V1-loose"
0052 WP_Loose_EB = EleWorkingPoint_V5(
0053 idName = idName ,
0054 full5x5_sigmaIEtaIEtaCut = 0.0107 ,
0055 dEtaInSeedCut = 0.00691 ,
0056 dPhiInCut = 0.175 ,
0057 hOverECut_C0 = 0.05 ,
0058 hOverECut_CE = 1.28 ,
0059 hOverECut_Cr = 0.0422 ,
0060 relCombIsolationWithEACut_C0 = 0.194 ,
0061 relCombIsolationWithEACut_Cpt = 0.535 ,
0062 absEInverseMinusPInverseCut = 0.138 ,
0063
0064 missingHitsCut = 1
0065 )
0066
0067 WP_Loose_EE = EleWorkingPoint_V5(
0068 idName = idName ,
0069 full5x5_sigmaIEtaIEtaCut = 0.0275 ,
0070 dEtaInSeedCut = 0.0121 ,
0071 dPhiInCut = 0.228 ,
0072 hOverECut_C0 = 0.05 ,
0073 hOverECut_CE = 2.3 ,
0074 hOverECut_Cr = 0.262 ,
0075 relCombIsolationWithEACut_C0 = 0.184 ,
0076 relCombIsolationWithEACut_Cpt = 0.519 ,
0077 absEInverseMinusPInverseCut = 0.127 ,
0078
0079 missingHitsCut = 1
0080 )
0081
0082
0083 idName = "cutBasedElectronID-RunIIIWinter22-V1-medium"
0084 WP_Medium_EB = EleWorkingPoint_V5(
0085 idName = idName ,
0086 full5x5_sigmaIEtaIEtaCut = 0.0103 ,
0087 dEtaInSeedCut = 0.00481 ,
0088 dPhiInCut = 0.127 ,
0089 hOverECut_C0 = 0.0241 ,
0090 hOverECut_CE = 1.28 ,
0091 hOverECut_Cr = 0.0422 ,
0092 relCombIsolationWithEACut_C0 = 0.0837 ,
0093 relCombIsolationWithEACut_Cpt = 0.535 ,
0094 absEInverseMinusPInverseCut = 0.0966 ,
0095
0096 missingHitsCut = 1
0097 )
0098
0099 WP_Medium_EE = EleWorkingPoint_V5(
0100 idName = idName ,
0101 full5x5_sigmaIEtaIEtaCut = 0.0272 ,
0102 dEtaInSeedCut = 0.00951 ,
0103 dPhiInCut = 0.221 ,
0104 hOverECut_C0 = 0.05 ,
0105 hOverECut_CE = 2.3 ,
0106 hOverECut_Cr = 0.262 ,
0107 relCombIsolationWithEACut_C0 = 0.0741 ,
0108 relCombIsolationWithEACut_Cpt = 0.519 ,
0109 absEInverseMinusPInverseCut = 0.111 ,
0110
0111 missingHitsCut = 1
0112 )
0113
0114
0115 idName = "cutBasedElectronID-RunIIIWinter22-V1-tight"
0116 WP_Tight_EB = EleWorkingPoint_V5(
0117 idName = idName ,
0118 full5x5_sigmaIEtaIEtaCut = 0.0101 ,
0119 dEtaInSeedCut = 0.00411 ,
0120 dPhiInCut = 0.116 ,
0121 hOverECut_C0 = 0.02 ,
0122 hOverECut_CE = 1.16 ,
0123 hOverECut_Cr = 0.0422 ,
0124 relCombIsolationWithEACut_C0 = 0.0388 ,
0125 relCombIsolationWithEACut_Cpt = 0.535 ,
0126 absEInverseMinusPInverseCut = 0.023 ,
0127
0128 missingHitsCut = 1
0129 )
0130
0131 WP_Tight_EE = EleWorkingPoint_V5(
0132 idName = idName ,
0133 full5x5_sigmaIEtaIEtaCut = 0.027 ,
0134 dEtaInSeedCut = 0.00938 ,
0135 dPhiInCut = 0.164 ,
0136 hOverECut_C0 = 0.02 ,
0137 hOverECut_CE = 0.5 ,
0138 hOverECut_Cr = 0.262 ,
0139 relCombIsolationWithEACut_C0 = 0.0544 ,
0140 relCombIsolationWithEACut_Cpt = 0.519 ,
0141 absEInverseMinusPInverseCut = 0.018 ,
0142
0143 missingHitsCut = 1
0144 )
0145
0146
0147
0148 isoEffAreas = "RecoEgamma/ElectronIdentification/data/Run3_Winter22/effAreaElectrons_cone03_pfNeuHadronsAndPhotons_122X.txt"
0149
0150
0151
0152 cutBasedElectronID_RunIIIWinter22_V1_veto = configureVIDCutBasedEleID_V5(WP_Veto_EB, WP_Veto_EE, isoEffAreas)
0153 cutBasedElectronID_RunIIIWinter22_V1_loose = configureVIDCutBasedEleID_V5(WP_Loose_EB, WP_Loose_EE, isoEffAreas)
0154 cutBasedElectronID_RunIIIWinter22_V1_medium = configureVIDCutBasedEleID_V5(WP_Medium_EB, WP_Medium_EE, isoEffAreas)
0155 cutBasedElectronID_RunIIIWinter22_V1_tight = configureVIDCutBasedEleID_V5(WP_Tight_EB, WP_Tight_EE, isoEffAreas)
0156
0157
0158
0159
0160
0161
0162
0163 central_id_registry.register(cutBasedElectronID_RunIIIWinter22_V1_veto.idName, '04d495d199252c2017d5019ae8b478a7d8aebc79')
0164 central_id_registry.register(cutBasedElectronID_RunIIIWinter22_V1_loose.idName, '648b0cc1957047ffe3f027111389dcf5aa941edc')
0165 central_id_registry.register(cutBasedElectronID_RunIIIWinter22_V1_medium.idName, '2626edc1ad1dc1673c0713c557df78f3e90a66f5')
0166 central_id_registry.register(cutBasedElectronID_RunIIIWinter22_V1_tight.idName, '2331bfa0b099f80090aa1d48df03b7a134cf788e')
0167
0168
0169 cutBasedElectronID_RunIIIWinter22_V1_veto.isPOGApproved = cms.untracked.bool(True)
0170 cutBasedElectronID_RunIIIWinter22_V1_loose.isPOGApproved = cms.untracked.bool(True)
0171 cutBasedElectronID_RunIIIWinter22_V1_medium.isPOGApproved = cms.untracked.bool(True)
0172 cutBasedElectronID_RunIIIWinter22_V1_tight.isPOGApproved = cms.untracked.bool(True)
0173