|
ATLAS Offline Software
|
Go to the documentation of this file.
29 return StatusCode::SUCCESS;
40 if (writeHandle.isValid()) {
41 ATH_MSG_DEBUG(
"CondHandle " << writeHandle.fullKey() <<
" is already valid."
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;
56 writeHandle.addDependency(readHandle);
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;
virtual StatusCode execute(const EventContext &ctx) const override
SiDetElementBoundaryLinksCondAlg_xk(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::WriteCondHandleKey< InDet::SiDetElementBoundaryLinks_xk > m_writeKey
Output condition object for SiCombinatorialTrackFinder_xk.
const std::string & key() const
Return the StoreGate ID for the referenced object.
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_readKey
Input condition object, detector elements of Pixel or SCT in condition store.
StatusCode initialize(bool used=true)
BooleanProperty m_ITkGeometry
virtual StatusCode finalize() override