CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
ntupleDataFormat._SimHitMatchAdaptor Class Reference
Inheritance diagram for ntupleDataFormat._SimHitMatchAdaptor:
ntupleDataFormat.Phase2OTHit ntupleDataFormat.PixelHit ntupleDataFormat.StripHit

Public Member Functions

def __init__ (self)
 
def matchedSimHitInfos (self)
 
def nMatchedSimHits (self)
 

Private Member Functions

def _nMatchedSimHits (self)
 

Detailed Description

Adaptor class for objects containing or matched to SimHits (e.g. reco hits).

Definition at line 275 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

def ntupleDataFormat._SimHitMatchAdaptor.__init__ (   self)

Definition at line 277 of file ntupleDataFormat.py.

277  def __init__(self):
278  super(_SimHitMatchAdaptor, self).__init__()
279 

Member Function Documentation

def ntupleDataFormat._SimHitMatchAdaptor._nMatchedSimHits (   self)
private
def ntupleDataFormat._SimHitMatchAdaptor.matchedSimHitInfos (   self)
def ntupleDataFormat._SimHitMatchAdaptor.nMatchedSimHits (   self)
Returns the number of matched SimHits.

Definition at line 284 of file ntupleDataFormat.py.

References ntupleDataFormat._Object._checkIsValid(), and ntupleDataFormat._SimHitMatchAdaptor._nMatchedSimHits().

284  def nMatchedSimHits(self):
285  """Returns the number of matched SimHits."""
286  self._checkIsValid()
287  return self._nMatchedSimHits()
288