 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef STOREGATE_READDECORHANDLEKEY_H
15 #define STOREGATE_READDECORHANDLEKEY_H
118 const std::string& decorKey =
"",
135 template <
class OWNER,
138 const std::string&
name,
139 const std::string&
key = {},
140 const std::string&
doc =
"");
153 template <
class OWNER,
156 const std::string&
name,
158 const std::string& decorKey = {},
159 const std::string&
doc =
"");
238 #endif // not STOREGATE_READDECORHANDLEKEY_H
Property holding a SG store/key/clid from which a ReadHandle is made.
ReadHandleKey< T > m_contHandleKey
The container handle.
std::conditional< has_base, typename TopBase< Base1 >::type, T >::type type
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.
ReadDecorHandleKey(OWNER *owner, const std::string &name, const std::string &key={}, const std::string &doc="")
auto-declaring Property Constructor.
ReadDecorHandleKey & operator=(const std::string &sgkey)
Change the key of the object to which we're referring.
const VarHandleKey * m_contKey
Optional container from which decorations are read.
ReadDecorHandleKey(OWNER *owner, const std::string &name, const VarHandleKey &contKey, const std::string &decorKey={}, const std::string &doc="")
auto-declaring Property Constructor.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Calculate topmost accessible base accessible via SG_BASES.
SG::TopBase< T >::type topbase_t
Class for which we set the CLID. See above.
CLID clid() const
Return the class ID for the referenced object.
::StatusCode StatusCode
StatusCode definition for legacy code.
ReadDecorHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
uint32_t CLID
The Class ID type.
virtual StatusCode assign(const std::string &sgkey) override
Change the key of the object to which we're referring.
A property holding a SG store/key/clid from which a VarHandle is made.
virtual std::string pythonRepr() const override
Python representation of Handle.
const ReadHandleKey< T > & contHandleKey() const
Return the handle key for the container.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
static const std::string & storeName(const StoreID::type &s)
ReadHandleKey< T > Base
Base class.
ReadDecorHandleKey(const VarHandleKey &contKey, const std::string &decorKey="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor with associated container.