File indexing completed on 2024-04-06 12:25:08
0001 import FWCore.ParameterSet.Config as cms
0002 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_tools import *
0003 from os import path
0004
0005
0006
0007
0008 mvaTag = "RunIIIWinter22NoIsoV1"
0009
0010 weightFileDir = "RecoEgamma/ElectronIdentification/data/MVAWeightFiles/Winter22NoIsoV1"
0011
0012 mvaWeightFiles = cms.vstring(
0013 path.join(weightFileDir, "EB1_5.weights.root"),
0014 path.join(weightFileDir, "EB2_5.weights.root"),
0015 path.join(weightFileDir, "EE_5.weights.root"),
0016 path.join(weightFileDir, "EB1_10.weights.root"),
0017 path.join(weightFileDir, "EB2_10.weights.root"),
0018 path.join(weightFileDir, "EE_10.weights.root"),
0019 )
0020
0021 mvaEleID_RunIIIWinter22_noIso_V1_wp80_container = EleMVA_WP(
0022 idName = "mvaEleID-RunIIIWinter22-noIso-V1-wp80", mvaTag = mvaTag,
0023 cutCategory0 = "0.9806578295496566",
0024 cutCategory1 = "0.9413641904670094",
0025 cutCategory2 = "0.89762967983679642",
0026 cutCategory3 = "0.9997826058686308",
0027 cutCategory4 = "0.9993177946586951",
0028 cutCategory5 = "0.99712023523348758",
0029 )
0030
0031
0032
0033 mvaEleID_RunIIIWinter22_noIso_V1_wp90_container = EleMVA_WP(
0034 idName = "mvaEleID-RunIIIWinter22-noIso-V1-wp90", mvaTag = mvaTag,
0035 cutCategory0 = "0.8774784815007495",
0036 cutCategory1 = "0.6755302215938275",
0037 cutCategory2 = "0.4195020250389494",
0038 cutCategory3 = "0.9981164732135666",
0039 cutCategory4 = "0.9926206339419237",
0040 cutCategory5 = "0.96553633326857091",
0041 )
0042
0043 workingPoints = dict(
0044 wp80 = mvaEleID_RunIIIWinter22_noIso_V1_wp80_container,
0045 wp90 = mvaEleID_RunIIIWinter22_noIso_V1_wp90_container
0046 )
0047
0048 mvaEleID_RunIIIWinter22_noIso_V1_producer_config = cms.PSet(
0049 mvaName = cms.string(mvaClassName),
0050 mvaTag = cms.string(mvaTag),
0051 nCategories = cms.int32(6),
0052 categoryCuts = cms.vstring(*EleMVA_6CategoriesCuts),
0053 weightFileNames = mvaWeightFiles,
0054 variableDefinition = cms.string(mvaVariablesFileRun3NonIso)
0055 )
0056
0057 mvaEleID_RunIIIWinter22_noIso_V1_wp80 = configureVIDMVAEleID( mvaEleID_RunIIIWinter22_noIso_V1_wp80_container )
0058 mvaEleID_RunIIIWinter22_noIso_V1_wp90 = configureVIDMVAEleID( mvaEleID_RunIIIWinter22_noIso_V1_wp90_container )
0059
0060 mvaEleID_RunIIIWinter22_noIso_V1_wp80.isPOGApproved = cms.untracked.bool(True)
0061 mvaEleID_RunIIIWinter22_noIso_V1_wp90.isPOGApproved = cms.untracked.bool(True)