18#include "Gaudi/Property.h"
37 return StatusCode::SUCCESS;
44 return StatusCode::SUCCESS;
59 if ( inputScalarHandle.
isValid() )
73#ifdef TRY_COMPILATION_ERRORS
74 inputVectorHandle->push_back(666);
81 ATH_MSG_INFO(
"temporary r-handle[ints] - size: " << ints->size() );
90 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
91 return StatusCode::FAILURE;
99 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
100 return StatusCode::FAILURE;
111 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
112 return StatusCode::FAILURE;
117 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
118 return StatusCode::FAILURE;
120 }
catch (std::exception &err) {
125 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
126 return StatusCode::FAILURE;
136 ATH_MSG_INFO(
"Update handle final: " << testUpdate->val() );
140 ATH_MSG_INFO(
"Conditions handle test: " << **testConditions <<
" from key " << testConditions.
fullKey() );
142 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define CHECK(...)
Evaluate an expression and check for errors.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< std::vector< int > > m_r_ints
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
SG::WriteHandleKey< int > m_w_dflowDummy
virtual StatusCode finalize() override
SG::ReadHandleKey< int > m_r_int
SG::ReadHandleKey< HiveDataObj > m_testUpdate
SG::ReadCondHandleKey< CondDataObj > m_condKeyTest
const DataObjID & fullKey() const
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
virtual StatusCode setProxyDict(IProxyDict *store)
Explicitly set the event store.
std::string store() const
Return the name of the store holding the object we are proxying.
CLID clid() const
Return the class ID for the referenced object.
const std::string & name() const
Return the StoreGate ID for the referenced object.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const ExtendedEventContext & getExtendedEventContext(const EventContext &ctx)
Retrieve an extended context from a context object.