test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
ntuple.SimHit Class Reference
Inheritance diagram for ntuple.SimHit:
ntuple._Object ntuple._LayerStrAdaptor ntuple._RecoHitAdaptor

Public Member Functions

def __init__
 
def nRecHits
 
def trackingParticle
 
- Public Member Functions inherited from ntuple._Object
def __getattr__
 
def __init__
 
def index
 
def isValid
 
- Public Member Functions inherited from ntuple._LayerStrAdaptor
def __init__
 
def layerStr
 
- Public Member Functions inherited from ntuple._RecoHitAdaptor
def __init__
 
def gluedHits
 
def hits
 
def invalidHits
 
def pixelHits
 
def stripHits
 

Detailed Description

Class representing a SimHit which has not induced a RecHit.

Definition at line 684 of file ntuple.py.

Constructor & Destructor Documentation

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

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

Definition at line 686 of file ntuple.py.

687  def __init__(self, tree, index):
688  """Constructor.
689 
690  Arguments:
691  tree -- TTree object
692  index -- Index of the SimHit
693  """
694  super(SimHit, self).__init__(tree, index, "simhit")
def __init__
Definition: ntuple.py:686

Member Function Documentation

def ntuple.SimHit.nRecHits (   self)

Definition at line 695 of file ntuple.py.

References ntuple._Object._checkIsValid(), SeedingNode< DATA >._index, Vispa.Share.FindAlgorithm.FindAlgorithm._index, RPCMuonExtraStruct._index, python.cmstools.EventTree._index, ntuple._Object._index, python.cmstools.EventBranch._index, html.HtmlReport._index, and findQualityFiles.size.

696  def nRecHits(self):
697  self._checkIsValid()
698  return self._tree.simhit_hitIdx[self._index].size()
def _checkIsValid
Definition: ntuple.py:97
def nRecHits
Definition: ntuple.py:695
tuple size
Write out results.
def ntuple.SimHit.trackingParticle (   self)

Definition at line 699 of file ntuple.py.

References ntuple._Object._checkIsValid(), SeedingNode< DATA >._index, Vispa.Share.FindAlgorithm.FindAlgorithm._index, RPCMuonExtraStruct._index, python.cmstools.EventTree._index, ntuple._Object._index, python.cmstools.EventBranch._index, html.HtmlReport._index, CommonAnalyzer._prefix, ntuple._Object._prefix, html.PageSet._prefix, ntuple._Collection._tree, python.cmstools.EventTree._tree, and ntuple._Object._tree.

700  def trackingParticle(self):
701  self._checkIsValid()
702  return TrackingParticle(self._tree, getattr(self._tree, self._prefix+"_simTrkIdx")[self._index])
def _checkIsValid
Definition: ntuple.py:97
def trackingParticle
Definition: ntuple.py:699