![]() |
ATLAS Offline Software
|
Manager for auxiliary branches created dynamically. More...
#include <RAuxFieldManager.h>
Public Member Functions | |
| RAuxFieldManager (std::unique_ptr< THolder > holder, bool isPrimitive=false) | |
| Constructor getting hold of a possible branch. | |
| ~RAuxFieldManager () | |
| Destructor. | |
| ::Bool_t | isPrimitive () const |
| Accessor to whether the field is a primitive type, e.g. int, float, bool. | |
| virtual::Int_t | getEntry (::Int_t getall=0) override |
| Function for updating the object in memory if needed. | |
| virtual const void * | object () const override |
| Function getting a const pointer to the object being handled. | |
| virtual void * | object () override |
| Function getting a pointer to the object being handled. | |
| virtual void | setObject (void *obj) override |
| Function replacing the object being handled. | |
| virtual::Bool_t | create () override |
| Create the object for the current event. | |
| virtual::Bool_t | isSet () const override |
| Check if the object was set for the current event. | |
| virtual void | reset () override |
| Reset the object at the end of processing of an event. | |
| const THolder * | holder () const |
| Accessor to the Holder object. | |
| THolder * | holder () |
| Accessor to the Holder object. | |
Private Attributes | |
| ::Bool_t | m_isSet |
| Was the object set for the current event? | |
| ::Bool_t | m_isPrimitive |
| Is field of primitive type, e.g. int, float, bool. | |
| std::unique_ptr< THolder > | m_holder |
| Object holding onto an EDM object in memory. | |
Manager for auxiliary branches created dynamically.
This manager class is meant to deal with "simple" auxiliary branches in the xAOD files.
Definition at line 32 of file RAuxFieldManager.h.
| xAOD::Experimental::RAuxFieldManager::RAuxFieldManager | ( | std::unique_ptr< THolder > | holder, |
| bool | isPrimitive = false ) |
Constructor getting hold of a possible branch.
Definition at line 18 of file RAuxFieldManager.cxx.
|
default |
Destructor.
|
overridevirtual |
Create the object for the current event.
Implements xAOD::TVirtualManager.
Definition at line 56 of file RAuxFieldManager.cxx.
|
overridevirtual |
Function for updating the object in memory if needed.
Implements xAOD::TVirtualManager.
Definition at line 33 of file RAuxFieldManager.cxx.
|
inherited |
Accessor to the Holder object.
Definition at line 48 of file IObjectManager.cxx.
|
inherited |
Accessor to the Holder object.
Definition at line 43 of file IObjectManager.cxx.
| Bool_t xAOD::Experimental::RAuxFieldManager::isPrimitive | ( | ) | const |
Accessor to whether the field is a primitive type, e.g. int, float, bool.
Definition at line 27 of file RAuxFieldManager.cxx.
|
overridevirtual |
Check if the object was set for the current event.
Implements xAOD::TVirtualManager.
Definition at line 61 of file RAuxFieldManager.cxx.
|
overridevirtual |
Function getting a const pointer to the object being handled.
Implements xAOD::TVirtualManager.
Definition at line 38 of file RAuxFieldManager.cxx.
|
overridevirtual |
Function getting a pointer to the object being handled.
Implements xAOD::TVirtualManager.
Definition at line 43 of file RAuxFieldManager.cxx.
|
overridevirtual |
Reset the object at the end of processing of an event.
Implements xAOD::TVirtualManager.
Definition at line 66 of file RAuxFieldManager.cxx.
|
overridevirtual |
Function replacing the object being handled.
Implements xAOD::TVirtualManager.
Definition at line 48 of file RAuxFieldManager.cxx.
|
privateinherited |
Object holding onto an EDM object in memory.
Definition at line 44 of file IObjectManager.h.
|
private |
Is field of primitive type, e.g. int, float, bool.
Definition at line 66 of file RAuxFieldManager.h.
|
private |
Was the object set for the current event?
Definition at line 64 of file RAuxFieldManager.h.