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 731 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 733 of file ntupleDataFormat.py.

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

Member Function Documentation

◆ isValidHit()

def ntupleDataFormat.PixelHit.isValidHit (   self)

Definition at line 742 of file ntupleDataFormat.py.

742  def isValidHit(self):
743  return True
744