CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
mvaElectronID_tools.EleMVA_3Categories_WP Class Reference

Public Member Functions

def __init__
 
def getCutValues
 

Public Attributes

 cutCategory0
 
 cutCategory1
 
 cutCategory2
 
 idName
 
 mvaCategoriesMapName
 
 mvaValueMapName
 

Detailed Description

This is a container class to hold MVA cut values for a 3-category MVA
as well as the names of the value maps that contain the MVA values computed
for all particles in a producer upstream.

Definition at line 7 of file mvaElectronID_tools.py.

Constructor & Destructor Documentation

def mvaElectronID_tools.EleMVA_3Categories_WP.__init__ (   self,
  idName,
  mvaValueMapName,
  mvaCategoriesMapName,
  cutCategory0,
  cutCategory1,
  cutCategory2 
)

Member Function Documentation

def mvaElectronID_tools.EleMVA_3Categories_WP.getCutValues (   self)

Definition at line 28 of file mvaElectronID_tools.py.

References mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory0, mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory1, and mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory2.

28 
29  def getCutValues(self):
30  return [self.cutCategory0, self.cutCategory1, self.cutCategory2]

Member Data Documentation

mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory0

Definition at line 24 of file mvaElectronID_tools.py.

Referenced by mvaPhotonID_tools.PhoMVA_2Categories_WP.getCutValues(), mvaElectronID_tools.EleMVA_3Categories_WP.getCutValues(), and mvaElectronID_tools.EleMVA_6Categories_WP.getCutValues().

mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory1

Definition at line 25 of file mvaElectronID_tools.py.

Referenced by mvaPhotonID_tools.PhoMVA_2Categories_WP.getCutValues(), mvaElectronID_tools.EleMVA_3Categories_WP.getCutValues(), and mvaElectronID_tools.EleMVA_6Categories_WP.getCutValues().

mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory2

Definition at line 26 of file mvaElectronID_tools.py.

Referenced by mvaElectronID_tools.EleMVA_3Categories_WP.getCutValues(), and mvaElectronID_tools.EleMVA_6Categories_WP.getCutValues().

mvaElectronID_tools.EleMVA_3Categories_WP.idName

Definition at line 21 of file mvaElectronID_tools.py.

mvaElectronID_tools.EleMVA_3Categories_WP.mvaCategoriesMapName

Definition at line 23 of file mvaElectronID_tools.py.

mvaElectronID_tools.EleMVA_3Categories_WP.mvaValueMapName

Definition at line 22 of file mvaElectronID_tools.py.