29 return StatusCode::SUCCESS;
42 <<
". In theory this should not be called, but may happen"
43 <<
" if multiple concurrent events are being processed out of order.");
44 return StatusCode::SUCCESS;
50 if (readCdo==
nullptr) {
52 return StatusCode::FAILURE;
61 std::unique_ptr<InDet::SiDetElementBoundaryLinks_xk> writeCdo{std::make_unique<InDet::SiDetElementBoundaryLinks_xk>()};
65 writeCdo->push_back(dl);
69 if (writeHandle.
record(std::move(writeCdo)).isFailure()) {
71 <<
" with EventRange " << writeHandle.
getRange()
72 <<
" into Conditions Store");
73 return StatusCode::FAILURE;
75 ATH_MSG_DEBUG(
"recorded new CDO " << writeHandle.
key() <<
" with range " << writeHandle.
getRange() <<
" into ConditionStore");
77 return StatusCode::SUCCESS;
84 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Base class for conditions algorithms.
Class to hold the SiDetectorElement objects to be put in the detector store.
Class to hold geometrical description of a silicon detector element.
SG::WriteCondHandleKey< InDet::SiDetElementBoundaryLinks_xk > m_writeKey
Output condition object for SiCombinatorialTrackFinder_xk.
virtual StatusCode initialize() override
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_readKey
Input condition object, detector elements of Pixel or SCT in condition store.
SiDetElementBoundaryLinksCondAlg_xk(const std::string &name, ISvcLocator *pSvcLocator)
BooleanProperty m_ITkGeometry
virtual StatusCode finalize() override
virtual StatusCode execute(const EventContext &ctx) const override
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
const DataObjID & fullKey() const