14#ifndef STOREGATE_READDECORHANDLEKEY_H
15#define STOREGATE_READDECORHANDLEKEY_H
121 const std::string& decorKey =
"",
138 template <std::derived_from<IProperty> OWNER>
140 const std::string& name,
141 const std::string&
key = {},
142 const std::string& doc =
"");
155 template <std::derived_from<IProperty> OWNER>
157 const std::string& name,
159 const std::string& decorKey = {},
160 const std::string& doc =
"");
185 virtual StatusCode
assign (
const std::string& sgkey)
override;
uint32_t CLID
The Class ID type.
Property holding a SG store/key/clid from which a ReadHandle is made.
Calculate topmost accessible base accessible via SG_BASES.
ReadHandleKey< T > Base
Base class.
ReadDecorHandleKey & operator=(const std::string &sgkey)
Change the key of the object to which we're referring.
CLID clid() const
Return the class ID for the referenced object.
const ReadHandleKey< T > & contHandleKey() const
Return the handle key for the container.
SG::TopBase< T >::type topbase_t
Class for which we set the CLID. See above.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual StatusCode assign(const std::string &sgkey) override
Change the key of the object to which we're referring.
ReadDecorHandleKey(OWNER *owner, const std::string &name, const std::string &key={}, const std::string &doc="")
auto-declaring Property Constructor.
const VarHandleKey * m_contKey
ReadDecorHandleKey(const VarHandleKey &contKey, const std::string &decorKey="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor with associated container.
static constexpr bool isDecorHandleKey
ReadDecorHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
virtual std::string pythonRepr() const override
Python representation of Handle.
ReadDecorHandleKey(OWNER *owner, const std::string &name, const VarHandleKey &contKey, const std::string &decorKey={}, const std::string &doc="")
auto-declaring Property Constructor.
ReadHandleKey< xAOD::TruthParticleContainer > m_contHandleKey
ReadHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
A property holding a SG store/key/clid from which a VarHandle is made.
const std::string & key() const
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...
typename std::conditional< has_base &&base_has_clid, typename TopBase< Base1 >::type, T >::type type