CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self, tree, index, seedindex, prefix)
 
def seed (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

 _seedindex
 

Detailed Description

Class representing a match to a Seed.

The point of this class is to provide an interface compatible with
all other "MatchInfo" classes

Definition at line 601 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

def ntupleDataFormat.SeedMatchInfo.__init__ (   self,
  tree,
  index,
  seedindex,
  prefix 
)
Constructor.

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

Definition at line 608 of file ntupleDataFormat.py.

608  def __init__(self, tree, index, seedindex, prefix):
609  """Constructor.
610 
611  Arguments:
612  tree -- TTree object
613  index -- Index of the object (TrackingParticle) matched to seed
614  seedindex -- Index of the seed match (second index in _trkIdx branch)
615  prefix -- String for prefix of the object (TrackingParticle) matched to seed
616  """
617  super(SeedMatchInfo, self).__init__(tree, index, prefix)
618  self._seedindex = seedindex
619 
def __init__(self, tree, index, seedindex, prefix)

Member Function Documentation

def ntupleDataFormat.SeedMatchInfo.seed (   self)

Member Data Documentation

ntupleDataFormat.SeedMatchInfo._seedindex
private

Definition at line 618 of file ntupleDataFormat.py.

Referenced by ntupleDataFormat.SeedMatchInfo.seed().