File indexing completed on 2024-04-06 12:25:08
0001 from PhysicsTools.SelectorUtils.centralIDRegistry import central_id_registry
0002 from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_tools import *
0003 import FWCore.ParameterSet.Config as cms
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 mvaTag = "Spring15Trig50nsV1"
0020
0021
0022
0023
0024
0025
0026
0027 mvaSpring15TrigWeightFiles_V1 = cms.vstring(
0028 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EB1_10_oldTrigSpring15_50ns_data_1_VarD_TMVA412_Sig6BkgAll_MG_noSpec_BDT.weights.xml.gz",
0029 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EB2_10_oldTrigSpring15_50ns_data_1_VarD_TMVA412_Sig6BkgAll_MG_noSpec_BDT.weights.xml.gz",
0030 "RecoEgamma/ElectronIdentification/data/Spring15/EIDmva_EE_10_oldTrigSpring15_50ns_data_1_VarD_TMVA412_Sig6BkgAll_MG_noSpec_BDT.weights.xml.gz"
0031 )
0032
0033
0034
0035 idName90 = "mvaEleID-Spring15-50ns-Trig-V1-wp90"
0036 MVA_WP90 = EleMVA_WP(
0037 idName = idName90, mvaTag = mvaTag,
0038 cutCategory0 = "0.953843",
0039 cutCategory1 = "0.849994",
0040 cutCategory2 = "0.514118"
0041 )
0042
0043 idName80 = "mvaEleID-Spring15-50ns-Trig-V1-wp80"
0044 MVA_WP80 = EleMVA_WP(
0045 idName = idName80, mvaTag = mvaTag,
0046 cutCategory0 = "0.981841",
0047 cutCategory1 = "0.946762",
0048 cutCategory2 = "0.79704"
0049 )
0050
0051
0052
0053
0054
0055
0056 mvaEleID_Spring15_50ns_Trig_V1_producer_config = cms.PSet(
0057 mvaName = cms.string(mvaClassName),
0058 mvaTag = cms.string(mvaTag),
0059
0060 nCategories = cms.int32(3),
0061 categoryCuts = cms.vstring(*EleMVA_3CategoriesCuts),
0062
0063 weightFileNames = mvaSpring15TrigWeightFiles_V1,
0064 variableDefinition = cms.string(mvaVariablesFile)
0065 )
0066
0067 mvaEleID_Spring15_50ns_Trig_V1_wp90 = configureVIDMVAEleID( MVA_WP90 )
0068 mvaEleID_Spring15_50ns_Trig_V1_wp80 = configureVIDMVAEleID( MVA_WP80 )
0069
0070
0071
0072
0073
0074
0075
0076
0077 central_id_registry.register(mvaEleID_Spring15_50ns_Trig_V1_wp90.idName,
0078 'b2c90992b008ddca2daf74fe578e7e1b')
0079 central_id_registry.register(mvaEleID_Spring15_50ns_Trig_V1_wp80.idName,
0080 'e9127ba0788d88aa64abe68b13749519')
0081
0082 mvaEleID_Spring15_50ns_Trig_V1_wp90.isPOGApproved = cms.untracked.bool(True)
0083 mvaEleID_Spring15_50ns_Trig_V1_wp80.isPOGApproved = cms.untracked.bool(True)