11 ISvcLocator* pSvcLocator ) :
35 return StatusCode::FAILURE;
41 return StatusCode::FAILURE;
47 if ( rdh2->val() != (rdh1->val() +
m_off) ) {
53 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
unsigned int sleep() const
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::ReadHandleKey< HiveDataObj > m_rdh1
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< HiveDataObj > m_rdh2
virtual StatusCode initialize() override
Gaudi::Property< int > m_off
HiveAlgM(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.