CMS 3D CMS Logo

List of all members | Public Member Functions
ntupleDataFormat.PixelHit Class Reference
Inheritance diagram for ntupleDataFormat.PixelHit:
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 pixel hit.

Definition at line 730 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

◆ __init__()

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

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

Definition at line 732 of file ntupleDataFormat.py.

732  def __init__(self, tree, index):
733  """Constructor.
734 
735  Arguments:
736  tree -- TTree object
737  index -- Index of the hit
738  """
739  super(PixelHit, self).__init__(tree, index, "pix")
740 

Member Function Documentation

◆ isValidHit()

def ntupleDataFormat.PixelHit.isValidHit (   self)

Definition at line 741 of file ntupleDataFormat.py.

741  def isValidHit(self):
742  return True
743