CMS 3D CMS Logo

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

Public Member Functions

def __call__
 
def __init__
 

Private Attributes

 _algos
 
 _includePtCut
 

Detailed Description

Definition at line 12 of file makeTrackValidationPlots.py.

Constructor & Destructor Documentation

def makeTrackValidationPlots.LimitTrackAlgo.__init__ (   self,
  algos,
  includePtCut 
)

Member Function Documentation

def makeTrackValidationPlots.LimitTrackAlgo.__call__ (   self,
  algo,
  quality 
)

Definition at line 16 of file makeTrackValidationPlots.py.

References makeTrackValidationPlots.LimitTrackAlgo._algos, and makeTrackValidationPlots.LimitTrackAlgo._includePtCut.

16 
17  def __call__(self, algo, quality):
18  if self._algos is not None and algo not in self._algos:
19  return False
20  if not self._includePtCut and "Pt09" in quality:
21  return False
22  return True

Member Data Documentation

makeTrackValidationPlots.LimitTrackAlgo._algos
private

Definition at line 14 of file makeTrackValidationPlots.py.

Referenced by makeTrackValidationPlots.LimitTrackAlgo.__call__().

makeTrackValidationPlots.LimitTrackAlgo._includePtCut
private

Definition at line 15 of file makeTrackValidationPlots.py.

Referenced by makeTrackValidationPlots.LimitTrackAlgo.__call__().