1 import FWCore.ParameterSet.Config
as cms
2 from PhysicsTools.SelectorUtils.centralIDRegistry
import central_id_registry
5 weightFileBaseDir =
"RecoEgamma/PhotonIdentification/data/MVA" 13 This is a container class to hold MVA cut values for a 2-category MVA 14 as well as the names of the value maps that contain the MVA values computed 15 for all particles in a producer upstream. 39 This function configures the full cms.PSet for a VID ID and returns it. 40 The inputs: an object of the class PhoMVA_2Categories_WP or similar 41 that contains all necessary parameters for this MVA. 43 parameterSet = cms.PSet(
45 idName = cms.string( mvaWP.idName ),
47 cms.PSet( cutName = cms.string(
"PhoMVACut"),
48 mvaCuts = cms.vdouble( mvaWP.getCutValues() ),
49 mvaValueMapName = cms.InputTag( mvaWP.mvaValueMapName ),
50 mvaCategoriesMapName =cms.InputTag( mvaWP.mvaCategoriesMapName ),
51 needsAdditionalProducts = cms.bool(
True),
52 isIgnored = cms.bool(
False)