|
ATLAS Offline Software
|
Go to the documentation of this file.
28 return StatusCode::SUCCESS;
37 if ( writeHandle.isValid() ) {
38 ATH_MSG_DEBUG(
"CondHandle " << writeHandle.fullKey() <<
" is already valid.. In theory this should not be called, but may happen if multiple concurrent events are being processed out of order.");
39 return StatusCode::SUCCESS;
43 std::vector<const LArXTalkWeight*>
weights;
58 std::unique_ptr<LArXTalkWeightGlobal> xtalk = std::make_unique<LArXTalkWeightGlobal>(
weights);
61 if(writeHandle.record(std::move(xtalk)).isFailure()) {
64 <<
" with EventRange " << writeHandle.getRange()
65 <<
" into Conditions Store");
66 return StatusCode::FAILURE;
69 ATH_MSG_DEBUG(
"recorded new " << writeHandle.key() <<
" with range "
70 << writeHandle.getRange() <<
" into Conditions Store");
71 return StatusCode::SUCCESS;
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArXTalkWeight > m_xtmiddleback_ecowKey
SG::ReadCondHandleKey< LArXTalkWeight > m_xtmiddle1Key
LArXTalkWeightGlobalCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< LArXTalkWeight > m_xtstripmiddle_ecKey
SG::ReadCondHandleKey< LArXTalkWeight > m_xt2strip_ecKey
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadCondHandleKey< LArXTalkWeight > m_xtmiddle1_ecKey
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute(const EventContext &ctx) const override
static EventIDRange infiniteRunLB()
Produces an EventIDRange that is infinite in RunLumi and invalid in Time.
SG::ReadCondHandleKey< LArXTalkWeight > m_xtmiddleback_eciwKey
SG::ReadCondHandleKey< LArXTalkWeight > m_xtstripKey
SG::ReadCondHandleKey< LArXTalkWeight > m_xtstripmiddleKey
StatusCode initialize(bool used=true)
SG::ReadCondHandleKey< LArXTalkWeight > m_xtmiddle2_ecKey
SG::ReadCondHandleKey< LArXTalkWeight > m_xtstrip_ecKey
const LArXTalkWeight * pointerFromKey(const EventContext &context, const SG::ReadCondHandleKey< LArXTalkWeight > &key) const
SG::ReadCondHandleKey< LArXTalkWeight > m_xtmiddle2Key
SG::ReadCondHandleKey< LArXTalkWeight > m_xt2stripKey
SG::WriteCondHandleKey< LArXTalkWeightGlobal > m_xtalkKey
SG::ReadCondHandleKey< LArXTalkWeight > m_xtmiddlebackKey