19 return StatusCode::SUCCESS;
24 EventIDBase now(ctx.eventID());
35 <<
" rh3: " << cdo3->
val());
42 return StatusCode::SUCCESS;
51 float val = rch1->val() + rch2->val() + rch3->val();
53 if (wch.
record( std::make_unique<CondDataObjZ>
57 <<
" with EventRange " << wch.
getRange() );
58 return StatusCode::FAILURE;
62 <<
" with range " << wch.
getRange() );
64 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
SG::ReadCondHandleKey< CondDataObjY > m_rchk2
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandleKey< CondDataObjY > m_rchk3
virtual StatusCode initialize() override
SG::ReadCondHandleKey< CondDataObj > m_rchk1
SG::WriteCondHandleKey< CondDataObjZ > m_wch
const std::string & key() const
void addDependency(const EventIDRange &range)
const EventIDRange & getRange() const
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED