CMS 3D CMS Logo

List of all members | Public Member Functions
ntupleDataFormat.SimHit Class Reference
Inheritance diagram for ntupleDataFormat.SimHit:
ntupleDataFormat._Object ntupleDataFormat._DetIdStrAdaptor ntupleDataFormat._RecoHitAdaptor

Public Member Functions

def __init__ (self, tree, index)
 
def nRecHits (self)
 
def trackingParticle (self)
 
- Public Member Functions inherited from ntupleDataFormat._Object
def __getattr__ (self, attr)
 
def __init__ (self, tree, index, prefix)
 
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._RecoHitAdaptor
def __init__ (self)
 
def gluedHits (self)
 
def hits (self)
 
def invalidHits (self)
 
def phase2OTHits (self)
 
def pixelHits (self)
 
def stripHits (self)
 

Detailed Description

Class representing a SimHit which has not induced a RecHit.

Definition at line 952 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

◆ __init__()

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

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

Definition at line 954 of file ntupleDataFormat.py.

954  def __init__(self, tree, index):
955  """Constructor.
956 
957  Arguments:
958  tree -- TTree object
959  index -- Index of the SimHit
960  """
961  super(SimHit, self).__init__(tree, index, "simhit")
962 

Member Function Documentation

◆ nRecHits()

def ntupleDataFormat.SimHit.nRecHits (   self)

◆ trackingParticle()

def ntupleDataFormat.SimHit.trackingParticle (   self)
TrackingParticle
Monte Carlo truth information used for tracking validation.
Definition: TrackingParticle.h:29
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443