10 ISvcLocator* pSvcLocator ) :
28 return StatusCode::SUCCESS;
39 return StatusCode::FAILURE;
47 EventIDBase t( getContext().eventID() );
63 ATH_MSG_INFO(
"test: " << getContext().eventID().event_number() <<
" "
64 << rh1->val() <<
" " << **ch1 <<
" " << **ch2);
66 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Handle class for reading from StoreGate.
AlgD(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::ReadCondHandleKey< CondDataObj > m_rch2
SG::ReadCondHandleKey< CondDataObj > m_rch1
virtual StatusCode execute() override
SG::ReadHandleKey< HiveDataObj > m_rdh1
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
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.