![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef ASG_DATA_HANDLES_WRITE_DECOR_HANDLE_H
13 #define ASG_DATA_HANDLES_WRITE_DECOR_HANDLE_H
15 #ifndef XAOD_STANDALONE
42 template <
class T,
class D>
43 class WriteDecorHandle
44 :
public ReadHandle<T>
83 const EventContext& ctx);
311 const EventContext& ctx);
typename accessor_t::container_pointer_type container_pointer_type
Pointer into the vector holding an aux data item.
bool isAvailable()
Test to see if this variable exists in the store, for the referenced object.
std::string decorKey() const
Return the name of the decoration alias (CONT.DECOR).
reference_type operator()(const AuxElement &e)
Fetch the variable for one element, as a reference.
a smart pointer to an object of a given type in an IProxyDict (such as StoreGateSvc)....
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
SG::AuxElement::Decorator< D > accessor_t
Accessor type for aux data.
Helper class to provide type-safe access to aux data.
Handle class for adding a decoration to an object.
typename AuxDataTraits< T, ALLOC >::container_pointer_type container_pointer_type
Pointer into the container holding this item.
typename AuxDataTraits< T, ALLOC >::reference_type reference_type
Type referencing an item.
WriteDecorHandle(const WriteDecorHandleKey< T > &key)
Constructor from a WriteDecorHandleKey.
ReadHandle< T > Base
Base class.
typename accessor_t::reference_type reference_type
Type referencing an aux data item.
bool isPresent() const
Is the referenced container present in SG?
std::string m_decorKey
Name of the decoration alias: CONT.DECOR.
accessor_t m_acc
Accessor for the aux data item.
Base class for elements of a container that can have aux data.