11 ISvcLocator* pSvcLocator ) :
22 ATH_MSG_INFO(
" m_di was: " << m_di <<
" setting to -1 ");
43 return StatusCode::SUCCESS;
56 ATH_MSG_INFO(
"m_di was: " << m_di <<
" setting to " << s);
64 return StatusCode::SUCCESS;
73 std::ostringstream ost;
76 m_di.for_all([&ost] (
size_t s,
const int i)
77 { ost <<
" s: " << s <<
" v: " << i << std::endl; } );
#define ATH_CHECK
Evaluate an expression and check for errors.
Simple Algorithm that writes a single HiveDataObj to the store.
SG::WriteHandleKey< HiveDataObj > m_wrh1
HiveAlgB(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode finalize() override
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
unsigned int sleep(const EventContext &ctx) const
virtual StatusCode initialize() override
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.