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
mvaPhotonID_tools.PhoMVA_2Categories_WP Class Reference

Public Member Functions

def __init__
 
def getCutValues
 

Public Attributes

 cutCategory0
 
 cutCategory1
 
 idName
 
 mvaCategoriesMapName
 
 mvaValueMapName
 

Detailed Description

This is a container class to hold MVA cut values for a 2-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 mvaPhotonID_tools.py.

Constructor & Destructor Documentation

def mvaPhotonID_tools.PhoMVA_2Categories_WP.__init__ (   self,
  idName,
  mvaValueMapName,
  mvaCategoriesMapName,
  cutCategory0,
  cutCategory1 
)

Member Function Documentation

def mvaPhotonID_tools.PhoMVA_2Categories_WP.getCutValues (   self)

Definition at line 26 of file mvaPhotonID_tools.py.

References mvaPhotonID_tools.PhoMVA_2Categories_WP.cutCategory0, mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory0, mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory0, mvaPhotonID_tools.PhoMVA_2Categories_WP.cutCategory1, mvaElectronID_tools.EleMVA_3Categories_WP.cutCategory1, and mvaElectronID_tools.EleMVA_6Categories_WP.cutCategory1.

26 
27  def getCutValues(self):
28  return [self.cutCategory0, self.cutCategory1]
29 
30 # ==============================================================
31 # Define the complete MVA cut sets
# ==============================================================

Member Data Documentation

mvaPhotonID_tools.PhoMVA_2Categories_WP.cutCategory0

Definition at line 23 of file mvaPhotonID_tools.py.

Referenced by mvaPhotonID_tools.PhoMVA_2Categories_WP.getCutValues().

mvaPhotonID_tools.PhoMVA_2Categories_WP.cutCategory1

Definition at line 24 of file mvaPhotonID_tools.py.

Referenced by mvaPhotonID_tools.PhoMVA_2Categories_WP.getCutValues().

mvaPhotonID_tools.PhoMVA_2Categories_WP.idName

Definition at line 20 of file mvaPhotonID_tools.py.

mvaPhotonID_tools.PhoMVA_2Categories_WP.mvaCategoriesMapName

Definition at line 22 of file mvaPhotonID_tools.py.

mvaPhotonID_tools.PhoMVA_2Categories_WP.mvaValueMapName

Definition at line 21 of file mvaPhotonID_tools.py.