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 1091 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 1093 of file ntupleDataFormat.py.

1093  def __init__(self, tree, index):
1094  """Constructor.
1095 
1096  Arguments:
1097  tree -- TTree object
1098  index -- Index of the TrackingVertex
1099  """
1100  super(TrackingVertex, self).__init__(tree, index, "simvtx")
1101 
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 1107 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.

1108  """Returns the number of daughter TrackingParticles."""
1109  self._checkIsValid()
1110  return self._tree.simvtx_daughterSimIdx[self._index].size()
1111 
size
Write out results.
def ntupleDataFormat.TrackingVertex.nSourceTrackingParticles (   self)
Returns the number of source TrackingParticles.

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

1103  """Returns the number of source TrackingParticles."""
1104  self._checkIsValid()
1105  return self._tree.simvtx_sourceSimIdx[self._index].size()
1106 
size
Write out results.
def ntupleDataFormat.TrackingVertex.sourceTrackingParticles (   self)