CMS 3D CMS Logo

List of all members | Public Member Functions
ntupleDataFormat.StripHit Class Reference
Inheritance diagram for ntupleDataFormat.StripHit:
ntupleDataFormat._HitObject ntupleDataFormat._SimHitMatchAdaptor ntupleDataFormat._Object ntupleDataFormat._DetIdStrAdaptor

Public Member Functions

def __init__ (self, tree, index)
 
def isValidHit (self)
 
- Public Member Functions inherited from ntupleDataFormat._HitObject
def __init__ (self, tree, index, prefix)
 
def nseeds (self)
 
def ntracks (self)
 
def r (self)
 
def r3D (self)
 
def seeds (self)
 
def tracks (self)
 
- Public Member Functions inherited from ntupleDataFormat._Object
def __getattr__ (self, attr)
 
def index (self)
 
def isValid (self)
 
- Public Member Functions inherited from ntupleDataFormat._DetIdStrAdaptor
def __init__ (self)
 
def detIdStr (self)
 
def layerStr (self)
 
- Public Member Functions inherited from ntupleDataFormat._SimHitMatchAdaptor
def __init__ (self)
 
def matchedSimHitInfos (self)
 
def nMatchedSimHits (self)
 

Detailed Description

Class representing a strip hit.

Definition at line 756 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

◆ __init__()

def ntupleDataFormat.StripHit.__init__ (   self,
  tree,
  index 
)
Constructor.

Arguments:
tree  -- TTree object
index -- Index of the hit

Definition at line 758 of file ntupleDataFormat.py.

758  def __init__(self, tree, index):
759  """Constructor.
760 
761  Arguments:
762  tree -- TTree object
763  index -- Index of the hit
764  """
765  super(StripHit, self).__init__(tree, index, "str")
766 

Member Function Documentation

◆ isValidHit()

def ntupleDataFormat.StripHit.isValidHit (   self)

Definition at line 767 of file ntupleDataFormat.py.

767  def isValidHit(self):
768  return True
769