CMS 3D CMS Logo

List of all members | Public Member Functions
ntupleDataFormat.TrackingVertex Class Reference
Inheritance diagram for ntupleDataFormat.TrackingVertex:
ntupleDataFormat._Object ntupleDataFormat.TrackingVertices

Public Member Functions

def __init__ (self, tree, index)
 
def daughterTrackingParticles (self)
 
def nDaughterTrackingParticles (self)
 
def nSourceTrackingParticles (self)
 
def sourceTrackingParticles (self)
 
- Public Member Functions inherited from ntupleDataFormat._Object
def __getattr__ (self, attr)
 
def __init__ (self, tree, index, prefix)
 
def index (self)
 
def isValid (self)
 

Detailed Description

Class representing a TrackingVertex.

Definition at line 1132 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

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

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

Definition at line 1134 of file ntupleDataFormat.py.

1134  def __init__(self, tree, index):
1135  """Constructor.
1136 
1137  Arguments:
1138  tree -- TTree object
1139  index -- Index of the TrackingVertex
1140  """
1141  super(TrackingVertex, self).__init__(tree, index, "simvtx")
1142 
def __init__(self, tree, index)

Member Function Documentation

def ntupleDataFormat.TrackingVertex.daughterTrackingParticles (   self)
def ntupleDataFormat.TrackingVertex.nDaughterTrackingParticles (   self)
Returns the number of daughter TrackingParticles.

Definition at line 1148 of file ntupleDataFormat.py.

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

1149  """Returns the number of daughter TrackingParticles."""
1150  self._checkIsValid()
1151  return self._tree.simvtx_daughterSimIdx[self._index].size()
1152 
size
Write out results.
def ntupleDataFormat.TrackingVertex.nSourceTrackingParticles (   self)
Returns the number of source TrackingParticles.

Definition at line 1143 of file ntupleDataFormat.py.

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

1144  """Returns the number of source TrackingParticles."""
1145  self._checkIsValid()
1146  return self._tree.simvtx_sourceSimIdx[self._index].size()
1147 
size
Write out results.
def ntupleDataFormat.TrackingVertex.sourceTrackingParticles (   self)