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 1133 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 1135 of file ntupleDataFormat.py.

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

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

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

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