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
0020
0021
0022 mvaTag = "Spring16HZZV1"
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 mvaSpring16WeightFiles_V1 = cms.vstring(
0034 "RecoEgamma/ElectronIdentification/data/Spring16_HZZ_V1/electronID_mva_Spring16_HZZ_V1_EB1_5.weights.root",
0035 "RecoEgamma/ElectronIdentification/data/Spring16_HZZ_V1/electronID_mva_Spring16_HZZ_V1_EB2_5.weights.root",
0036 "RecoEgamma/ElectronIdentification/data/Spring16_HZZ_V1/electronID_mva_Spring16_HZZ_V1_EE_5.weights.root",
0037 "RecoEgamma/ElectronIdentification/data/Spring16_HZZ_V1/electronID_mva_Spring16_HZZ_V1_EB1_10.weights.root",
0038 "RecoEgamma/ElectronIdentification/data/Spring16_HZZ_V1/electronID_mva_Spring16_HZZ_V1_EB2_10.weights.root",
0039 "RecoEgamma/ElectronIdentification/data/Spring16_HZZ_V1/electronID_mva_Spring16_HZZ_V1_EE_10.weights.root"
0040 )
0041
0042
0043 idNameLoose = "mvaEleID-Spring16-HZZ-V1-wpLoose"
0044 MVA_WPLoose = EleMVA_WP(
0045 idNameLoose, mvaTag,
0046 cutCategory0 = "-0.211",
0047 cutCategory1 = "-0.396",
0048 cutCategory2 = "-0.215",
0049 cutCategory3 = "-0.870",
0050 cutCategory4 = "-0.838",
0051 cutCategory5 = "-0.763"
0052 )
0053
0054 workingPoints = dict(
0055 wpLoose = MVA_WPLoose
0056 )
0057
0058
0059
0060
0061
0062
0063
0064 mvaEleID_Spring16_HZZ_V1_producer_config = cms.PSet(
0065 mvaName = cms.string(mvaClassName),
0066 mvaTag = cms.string(mvaTag),
0067
0068 nCategories = cms.int32(6),
0069 categoryCuts = cms.vstring(*EleMVA_6CategoriesCuts),
0070
0071 weightFileNames = mvaSpring16WeightFiles_V1,
0072 variableDefinition = cms.string(mvaVariablesFile)
0073 )
0074
0075 mvaEleID_Spring16_HZZ_V1_wpLoose = configureVIDMVAEleID( MVA_WPLoose )
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085 central_id_registry.register(mvaEleID_Spring16_HZZ_V1_wpLoose.idName,
0086 '1797cc03eb62387e10266fca72ea10cd')
0087
0088 mvaEleID_Spring16_HZZ_V1_wpLoose.isPOGApproved = cms.untracked.bool(True)