ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/CMSSW/PhysicsTools/PythonAnalysis/python/cmstools.py
(Generate patch)

Comparing CMSSW/PhysicsTools/PythonAnalysis/python/cmstools.py (file contents):
Revision 1.15 by hegner, Tue Dec 11 08:12:27 2007 UTC vs.
Revision 1.16 by hegner, Tue Sep 16 16:15:54 2008 UTC

# Line 116 | Line 116 | class EventTree(object):
116                raise IndexError
117            self._index = key
118            self.__setBranchIndicies()
119 <          return self
119 >          self._tree.GetEntry(self._index,0)
120 >          return Event(self)
121        def __iter__(self):
122            # flushing/initializing the root buffers
123            entry = 0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines