CMS 3D CMS Logo

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

Public Member Functions

def __getattr__ (self, name)
 
def __init__ (self, eventTree)
 
def getProduct (self, name)
 

Private Attributes

 _eventTree
 

Detailed Description

Definition at line 143 of file cmstools.py.

Constructor & Destructor Documentation

◆ __init__()

def python.cmstools.Event.__init__ (   self,
  eventTree 
)

Definition at line 144 of file cmstools.py.

144  def __init__(self, eventTree):
145  self._eventTree = eventTree
146 

Member Function Documentation

◆ __getattr__()

def python.cmstools.Event.__getattr__ (   self,
  name 
)

Definition at line 150 of file cmstools.py.

150  def __getattr__(self, name):
151  return iterators.addIterator(self._eventTree.branch(name)())
152 
153 

References python.cmstools.Event._eventTree, and MicroEventContent_cff.branch.

◆ getProduct()

def python.cmstools.Event.getProduct (   self,
  name 
)

Definition at line 147 of file cmstools.py.

147  def getProduct(self, name):
148  return iterators.addIterator(self._eventTree.branch(name)())
149 

References python.cmstools.Event._eventTree, and MicroEventContent_cff.branch.

Member Data Documentation

◆ _eventTree

python.cmstools.Event._eventTree
private
MicroEventContent_cff.branch
branch
Definition: MicroEventContent_cff.py:169
edm::getProduct
T const * getProduct(RefCore const &ref)
Definition: RefCoreGet.h:37