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 142 of file cmstools.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 143 of file cmstools.py.

143  def __init__(self, eventTree):
144  self._eventTree = eventTree
145 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ __getattr__()

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

Definition at line 149 of file cmstools.py.

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

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

◆ getProduct()

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

Definition at line 146 of file cmstools.py.

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

146  def getProduct(self, name):
147  return iterators.addIterator(self._eventTree.branch(name)())
148 
T const * getProduct(RefCore const &ref)
Definition: RefCoreGet.h:37

Member Data Documentation

◆ _eventTree

python.cmstools.Event._eventTree
private