|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/ConcurrencyFlags.h"
27 ATH_MSG_WARNING(
"LockDecoration used in MT job. This configuration is likely not thread-safe." );
30 return StatusCode::SUCCESS;
43 if (auxid == SG::null_auxid) {
45 return StatusCode::FAILURE;
49 return StatusCode::SUCCESS;
static AuxTypeRegistry & instance()
Return the singleton registry instance.
SG::WriteDecorHandleKey< SG::AuxVectorBase > m_decoration
The decoration to lock.
std::string decorKeyFromKey(const std::string &key)
Extract the decoration part of key.
void lockDecoration(SG::auxid_t auxid)
Explicitly lock a decoration.
const std::string & key() const
Return the StoreGate ID for the referenced object.
Some common helper functions used by decoration handles.
Manage index tracking and synchronization of auxiliary data.
Manage index tracking and synchronization of auxiliary data.
size_t auxid_t
Identifier for a particular aux data item.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute(const EventContext &ctx) const override
Execute algorithm.
const ReadHandleKey< T > & contHandleKey() const
Return the handle key for the container.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
#define ATH_MSG_WARNING(x)
Handle mappings between names and auxid_t.
#define ATLAS_THREAD_SAFE
Define macros for attributes used to control the static checker.
Algorithm to explicitly lock a decoration.