8 ISvcLocator* pSvcLocator ) :
37 return StatusCode::FAILURE;
47 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Simple Algorithm that reads one HiveDataObj created by HiveAlgA, and writes out one object.
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::ReadHandleKey< HiveDataObj > m_rdh1
virtual StatusCode execute() override
virtual StatusCode initialize() override
SG::WriteHandleKey< HiveDataObj > m_wrh1
HiveAlgD(const std::string &name, ISvcLocator *pSvcLocator)
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual const std::string & key() const override final
Return the StoreGate ID for the referenced object.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.