#include <TCDVHolderT.h>
Public Types | |
typedef ConstDataVector< T > | Object_t |
Type of the managed object. | |
Public Member Functions | |
TCDVHolderT (ConstDataVector< T > *object, const std::type_info &type,::Bool_t owner=kTRUE) | |
Constructor with the object, and its type. | |
virtual void | set (void *obj) |
Replace the managed object. | |
virtual const void * | getAsConst (const std::type_info &tid,::Bool_t silent=kFALSE) const |
Return the object as a specific, constant pointer. |
Class managing ConstDataVector objects in transient memory
In order to be able to record ConstDataVector objects into the transient store, and be able to retrieve them as "const DataVector", we need to use a specialised holder type. Very much like how we use a specialised SG::DataBucket for this type in Athena's StoreGate.