![]() |
ATLAS Offline Software
|
#include <FillContainer.h>
Public Types | |
| using | WriteHandle_t = SG::WriteHandle<Cont_t> |
| Abrivation of the write handle type. | |
Public Member Functions | |
| FillContainer () | |
| default constructor | |
| FillContainer (FillContainer &&other)=default | |
| Move constructor. | |
| FillContainer & | operator= (FillContainer &&other)=default |
| Default move operator. | |
| Cont_t * | get () const |
| get operator | |
| Cont_t * | operator-> () const |
| Define the arrow operator. | |
| Cont_t & | operator* () const |
| Define the dereference operator. | |
| StatusCode | record (const SG::WriteHandleKey< Cont_t > &key, const EventContext &ctx) |
| Record the container to store gate using the passed write handle key. | |
| StatusCode | recordNonConst (const SG::WriteHandleKey< Cont_t > &key, const EventContext &ctx) |
| Record the container to store gate using the passed write handle key. | |
| WriteHandle_t & | getHandle () |
| Returns the reference to the active write handle. | |
| bool | hasHandle () const |
| Returns whether the record function has been called. | |
Private Attributes | |
| std::unique_ptr< Cont_t > | m_cont {std::make_unique<Cont_t>()} |
| Unique pointer to the container type. | |
| std::unique_ptr< AuxCont_t > | m_auxCont {std::make_unique<AuxCont_t>()} |
| Unique pointer to the aux container type. | |
| std::unique_ptr< WriteHandle_t > | m_writeHandle {} |
| Pointer to the write handle. | |
Definition at line 39 of file FillContainer.h.
| using xAOD::FillContainer< Cont_t, AuxCont_t >::WriteHandle_t = SG::WriteHandle<Cont_t> |
Abrivation of the write handle type.
Definition at line 42 of file FillContainer.h.
|
inline |
default constructor
Definition at line 44 of file FillContainer.h.
|
default |
Move constructor.
|
inline |
get operator
Definition at line 57 of file FillContainer.h.
|
inline |
Returns the reference to the active write handle.
Throws an exception if the handle has not been instantiated yet.
Definition at line 114 of file FillContainer.h.
|
inline |
Returns whether the record function has been called.
Definition at line 122 of file FillContainer.h.
|
inline |
|
inline |
|
default |
Default move operator.
|
inline |
Record the container to store gate using the passed write handle key.
If the key is empty nothing is written
| key | Reference to the StoreGate write handle key |
| ctx | Event context to be passed to the StoreGate instance |
Definition at line 72 of file FillContainer.h.
|
inline |
Record the container to store gate using the passed write handle key.
If the key is empty nothing is written
| key | Reference to the StoreGate write handle key |
| ctx | Event context to be passed to the StoreGate instance |
Definition at line 94 of file FillContainer.h.
|
private |
Unique pointer to the aux container type.
Definition at line 127 of file FillContainer.h.
|
private |
Unique pointer to the container type.
Definition at line 125 of file FillContainer.h.
|
private |
Pointer to the write handle.
Is instantiated with a record call
Definition at line 129 of file FillContainer.h.