25 return StatusCode::SUCCESS;
32 return StatusCode::SUCCESS;
38 if (writeHandle.isValid()) {
39 ATH_MSG_DEBUG(
"CondHandle " << writeHandle.fullKey() <<
" is already valid."
40 <<
". In theory this should not be called, but may happen"
41 <<
" if multiple concurrent events are being processed out of order.");
42 return StatusCode::SUCCESS;
50 if (readCdo==
nullptr) {
52 return StatusCode::FAILURE;
55 writeHandle.addDependency(readHandle);
56 ATH_MSG_INFO(
"Size of CondAttrListCollection " << readHandle.fullKey() <<
" readCdo->size()= " << readCdo->size());
57 ATH_MSG_INFO(
"Range of input is " << readHandle.getRange());
60 std::unique_ptr<SCT_DCSFloatCondData> writeCdo{std::make_unique<SCT_DCSFloatCondData>()};
63 std::string param{
"HVCHVOLT_RECV"};
67 for (; attrList!=
end; ++attrList) {
73 writeCdo->setValue(channelNumber,
val);
75 ATH_MSG_WARNING(param <<
" does not exist for ChanNum " << channelNumber);
80 if (writeHandle.record(std::move(writeCdo)).isFailure()) {
81 ATH_MSG_FATAL(
"Could not record SCT_DCSFloatCondData " << writeHandle.key()
82 <<
" with EventRange " << writeHandle.getRange()
83 <<
" into Conditions Store");
84 return StatusCode::FAILURE;
86 ATH_MSG_INFO(
"recorded new CDO " << writeHandle.key() <<
" with range " << writeHandle.getRange() <<
" into Conditions Store");
88 return StatusCode::SUCCESS;
94 return StatusCode::SUCCESS;