19#include "Gaudi/Property.h"
32 ISvcLocator* pSvcLocator ) :
65 return StatusCode::SUCCESS;
72 return StatusCode::SUCCESS;
79 const EventContext& ctx = getContext();
84 ATH_MSG_ERROR(
"Failed to retrieve initial view data from store " << inputData.
store() );
85 return StatusCode::FAILURE;
87 int seedData = *inputData;
112 ATH_MSG_INFO(
"Update handle initial: " << testUpdate->val() );
114 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define CHECK(...)
Evaluate an expression and check for errors.
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
DFlowAlg1()
Default constructor:
virtual StatusCode execute()
SG::WriteHandleKey< HiveDataObj > m_testUpdate
virtual StatusCode initialize()
SG::ReadHandleKey< int > m_r_int
Containers.
virtual ~DFlowAlg1()
Destructor:
virtual StatusCode finalize()
SG::WriteHandleKey< int > m_w_int
virtual bool isValid() override final
Can the handle be successfully dereferenced?
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.
const_pointer_type cptr() const
Dereference the pointer.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
StatusCode recordNonConst(std::unique_ptr< T > data)
Record a non-const object to the store.
virtual bool isValid() override final
Can the handle be successfully dereferenced?