1 import FWCore.ParameterSet.Config
as cms
9 This is a container class to hold MVA cut values for a 2-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.
35 This function configures the full cms.PSet for a VID ID and returns it.
36 The inputs: an object of the class PhoMVA_2Categories_WP or similar
37 that contains all necessary parameters for this MVA.
39 parameterSet = cms.PSet(
41 idName = cms.string( mvaWP.idName ),
43 cms.PSet( cutName = cms.string(
"PhoMVACut"),
44 mvaCuts = cms.vdouble( mvaWP.getCutValues() ),
45 mvaValueMapName = cms.InputTag( mvaWP.mvaValueMapName ),
46 mvaCategoriesMapName =cms.InputTag( mvaWP.mvaCategoriesMapName ),
47 needsAdditionalProducts = cms.bool(
True),
48 isIgnored = cms.bool(
False)