14#ifndef STOREGATE_WRITEDECORHANDLEKEY_H
15#define STOREGATE_WRITEDECORHANDLEKEY_H
123 const std::string& decorKey =
"",
140 template <std::derived_from<IProperty> OWNER>
142 const std::string& name,
143 const std::string&
key = {},
144 const std::string& doc =
"");
159 template <std::derived_from<IProperty> OWNER>
161 const std::string& name,
163 const std::string& decorKey = {},
164 const std::string& doc =
"");
189 virtual StatusCode
assign (
const std::string& sgkey)
override;
238 friend class ::AthAlgorithm;
239 friend class ::AthReentrantAlgorithm;
240 friend class ::AthAlgTool;
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Base class from which non-reentrant (not thread-safe) Athena algorithm classes should be derived.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a ReadHandle is made.
A property holding a SG store/key/clid from which a VarHandle is made.
const std::string & key() const
WriteDecorHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
WriteDecorHandleKey(OWNER *owner, const std::string &name, const VarHandleKey &contKey, const std::string &decorKey={}, const std::string &doc="")
auto-declaring Property Constructor.
static constexpr bool isDecorHandleKey
WriteDecorHandleKey & operator=(const std::string &sgkey)
Change the key of the object to which we're referring.
ReadHandleKey< T > & contHandleKey_nc()
Return the handle key for the container.
StatusCode initialize(AllowEmptyEnum)
If this object is used as a property, then this should be called during the initialize phase.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
WriteDecorHandleKey(OWNER *owner, const std::string &name, const std::string &key={}, const std::string &doc="")
auto-declaring Property Constructor.
bool renounced() const
Return the renounced flag.
virtual std::string pythonRepr() const override
Python representation of Handle.
void renounce()
Declare that this item does not participate in scheduling.
const ReadHandleKey< T > & contHandleKey() const
Return the handle key for the container.
ReadHandleKey< xAOD::MuonSegmentContainer > m_contHandleKey
WriteDecorHandleKey(const VarHandleKey &contKey, const std::string &decorKey="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor with associated container.
virtual StatusCode assign(const std::string &sgkey) override
Change the key of the object to which we're referring.
const VarHandleKey * m_contKey
WriteHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
static const std::string & storeName(const StoreID::type &s)
holding In fact this class is here in order to allow STL container for all features This class is sho...