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

◆ __init__()

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

Definition at line 13 of file makeTrackValidationPlots.py.

13  def __init__(self, algos, includePtCut):
14  self._algos = algos
15  self._includePtCut = includePtCut
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ __call__()

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

◆ _algos

makeTrackValidationPlots.LimitTrackAlgo._algos
private

◆ _includePtCut

makeTrackValidationPlots.LimitTrackAlgo._includePtCut
private