ATLAS Offline Software
|
Helper class for finding the active TVirtualEvent object. More...
#include <TActiveEvent.h>
Static Public Member Functions | |
static TVirtualEvent * | event () |
Access the currently active TVirtualEvent object. More... | |
Static Private Member Functions | |
static void | setEvent (TVirtualEvent *ptr) |
Set the active event pointer. More... | |
Friends | |
class | TEvent |
Allow the TEvent class to register itself at the right time. More... | |
Helper class for finding the active TVirtualEvent object.
The idea here is very similar to the one in Athena. Some code needs to access the currently "active" event, without receiving a pointer/reference to the event directly. This code always makes sure that the currently active TVirtualEvent object is returned to the user. (In case multiple TEvent objects are being used to read multiple input files at the same time.)
Definition at line 27 of file TActiveEvent.h.
|
static |
Access the currently active TVirtualEvent object.
Definition at line 16 of file TActiveEvent.cxx.
|
staticprivate |
Set the active event pointer.
Definition at line 21 of file TActiveEvent.cxx.
|
friend |
Allow the TEvent class to register itself at the right time.
Definition at line 30 of file TActiveEvent.h.