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 644 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 651 of file ntupleDataFormat.py.

651  def __init__(self, tree, index, seedindex, prefix):
652  """Constructor.
653 
654  Arguments:
655  tree -- TTree object
656  index -- Index of the object (TrackingParticle) matched to seed
657  seedindex -- Index of the seed match (second index in _trkIdx branch)
658  prefix -- String for prefix of the object (TrackingParticle) matched to seed
659  """
660  super(SeedMatchInfo, self).__init__(tree, index, prefix)
661  self._seedindex = seedindex
662 
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 661 of file ntupleDataFormat.py.

Referenced by ntupleDataFormat.SeedMatchInfo.seed().