![]() |
ATLAS Offline Software
|
Manager for TAuxStore objects. More...
#include <TAuxManager.h>
Public Member Functions | |
| TAuxManager (TAuxStore *store, ::Bool_t sharedOwner=kTRUE) | |
| Constructor getting hold of an auxiliary store object. More... | |
| TAuxManager (const TAuxManager &parent) | |
| Copy constructor. More... | |
| TAuxManager & | operator= (const TAuxManager &rhs) |
| Assignment operator. More... | |
| virtual ::Int_t | getEntry (::Int_t getall=0) override |
| Function for updating the object in memory if needed. More... | |
| virtual const void * | object () const override |
| Function getting a const pointer to the object being handled. More... | |
| virtual void * | object () override |
| Function getting a pointer to the object being handled. More... | |
| virtual void | setObject (void *obj) override |
| Function replacing the object being handled. More... | |
| virtual ::Bool_t | create () override |
| Create the object for the current event. More... | |
| virtual ::Bool_t | isSet () const override |
| Check if the object was set for the current event. More... | |
| virtual void | reset () override |
| Reset the object at the end of processing of an event. More... | |
| TAuxStore * | getStore () |
| Get a type-specific pointer to the managed object. More... | |
| const SG::IConstAuxStore * | getConstStore () const |
| Get a convenience pointer to the managed object. More... | |
Private Attributes | |
| std::shared_ptr< TAuxStore > | m_store |
| The auxiliary store object. More... | |
| TAuxStore * | m_storePtr |
| Pointer to the auxiliary store object. More... | |
Manager for TAuxStore objects.
This class is used when connecting TAuxStore objects to the input tree as the auxiliary store of a DV container.
Definition at line 33 of file TAuxManager.h.
| xAOD::TAuxManager::TAuxManager | ( | TAuxStore * | store, |
| ::Bool_t | sharedOwner = kTRUE |
||
| ) |
Constructor getting hold of an auxiliary store object.
Definition at line 16 of file TAuxManager.cxx.
| xAOD::TAuxManager::TAuxManager | ( | const TAuxManager & | parent | ) |
Copy constructor.
Definition at line 24 of file TAuxManager.cxx.
|
overridevirtual |
Create the object for the current event.
There is no need for a default object.
Implements xAOD::TVirtualManager.
Definition at line 70 of file TAuxManager.cxx.
| const SG::IConstAuxStore * xAOD::TAuxManager::getConstStore | ( | ) | const |
Get a convenience pointer to the managed object.
Definition at line 105 of file TAuxManager.cxx.
|
overridevirtual |
Function for updating the object in memory if needed.
Implements xAOD::TVirtualManager.
Definition at line 43 of file TAuxManager.cxx.
| TAuxStore * xAOD::TAuxManager::getStore | ( | ) |
Get a type-specific pointer to the managed object.
Definition at line 100 of file TAuxManager.cxx.
|
overridevirtual |
Check if the object was set for the current event.
The state of a TAuxStore object is always "set".
So this interface unfortunately doesn't make much sense for this manager class...
Implements xAOD::TVirtualManager.
Definition at line 79 of file TAuxManager.cxx.
|
overridevirtual |
Function getting a const pointer to the object being handled.
Implements xAOD::TVirtualManager.
Definition at line 48 of file TAuxManager.cxx.
|
overridevirtual |
Function getting a pointer to the object being handled.
Implements xAOD::TVirtualManager.
Definition at line 53 of file TAuxManager.cxx.
| TAuxManager & xAOD::TAuxManager::operator= | ( | const TAuxManager & | rhs | ) |
|
overridevirtual |
Reset the object at the end of processing of an event.
Resetting an auxiliary store needs to be done in a smart way.
Container stores need to be emptied, while object stores don't need to be touched.
Implements xAOD::TVirtualManager.
Definition at line 88 of file TAuxManager.cxx.
|
overridevirtual |
Function replacing the object being handled.
Implements xAOD::TVirtualManager.
Definition at line 58 of file TAuxManager.cxx.
|
private |
The auxiliary store object.
Definition at line 68 of file TAuxManager.h.
|
private |
Pointer to the auxiliary store object.
Definition at line 70 of file TAuxManager.h.
1.8.18