 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef STOREGATE_WRITEDECORHANDLEKEY_H
15 #define STOREGATE_WRITEDECORHANDLEKEY_H
119 const std::string& decorKey =
"",
136 template <
class OWNER,
139 const std::string&
name,
140 const std::string&
key = {},
141 const std::string&
doc =
"");
156 template <
class OWNER,
159 const std::string&
name,
161 const std::string& decorKey = {},
162 const std::string&
doc =
"");
236 friend class ::AthAlgorithm;
237 friend class ::AthReentrantAlgorithm;
238 friend class ::AthAlgTool;
270 #endif // not STOREGATE_WRITEDECORHANDLEKEY_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
bool m_renounced
True if this key has been the target of a renounce().
void renounce()
Declare that this item does not participate in scheduling.
virtual StatusCode assign(const std::string &sgkey) override
Change the key of the object to which we're referring.
ReadHandleKey< T > & contHandleKey_nc()
Return the handle key for the container.
WriteDecorHandleKey(const VarHandleKey &contKey, const std::string &decorKey="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor with associated container.
const std::string & key() const
Return the StoreGate ID for the referenced object.
Property holding a SG store/key/clid from which a ReadHandle is made.
bool renounced() const
Return the renounced flag.
An algorithm that can be simultaneously executed in multiple threads.
WriteDecorHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
ReadHandleKey< T > m_contHandleKey
The container handle.
Property holding a SG store/key/clid from which a WriteHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
WriteDecorHandleKey(OWNER *owner, const std::string &name, const std::string &key={}, const std::string &doc="")
auto-declaring Property Constructor.
virtual std::string pythonRepr() const override
Python representation of Handle.
Property holding a SG store/key/clid from which a WriteHandle is made.
StatusCode initialize(AllowEmptyEnum)
If this object is used as a property, then this should be called during the initialize phase.
A property holding a SG store/key/clid from which a VarHandle is made.
const ReadHandleKey< T > & contHandleKey() const
Return the handle key for the container.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
const VarHandleKey * m_contKey
Optional container on which decorations are applied.
WriteDecorHandleKey & operator=(const std::string &sgkey)
Change the key of the object to which we're referring.
WriteDecorHandleKey(OWNER *owner, const std::string &name, const VarHandleKey &contKey, const std::string &decorKey={}, const std::string &doc="")
auto-declaring Property Constructor.
static const std::string & storeName(const StoreID::type &s)