|
fire v0.19.0
Framework for sImulation and Reconstruction of Events
|
Wrapper Event in this namespace reintroducing legacy functionality. More...
#include <EventProcessor.h>
Public Member Functions | |
| Event (fire::Event &e) | |
| wrap the current event with a legacy interface | |
| fire::EventHeader & | getEventHeader () |
| Get the event header. More... | |
| int | getEventNumber () const |
| Get the event number. More... | |
| double | getEventWeight () const |
| Get the event weight. More... | |
| template<typename T > | |
| void | add (const std::string &n, const T &o) |
| Add an object to the event bus. More... | |
| template<typename T > | |
| const T & | getObject (const std::string &n, const std::string &p="") const |
| Retrieve an object from the event bus. More... | |
| template<typename T > | |
| const std::vector< T > & | getCollection (const std::string &n, const std::string &p="") const |
| Retrieve an object from the event bus. More... | |
| template<typename K , typename V > | |
| const std::map< K, V > & | getCollection (const std::string &n, const std::string &p="") const |
| Retrieve an object from the event bus. More... | |
Private Attributes | |
| fire::Event & | event_ |
| reference to current event bus | |
Wrapper Event in this namespace reintroducing legacy functionality.
This class is a light wrapper class merely providing function handles for the legacy interface with the event bus.
|
inline |
Add an object to the event bus.
|
inline |
Retrieve an object from the event bus.
|
inline |
Retrieve an object from the event bus.
|
inline |
Get the event header.
|
inline |
Get the event number.
|
inline |
Get the event weight.
|
inline |
Retrieve an object from the event bus.