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. | |
Friends | |
class | TEvent |
Allow the TEvent class to register itself at the right time. |
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.)