![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef ASG_DATA_HANDLES_READ_DECOR_HANDLE_H
16 #define ASG_DATA_HANDLES_READ_DECOR_HANDLE_H
18 #ifndef XAOD_STANDALONE
45 template <
class T,
class D>
47 :
public ReadHandle<T>
87 const EventContext& ctx);
271 #endif // not STOREGATE_READDECORHANDLE_READDECORHANDLE_H
typename AuxDataTraits< T, ALLOC >::const_container_pointer_type const_container_pointer_type
Pointer into the container holding this item.
bool isPresent() const
Is the referenced container present in SG?
Helper class to provide constant type-safe access to aux data.
const_reference_type operator()(const AuxElement &e) const
Fetch the variable for one element, as a const reference.
typename AuxDataTraits< T, ALLOC >::const_reference_type const_reference_type
Type referencing an item.
a smart pointer to an object of a given type in an IProxyDict (such as StoreGateSvc)....
SG::AuxElement::ConstAccessor< D > accessor_t
Accessor type for aux data.
typename accessor_t::const_container_pointer_type const_container_pointer_type
Pointer into the vector holding an aux data item.
ReadDecorHandle(const ReadDecorHandleKey< T > &key)
Constructor from a ReadDecorHandleKey.
ReadHandle< T > Base
Base class.
typename accessor_t::const_reference_type const_reference_type
Type referencing an aux data item.
std::string decorKey() const
Return the name of the decoration alias (CONT.DECOR).
Handle class for reading a decoration on an object.
const SG::AuxVectorData * vectorData()
Return the referenced object as a SG::AuxVectorData.
Manage lookup of vectors of auxiliary data.
bool isAvailable()
Test to see if this variable exists in the store, for the referenced object.
Base class for elements of a container that can have aux data.
std::string m_decorKey
Name of the decoration alias.
accessor_t m_acc
Accessor for the aux data item.