Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions | Variables
python.PyEventTools Namespace Reference

Functions

def getEventInfo (aKey)
 

Variables

string __docformat__ = "restructuredtext en"
 

Function Documentation

◆ getEventInfo()

def python.PyEventTools.getEventInfo (   aKey)
Retrieve EventInfo object from SG

:param aKey: key of the object

**examples**::

  athena> e = PyEventTools.getEventInfo('McEventInfo')
  athena> print e.event_ID().event_number()

Definition at line 13 of file PyEventTools.py.

13 def getEventInfo (aKey):
14  """Retrieve EventInfo object from SG
15 
16  :param aKey: key of the object
17 
18  **examples**::
19 
20  athena> e = PyEventTools.getEventInfo('McEventInfo')
21  athena> print e.event_ID().event_number()
22 
23  """
24  return PyK.retrieve('xAOD::EventInfo',aKey)

Variable Documentation

◆ __docformat__

string python.PyEventTools.__docformat__ = "restructuredtext en"
private

Definition at line 9 of file PyEventTools.py.

python.PyEventTools.getEventInfo
def getEventInfo(aKey)
Definition: PyEventTools.py:13