CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ntupleDataFormat.TrackMatchInfo Class Reference
Inheritance diagram for ntupleDataFormat.TrackMatchInfo:
ntupleDataFormat._Object

Public Member Functions

def __init__ (self, tree, index, trkindex, prefix)
 
def track (self)
 
- Public Member Functions inherited from ntupleDataFormat._Object
def __getattr__ (self, attr)
 
def __init__ (self, tree, index, prefix)
 
def index (self)
 
def isValid (self)
 

Private Attributes

 _trkindex
 

Detailed Description

Class representing a match to a Track.

The point of this class is to provide, in addition to the matched
Track, also other information about the match (e.g. shared hit fraction.

Definition at line 578 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

def ntupleDataFormat.TrackMatchInfo.__init__ (   self,
  tree,
  index,
  trkindex,
  prefix 
)
Constructor.

Arguments:
tree     -- TTree object
index    -- Index of the object (TrackingParticle) matched to track
trkindex -- Index of the track match (second index in _trkIdx branch)
prefix   -- String for prefix of the object (TrackingParticle) matched to track

Definition at line 584 of file ntupleDataFormat.py.

584  def __init__(self, tree, index, trkindex, prefix):
585  """Constructor.
586 
587  Arguments:
588  tree -- TTree object
589  index -- Index of the object (TrackingParticle) matched to track
590  trkindex -- Index of the track match (second index in _trkIdx branch)
591  prefix -- String for prefix of the object (TrackingParticle) matched to track
592  """
593  super(TrackMatchInfo, self).__init__(tree, index, prefix)
594  self._trkindex = trkindex
595 
def __init__(self, tree, index, trkindex, prefix)

Member Function Documentation

def ntupleDataFormat.TrackMatchInfo.track (   self)

Member Data Documentation

ntupleDataFormat.TrackMatchInfo._trkindex
private

Definition at line 594 of file ntupleDataFormat.py.

Referenced by ntupleDataFormat.TrackMatchInfo.track().