1 import FWCore.ParameterSet.Config
as cms
9 This is a container class to hold MVA cut values for a 3-category MVA
10 as well as the names of the value maps that contain the MVA values computed
11 for all particles in a producer upstream.
33 This is a container class to hold MVA cut values for a 6-category MVA
34 as well as the names of the value maps that contain the MVA values computed
35 for all particles in a producer upstream.
68 This function configures the full cms.PSet for a VID ID and returns it.
69 The inputs: an object of the class EleMVA_6Categories_WP or similar
70 that contains all necessary parameters for this MVA.
72 parameterSet = cms.PSet(
74 idName = cms.string( mvaWP.idName ),
76 cms.PSet( cutName = cms.string(
"GsfEleMVACut"),
77 mvaCuts = cms.vdouble( mvaWP.getCutValues() ),
78 mvaValueMapName = cms.InputTag( mvaWP.mvaValueMapName ),
79 mvaCategoriesMapName =cms.InputTag( mvaWP.mvaCategoriesMapName ),
80 needsAdditionalProducts = cms.bool(
True),
81 isIgnored = cms.bool(
False)