11 ISvcLocator* pSvcLocator ) :
22 ATH_MSG_INFO(
"context: " << Gaudi::Hive::currentContext() <<
" for "
25 ATH_MSG_INFO(
" m_di was: " << m_di <<
" setting to -1 ");
41 ATH_MSG_INFO(
"context: " << Gaudi::Hive::currentContext());
47 return StatusCode::SUCCESS;
60 ATH_MSG_INFO(
"m_di was: " << m_di <<
" setting to " << s);
68 return StatusCode::SUCCESS;
77 std::ostringstream ost;
80 m_di.for_all([&ost] (
size_t s,
const int i)
81 { 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
unsigned int sleep() const
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
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.