7#ifndef XAODROOTACCESS_TOOL_TCDVHOLDERT_H
8#define XAODROOTACCESS_TOOL_TCDVHOLDERT_H
36 ::Bool_t owner = kTRUE );
39 virtual void set(
void* obj );
42 virtual void*
getAs(
const std::type_info& tid,
43 ::Bool_t silent = kFALSE )
const;
46 virtual const void*
getAsConst(
const std::type_info& tid,
47 ::Bool_t silent = kFALSE )
const;
DataVector adapter that acts like it holds const pointers.
virtual void set(void *obj)
Replace the managed object.
virtual void * getAs(const std::type_info &tid, ::Bool_t silent=kFALSE) const
Return the object as a specific pointer.
ConstDataVector< T > * m_cdvObject
Type specific pointer to 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.
ConstDataVector< T > Object_t
Type of the managed object.
TCDVHolderT(ConstDataVector< T > *object, const std::type_info &type, ::Bool_t owner=kTRUE)
Constructor with the object, and its type.
THolder m_holderHelper
Helper object managing the inheritance tree of the underlying DataVector type.
THolder()
Default constructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.