test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
egammaObjectModificationsInMiniAOD_cff Namespace Reference

Functions

def setup_mva
 

Variables

tuple egamma_modifications
 
string ele_mva_prod_name = 'electronMVAValueMapProducer'
 
string pho_mva_prod_name = 'photonMVAValueMapProducer'
 

Function Documentation

def egammaObjectModificationsInMiniAOD_cff.setup_mva (   val_pset,
  cat_pset,
  prod_name,
  mva_name 
)

Definition at line 16 of file egammaObjectModificationsInMiniAOD_cff.py.

16 
17 def setup_mva(val_pset,cat_pset,prod_name,mva_name):
18  value_name = '%s:%sValues'%(prod_name,mva_name)
19  cat_name = '%s:%sCategories'%(prod_name,mva_name)
20  setattr( val_pset, '%sValues'%mva_name, cms.InputTag(value_name) )
21  setattr( cat_pset, '%sCategories'%mva_name, cms.InputTag(cat_name) )

Variable Documentation

tuple egammaObjectModificationsInMiniAOD_cff.egamma_modifications
Initial value:
1 = cms.VPSet(
2  cms.PSet( modifierName = cms.string('EGExtraInfoModifierFromFloatValueMaps'),
3  electron_config = cms.PSet( ),
4  photon_config = cms.PSet( phoChargedIsolation = cms.InputTag('photonIDValueMapProducer:phoChargedIsolation'),
5  phoNeutralHadronIsolation = cms.InputTag('photonIDValueMapProducer:phoNeutralHadronIsolation'),
6  phoPhotonIsolation = cms.InputTag('photonIDValueMapProducer:phoPhotonIsolation'),
7  phoWorstChargedIsolation = cms.InputTag('photonIDValueMapProducer:phoWorstChargedIsolation')
8  )
9  ),
10  cms.PSet( modifierName = cms.string('EGExtraInfoModifierFromIntValueMaps'),
11  electron_config = cms.PSet( ),
12  photon_config = cms.PSet( )
13  )
14 )

Definition at line 22 of file egammaObjectModificationsInMiniAOD_cff.py.

string egammaObjectModificationsInMiniAOD_cff.ele_mva_prod_name = 'electronMVAValueMapProducer'

Definition at line 13 of file egammaObjectModificationsInMiniAOD_cff.py.

string egammaObjectModificationsInMiniAOD_cff.pho_mva_prod_name = 'photonMVAValueMapProducer'

Definition at line 14 of file egammaObjectModificationsInMiniAOD_cff.py.