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 755 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 757 of file ntupleDataFormat.py.

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

Member Function Documentation

◆ isValidHit()

def ntupleDataFormat.StripHit.isValidHit (   self)

Definition at line 766 of file ntupleDataFormat.py.

766  def isValidHit(self):
767  return True
768