|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ViewAlgs_IDCCacheCreatorBase_h
6 #define ViewAlgs_IDCCacheCreatorBase_h
20 template<
bool checkKey = true,
typename T>
22 template<
bool checkKey = true,
typename T,
typename X>
30 template<
bool checkKey,
typename T>
33 if constexpr (checkKey){
34 if(containerKey.
key().empty()){
35 ATH_MSG_DEBUG(
"Creation of container "<< containerKey.
key() <<
" is disabled (no name specified)");
36 return StatusCode::SUCCESS;
42 return StatusCode::SUCCESS;
45 template<
bool checkKey,
typename T,
typename X>
48 if constexpr (checkKey){
49 if(containerKey.
key().empty()){
50 ATH_MSG_DEBUG(
"Creation of container "<< containerKey.
key() <<
" is disabled (no name specified)");
51 return StatusCode::SUCCESS;
57 return StatusCode::SUCCESS;
StatusCode createContainer(const SG::WriteHandleKey< T > &, long unsigned int, const EventContext &) const
std::atomic_flag m_disableWarningCheck ATLAS_THREAD_SAFE
StatusCode checkInsideViewOnce(const EventContext &) const
const std::string & key() const
Return the StoreGate ID for the referenced object.
An algorithm that can be simultaneously executed in multiple threads.
StatusCode createValueContainer(const SG::WriteHandleKey< T > &, long unsigned int, const EventContext &, const X &defaultValue) const
Property holding a SG store/key/clid from which a WriteHandle is made.
StatusCode recordNonConst(std::unique_ptr< T > data)
Record a non-const object to the store.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~IDCCacheCreatorBase()=default
Destructor.
IDCCacheCreatorBase(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
This class is to provide an event wide MT container for concurrent storing of basic types,...
bool isInsideView(const EventContext &) const