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 1134 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 1136 of file ntupleDataFormat.py.

1136  def __init__(self, tree, index):
1137  """Constructor.
1138 
1139  Arguments:
1140  tree -- TTree object
1141  index -- Index of the TrackingVertex
1142  """
1143  super(TrackingVertex, self).__init__(tree, index, "simvtx")
1144 
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 1150 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.

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

Definition at line 1145 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.

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