ATLAS Offline Software
Loading...
Searching...
No Matches
python.PyEventTools Namespace Reference

Functions

 getEventInfo (aKey)

Variables

str __docformat__ = "restructuredtext en"

Detailed Description

module to access Event objects interactively

:author: Tadashi Maeno
:contact: Tadashi.Maeno@cern.ch

Function Documentation

◆ getEventInfo()

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.

13def 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__

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

Definition at line 9 of file PyEventTools.py.