43 return StatusCode::SUCCESS;
53 int xint = (**attrList)[
"xint"].data<
int>();
59 auto s2 = std::make_unique<DMTest::S2> (xint*100);
64 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Testing conditions algorithms.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Base class for conditions algorithms.
SG::ReadCondHandleKey< AthenaAttributeList > m_attrListKey
SG::WriteCondHandleKey< DMTest::S2 > m_scondKey
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
CondAlg1(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
bool range(EventIDRange &r)
const std::string & key() const
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED