|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAODROOTACCESS_TOOL_TCDVHOLDERT_H
8 #define XAODROOTACCESS_TOOL_TCDVHOLDERT_H
36 ::Bool_t owner = kTRUE );
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;
63 #endif // XAODROOTACCESS_TOOL_TCDVHOLDERT_H
virtual const void * getAsConst(const std::type_info &tid, ::Bool_t silent=kFALSE) const
Return the object as a specific, constant pointer.
DataVector adapter that acts like it holds const pointers.
This class takes care of holding EDM objects in memory.
ConstDataVector< T > * m_cdvObject
Type specific pointer to the managed object.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
THolder m_holderHelper
Helper object managing the inheritance tree of the underlying DataVector type.
TCDVHolderT(ConstDataVector< T > *object, const std::type_info &type, ::Bool_t owner=kTRUE)
Constructor with the object, and its type.
Class managing ConstDataVector objects in transient memory.
virtual void set(void *obj)
Replace the managed object.
def silent(func)
Redirect stdout/err to /dev/null Useful wrapper to get rid of ROOT verbosity...
ConstDataVector< T > Object_t
Type of the managed object.
virtual void * getAs(const std::type_info &tid, ::Bool_t silent=kFALSE) const
Return the object as a specific pointer.