File indexing completed on 2024-04-06 12:25:07
0001 from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry
0002
0003
0004 from RecoEgamma.ElectronIdentification.Identification.cutBasedElectronID_tools import *
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 idName = "cutBasedElectronID-Spring15-25ns-V1-standalone-veto"
0022 WP_Veto_EB = EleWorkingPoint_V2(
0023 idName ,
0024 0.0152 ,
0025 0.216 ,
0026 0.0114 ,
0027 0.181 ,
0028 0.0564 ,
0029 0.472 ,
0030 0.207 ,
0031 0.126 ,
0032 0.126 ,
0033
0034 2
0035 )
0036
0037 WP_Veto_EE = EleWorkingPoint_V2(
0038 idName ,
0039 0.0113 ,
0040 0.237 ,
0041 0.0352 ,
0042 0.116 ,
0043 0.222 ,
0044 0.921 ,
0045 0.174 ,
0046 0.144 ,
0047 0.144 ,
0048
0049 3
0050 )
0051
0052
0053 idName = "cutBasedElectronID-Spring15-25ns-V1-standalone-loose"
0054 WP_Loose_EB = EleWorkingPoint_V2(
0055 idName ,
0056 0.0105 ,
0057 0.115 ,
0058 0.0103 ,
0059 0.104 ,
0060 0.0261 ,
0061 0.41 ,
0062 0.102 ,
0063 0.0893 ,
0064 0.0893 ,
0065
0066 2
0067 )
0068
0069 WP_Loose_EE = EleWorkingPoint_V2(
0070 idName ,
0071 0.00814 ,
0072 0.182 ,
0073 0.0301 ,
0074 0.0897 ,
0075 0.118 ,
0076 0.822 ,
0077 0.126 ,
0078 0.121 ,
0079 0.121 ,
0080
0081 1
0082 )
0083
0084
0085 idName = "cutBasedElectronID-Spring15-25ns-V1-standalone-medium"
0086 WP_Medium_EB = EleWorkingPoint_V2(
0087 idName ,
0088 0.0103 ,
0089 0.0336 ,
0090 0.0101 ,
0091 0.0876 ,
0092 0.0118 ,
0093 0.373 ,
0094 0.0174 ,
0095 0.0766 ,
0096 0.0766 ,
0097
0098 2
0099 )
0100
0101 WP_Medium_EE = EleWorkingPoint_V2(
0102 idName ,
0103 0.00733 ,
0104 0.114 ,
0105 0.0283 ,
0106 0.0678 ,
0107 0.0739 ,
0108 0.602 ,
0109 0.0898 ,
0110 0.0678 ,
0111 0.0678 ,
0112
0113 1
0114 )
0115
0116
0117 idName = "cutBasedElectronID-Spring15-25ns-V1-standalone-tight"
0118 WP_Tight_EB = EleWorkingPoint_V2(
0119 idName ,
0120 0.00926 ,
0121 0.0336 ,
0122 0.0101 ,
0123 0.0597 ,
0124 0.0111 ,
0125 0.0466 ,
0126 0.012 ,
0127 0.0354 ,
0128 0.0354 ,
0129
0130 2
0131 )
0132
0133 WP_Tight_EE = EleWorkingPoint_V2(
0134 idName ,
0135 0.00724 ,
0136 0.0918 ,
0137 0.0279 ,
0138 0.0615 ,
0139 0.0351 ,
0140 0.417 ,
0141 0.00999 ,
0142 0.0646 ,
0143 0.0646 ,
0144
0145 1
0146 )
0147
0148
0149 isoEffAreas = "RecoEgamma/ElectronIdentification/data/Spring15/effAreaElectrons_cone03_pfNeuHadronsAndPhotons_25ns.txt"
0150
0151
0152
0153
0154
0155
0156 cutBasedElectronID_Spring15_25ns_V1_standalone_veto = configureVIDCutBasedEleID_V2(WP_Veto_EB, WP_Veto_EE, isoEffAreas)
0157 cutBasedElectronID_Spring15_25ns_V1_standalone_loose = configureVIDCutBasedEleID_V2(WP_Loose_EB, WP_Loose_EE, isoEffAreas)
0158 cutBasedElectronID_Spring15_25ns_V1_standalone_medium = configureVIDCutBasedEleID_V2(WP_Medium_EB, WP_Medium_EE, isoEffAreas)
0159 cutBasedElectronID_Spring15_25ns_V1_standalone_tight = configureVIDCutBasedEleID_V2(WP_Tight_EB, WP_Tight_EE, isoEffAreas)
0160
0161
0162
0163
0164
0165
0166
0167
0168
0169 central_id_registry.register(cutBasedElectronID_Spring15_25ns_V1_standalone_veto.idName,
0170 '202030579ee3eec90fdc2d236ba3de7e')
0171 central_id_registry.register(cutBasedElectronID_Spring15_25ns_V1_standalone_loose.idName,
0172 '4fab9e4d09a2c1a36cbbd2279deb3627')
0173 central_id_registry.register(cutBasedElectronID_Spring15_25ns_V1_standalone_medium.idName,
0174 'aa291aba714c148fcba156544907c440')
0175 central_id_registry.register(cutBasedElectronID_Spring15_25ns_V1_standalone_tight.idName,
0176 '4e13b87c0573d3c8ebf91d446fa1d90f')
0177
0178
0179
0180 cutBasedElectronID_Spring15_25ns_V1_standalone_veto.isPOGApproved = cms.untracked.bool(True)
0181 cutBasedElectronID_Spring15_25ns_V1_standalone_loose.isPOGApproved = cms.untracked.bool(True)
0182 cutBasedElectronID_Spring15_25ns_V1_standalone_medium.isPOGApproved = cms.untracked.bool(True)
0183 cutBasedElectronID_Spring15_25ns_V1_standalone_tight.isPOGApproved = cms.untracked.bool(True)