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_6Categories_WP Class Reference

Public Member Functions

def __init__
 
def getCutValues
 

Public Attributes

 cutCategory0
 
 cutCategory1
 
 cutCategory2
 
 cutCategory3
 
 cutCategory4
 
 cutCategory5
 
 idName
 
 mvaCategoriesMapName
 
 mvaValueMapName
 

Detailed Description

This is a container class to hold MVA cut values for a 6-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 31 of file mvaElectronID_tools.py.

Constructor & Destructor Documentation

def mvaElectronID_tools.EleMVA_6Categories_WP.__init__ (   self,
  idName,
  mvaValueMapName,
  mvaCategoriesMapName,
  cutCategory0,
  cutCategory1,
  cutCategory2,
  cutCategory3,
  cutCategory4,
  cutCategory5 
)

Member Function Documentation

def mvaElectronID_tools.EleMVA_6Categories_WP.getCutValues (   self)

Definition at line 58 of file mvaElectronID_tools.py.

References mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory0, mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory0, mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory1, mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory1, mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory2, mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory2, mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory3, mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory4, and mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory5.

58 
59  def getCutValues(self):
60  return [self.cutCategory0, self.cutCategory1, self.cutCategory2,
61  self.cutCategory3, self.cutCategory4, self.cutCategory5]
62 
63 # ==============================================================
64 # Define the complete MVA cut sets
# ==============================================================

Member Data Documentation

mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory0

Definition at line 51 of file mvaElectronID_tools.py.

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

mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory1

Definition at line 52 of file mvaElectronID_tools.py.

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

mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory2

Definition at line 53 of file mvaElectronID_tools.py.

Referenced by mvaElectronID_tools.EleMVA_6Categories_WP.getCutValues().

mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory3

Definition at line 54 of file mvaElectronID_tools.py.

Referenced by mvaElectronID_tools.EleMVA_6Categories_WP.getCutValues().

mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory4

Definition at line 55 of file mvaElectronID_tools.py.

Referenced by mvaElectronID_tools.EleMVA_6Categories_WP.getCutValues().

mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory5

Definition at line 56 of file mvaElectronID_tools.py.

Referenced by mvaElectronID_tools.EleMVA_6Categories_WP.getCutValues().

mvaElectronID_tools.EleMVA_6Categories_WP.idName

Definition at line 48 of file mvaElectronID_tools.py.

mvaElectronID_tools.EleMVA_6Categories_WP.mvaCategoriesMapName

Definition at line 50 of file mvaElectronID_tools.py.

mvaElectronID_tools.EleMVA_6Categories_WP.mvaValueMapName

Definition at line 49 of file mvaElectronID_tools.py.