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. | |
TAuxManager (const TAuxManager &parent) | |
Copy constructor. | |
TAuxManager & | operator= (const TAuxManager &rhs) |
Assignment operator. | |
virtual ::Int_t | getEntry (::Long64_t entry,::Int_t getall=0) |
Function for updating the object in memory if needed. | |
virtual void * | object () const |
Function getting a pointer to the object being handled. | |
virtual void | setObject (void *obj) |
Function replacing the object being handled. | |
virtual ::Bool_t | isSet (::Bool_t forceSet=kTRUE) const |
Check if the object was set for the current event. | |
virtual void | reset () |
Reset the object at the end of processing of an event. | |
TAuxStore * | getStore () const |
Get a type-specific pointer to the managed object. | |
const SG::IConstAuxStore * | getConstStore () const |
Get a convenience pointer to the managed object. |
Manager for TAuxStore objects.
This class is used when connecting TAuxStore objects to the input tree as the auxiliary store of a DV container.
Bool_t xAOD::TAuxManager::isSet | ( | ::Bool_t | forceSet = kTRUE |
) | const [virtual] |
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...
forceSet | Ignored as it does not apply |
kTRUE
Implements xAOD::TVirtualManager.
void xAOD::TAuxManager::reset | ( | ) | [virtual] |
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.