CMS 3D CMS Logo

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

Classes

class  EleMVA_WP
 
class  EleMVARaw_WP
 

Functions

def configureVIDMVAEleID (mvaWP, cutName="GsfEleMVACut")
 

Variables

 EleMVA_3CategoriesCuts
 
 EleMVA_6CategoriesCuts
 
 mvaClassName
 
 mvaProducerModuleLabel
 
 mvaVariablesFile
 
 mvaVariablesFileRun3
 
 mvaVariablesFileRun3NonIso
 

Function Documentation

◆ configureVIDMVAEleID()

def mvaElectronID_tools.configureVIDMVAEleID (   mvaWP,
  cutName = "GsfEleMVACut" 
)
This function configures the full cms.PSet for a VID ID and returns it.
The inputs: an object of the class EleMVA_WP or similar
that contains all necessary parameters for this MVA.

Definition at line 98 of file mvaElectronID_tools.py.

98 def configureVIDMVAEleID(mvaWP, cutName="GsfEleMVACut"):
99  """
100  This function configures the full cms.PSet for a VID ID and returns it.
101  The inputs: an object of the class EleMVA_WP or similar
102  that contains all necessary parameters for this MVA.
103  """
104  pSet = cms.PSet(
105  #
106  idName = cms.string( mvaWP.idName ),
107  cutFlow = cms.VPSet(
108  cms.PSet( cutName = cms.string(cutName),
109  mvaCuts = cms.vstring( mvaWP.getCutStrings() ),
110  mvaValueMapName = cms.InputTag( mvaWP.mvaValueMapName ),
111  mvaCategoriesMapName = cms.InputTag( mvaWP.mvaCategoriesMapName ),
112  needsAdditionalProducts = cms.bool(True),
113  isIgnored = cms.bool(False)
114  )
115  )
116  )
117  #
118  return pSet
119 
def configureVIDMVAEleID(mvaWP, cutName="GsfEleMVACut")

Variable Documentation

◆ EleMVA_3CategoriesCuts

mvaElectronID_tools.EleMVA_3CategoriesCuts

Definition at line 25 of file mvaElectronID_tools.py.

◆ EleMVA_6CategoriesCuts

mvaElectronID_tools.EleMVA_6CategoriesCuts

Definition at line 31 of file mvaElectronID_tools.py.

◆ mvaClassName

mvaElectronID_tools.mvaClassName

Definition at line 8 of file mvaElectronID_tools.py.

◆ mvaProducerModuleLabel

mvaElectronID_tools.mvaProducerModuleLabel

Definition at line 14 of file mvaElectronID_tools.py.

◆ mvaVariablesFile

mvaElectronID_tools.mvaVariablesFile

Definition at line 17 of file mvaElectronID_tools.py.

◆ mvaVariablesFileRun3

mvaElectronID_tools.mvaVariablesFileRun3

Definition at line 18 of file mvaElectronID_tools.py.

◆ mvaVariablesFileRun3NonIso

mvaElectronID_tools.mvaVariablesFileRun3NonIso

Definition at line 19 of file mvaElectronID_tools.py.