CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
python.cmstools.EventBranch Class Reference
Inheritance diagram for python.cmstools.EventBranch:

Public Member Functions

def __call__ (self)
 
def __init__ (self, parent, name)
 
def setIndex (self, index)
 

Private Member Functions

def __readData (self)
 

Private Attributes

 _branch
 
 _buffer
 
 _index
 
 _readData
 

Detailed Description

Definition at line 155 of file cmstools.py.

Constructor & Destructor Documentation

def python.cmstools.EventBranch.__init__ (   self,
  parent,
  name 
)

Definition at line 156 of file cmstools.py.

156  def __init__(self,parent,name):
157  self._branch = parent.tree().GetBranch(name)
158  if self._branch == None:
159  raise cmserror("Unknown branch "+name)
161  self._index = parent.index()
162  self._readData = False
def createBranchBuffer(branch)
auto branch types (Chris Jones)
Definition: cmstools.py:55
def __init__(self, parent, name)
Definition: cmstools.py:156

Member Function Documentation

def python.cmstools.EventBranch.__call__ (   self)
def python.cmstools.EventBranch.__readData (   self)
private
def python.cmstools.EventBranch.setIndex (   self,
  index 
)

Member Data Documentation

python.cmstools.EventBranch._branch
private

Definition at line 157 of file cmstools.py.

python.cmstools.EventBranch._buffer
private

Definition at line 160 of file cmstools.py.

Referenced by python.cmstools.EventBranch.__call__().

python.cmstools.EventBranch._index
private

Definition at line 161 of file cmstools.py.

Referenced by ntupleDataFormat._Object.__getattr__(), python.cmstools.EventBranch.__readData(), ntupleDataFormat.TrackingParticle._nMatchedSeeds(), ntupleDataFormat._SimHitMatchAdaptor._nMatchedSimHits(), ntupleDataFormat._TrackingParticleMatchAdaptor._nMatchedTrackingParticles(), ntupleDataFormat.TrackingParticle._nMatchedTracks(), ntupleDataFormat.TrackingVertex.daughterTrackingParticles(), ntupleDataFormat.TrackingParticle.decayVertices(), ntupleDataFormat._DetIdStrAdaptor.detIdStr(), ntupleDataFormat._Object.index(), ntupleDataFormat.Seed.indexWithinAlgo(), ntupleDataFormat._Object.isValid(), ntupleDataFormat._DetIdStrAdaptor.layerStr(), ntupleDataFormat.InvalidHit.layerStr(), ntupleDataFormat.TrackingParticle.matchedSeedInfos(), ntupleDataFormat._SimHitMatchAdaptor.matchedSimHitInfos(), ntupleDataFormat.TrackingParticle.matchedTrackInfos(), ntupleDataFormat._TrackingParticleMatchAdaptor.matchedTrackingParticleInfos(), ntupleDataFormat.GluedHit.monoHit(), ntupleDataFormat.TrackingVertex.nDaughterTrackingParticles(), ntupleDataFormat.SimHit.nRecHits(), ntupleDataFormat._HitObject.nseeds(), ntupleDataFormat.GluedHit.nseeds(), ntupleDataFormat.TrackingVertex.nSourceTrackingParticles(), ntupleDataFormat._HitObject.ntracks(), ntupleDataFormat.Vertex.nTracks(), ntupleDataFormat.TrackingParticle.parentVertex(), ntupleDataFormat.SeedMatchInfo.seed(), ntupleDataFormat.Track.seed(), ntupleDataFormat._HitObject.seeds(), ntupleDataFormat.GluedHit.seeds(), python.cmstools.EventBranch.setIndex(), ntupleDataFormat.SimHitMatchInfo.simHit(), ntupleDataFormat.TrackingVertex.sourceTrackingParticles(), ntupleDataFormat.GluedHit.stereoHit(), ntupleDataFormat.Seed.track(), ntupleDataFormat.SimHit.trackingParticle(), ntupleDataFormat._HitObject.tracks(), ntupleDataFormat.Vertex.tracks(), ntupleDataFormat.Track.vertex(), and html.HtmlReport.write().

python.cmstools.EventBranch._readData
private