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.Track Class Reference
Inheritance diagram for ntuple.Track:
ntuple._Object ntuple._RecoHitAdaptor ntuple._TrackingParticleMatchAdaptor

Public Member Functions

def __init__
 
def seed
 
def vertex
 
- Public Member Functions inherited from ntuple._Object
def __getattr__
 
def __init__
 
def index
 
def isValid
 
- Public Member Functions inherited from ntuple._RecoHitAdaptor
def __init__
 
def gluedHits
 
def hits
 
def invalidHits
 
def pixelHits
 
def stripHits
 
- Public Member Functions inherited from ntuple._TrackingParticleMatchAdaptor
def __init__
 
def matchedTrackingParticleInfos
 
def nMatchedTrackingParticles
 

Detailed Description

Class presenting a track.

Definition at line 455 of file ntuple.py.

Constructor & Destructor Documentation

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

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

Definition at line 457 of file ntuple.py.

458  def __init__(self, tree, index):
459  """Constructor.
460 
461  Arguments:
462  tree -- TTree object
463  index -- Index of the track
464  """
465  super(Track, self).__init__(tree, index, "trk")
def __init__
Definition: ntuple.py:457

Member Function Documentation

def ntuple.Track.seed (   self)
Returns Seed of the track.

Definition at line 466 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, ntuple._Collection._tree, python.cmstools.EventTree._tree, and ntuple._Object._tree.

467  def seed(self):
468  """Returns Seed of the track."""
469  self._checkIsValid()
470  return Seed(self._tree, self._tree.trk_seedIdx[self._index])
def seed
Definition: ntuple.py:466
def _checkIsValid
Definition: ntuple.py:97
def ntuple.Track.vertex (   self)
Returns Vertex that used this track in its fit.

Definition at line 471 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, ntuple._Collection._tree, python.cmstools.EventTree._tree, and ntuple._Object._tree.

Referenced by Tau.Tau.dxy().

472  def vertex(self):
473  """Returns Vertex that used this track in its fit."""
474  self._checkIsValid()
475  return Vertex(self._tree, self._tree.trk_vtxIdx[self._index])
def _checkIsValid
Definition: ntuple.py:97
def vertex
Definition: ntuple.py:471