8 ISvcLocator* pSvcLocator ) :
41 return StatusCode::FAILURE;
47 return StatusCode::FAILURE;
53 return StatusCode::FAILURE;
59 return StatusCode::FAILURE;
65 return StatusCode::FAILURE;
71 return StatusCode::FAILURE;
78 ATH_MSG_INFO(
"test: " << getContext().eventID().event_number() <<
" "
79 << rdh1->val() + rdh2->val() + rdh3->val()
88 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Simple Algorithm that reads 6 HiveDataObjs created by HiveAlgA, HiveAlgB, HiveAlgC,...
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::ReadHandleKey< HiveDataObj > m_rdh2
SG::ReadHandleKey< HiveDataObj > m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh5
SG::ReadHandleKey< HiveDataObj > m_rdh6
SG::ReadHandleKey< HiveDataObj > m_rdh3
SG::ReadHandleKey< HiveDataObj > m_rdh4
virtual StatusCode execute() override
HiveAlgF(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
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.