doubly templated class interfacing access to feature containers in StoreGate. More...
#include <TypedHolder.h>
Public Member Functions | |
TypedHolder (const BaseHolder &baseholder, EventPtr store, const std::string &container_name=ClassID_traits< CONTAINER >::typeName()) | |
constructor from BaseHolder. Throws runtime exception if clids of BaseHolder and FEATURE type don't match | |
TypedHolder (const TypelessHolder &typeless, EventPtr store, const std::string &container_name=ClassID_traits< CONTAINER >::typeName()) | |
constructor from BaseHolder. Throws runtime exception if clids of BaseHolder and FEATURE type don't match | |
std::string | key () |
key used to access EventStore | |
template<typename T > | |
StatusCode_if< T, true > | get (const T *&destination, HLT::TriggerElement::ObjectIndex idx) |
method creates a new VIEW container containing pointers to the elements pointed to by the ObjectIndex. Caller owns the VIEW container. Only enabled for CONTAINER holders | |
template<typename T > | |
StatusCode_if< T, false > | get (const T *&destination, HLT::TriggerElement::ObjectIndex idx) |
method retrieves container from storegated and returns pointer at passed ObjectIndex Only enabled for ELEMENT holders (i.e. non CONTAINER) |
doubly templated class interfacing access to feature containers in StoreGate.