CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
makeTrackValidationPlots.LimitTrackAlgo Class Reference

Public Member Functions

def __call__ (self, algo, quality)
 
def __init__ (self, algos, includePtCut)
 

Private Attributes

 _algos
 
 _includePtCut
 

Detailed Description

Definition at line 11 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 15 of file makeTrackValidationPlots.py.

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

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

Member Data Documentation

makeTrackValidationPlots.LimitTrackAlgo._algos
private
makeTrackValidationPlots.LimitTrackAlgo._includePtCut
private