18#include "Gaudi/Property.h"
32 ISvcLocator* pSvcLocator ) :
72 return StatusCode::SUCCESS;
79 return StatusCode::SUCCESS;
86 const EventContext& ctx = getContext();
96 if ( inputScalarHandle.
isValid() )
110#ifdef TRY_COMPILATION_ERRORS
111 inputVectorHandle->push_back(666);
118 ATH_MSG_INFO(
"temporary r-handle[ints] - size: " << ints->size() );
127 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
128 return StatusCode::FAILURE;
136 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
137 return StatusCode::FAILURE;
148 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
149 return StatusCode::FAILURE;
154 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
155 return StatusCode::FAILURE;
157 }
catch (std::exception &err) {
162 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
163 return StatusCode::FAILURE;
173 ATH_MSG_INFO(
"Update handle final: " << testUpdate->val() );
177 ATH_MSG_INFO(
"Conditions handle test: " << **testConditions <<
" from key " << testConditions.
fullKey() );
179 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.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
SG::ReadHandleKey< std::vector< int > > m_r_ints
virtual StatusCode finalize()
SG::WriteHandleKey< int > m_w_dflowDummy
virtual ~DFlowAlg3()
Destructor:
DFlowAlg3()
Default constructor:
virtual StatusCode execute()
virtual StatusCode initialize()
SG::ReadHandleKey< int > m_r_int
Containers.
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.