![]() |
Project
|
Handler for cells/LEDMONS/Trigger data in timeframes. More...
#include <RecoContainer.h>
Classes | |
class | InteractionNotFoundException |
Handling of access to trigger interaction record not present in container. More... | |
Public Member Functions | |
RecoContainer ()=default | |
Constructor. | |
~RecoContainer ()=default | |
Destructor. | |
EventContainer & | getEventContainer (const o2::InteractionRecord ¤tIR) |
Get container for trigger. | |
const EventContainer & | getEventContainer (const o2::InteractionRecord ¤tIR) const |
Get container for trigger (read-only) | |
std::vector< o2::InteractionRecord > | getOrderedInteractions () const |
Get sorted vector interaction records of triggers in container. | |
std::size_t | getNumberOfEvents () const |
Get number of events in container. | |
void | reset () |
Clear container. | |
Handler for cells/LEDMONS/Trigger data in timeframes.
The RecoContainer handles the cell/LEDMON/trigger data of all events of a given timeframe during the reconstruction. Event data are handled internally via the EventContainer, where the RecoContainer provides access to.
Error handling: The RecoContainer can raise an InteractionNotFoundException in case read access is requested for an interaction based on the o2::InteractionRecord which is not for which no data was inserted into the container.
Definition at line 252 of file RecoContainer.h.
|
default |
Constructor.
|
default |
Destructor.
EventContainer & RecoContainer::getEventContainer | ( | const o2::InteractionRecord & | currentIR | ) |
Get container for trigger.
currentIR | Interaction record of the trigger |
Definition at line 136 of file RecoContainer.cxx.
const EventContainer & RecoContainer::getEventContainer | ( | const o2::InteractionRecord & | currentIR | ) | const |
Get container for trigger (read-only)
currentIR | Interaction record of the trigger |
InteractionNotFoundException | if interaction record is not present |
Definition at line 147 of file RecoContainer.cxx.
|
inline |
Get number of events in container.
Definition at line 309 of file RecoContainer.h.
std::vector< o2::InteractionRecord > RecoContainer::getOrderedInteractions | ( | ) | const |
Get sorted vector interaction records of triggers in container.
Definition at line 156 of file RecoContainer.cxx.
|
inline |
Clear container.
Definition at line 312 of file RecoContainer.h.