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 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  def __call__(self, algo, quality):
17  if self._algos is not None and algo not in self._algos:
18  return False
19  if not self._includePtCut and "Pt09" in quality:
20  return False
21  return True
22 

Member Data Documentation

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