16 return StatusCode::SUCCESS;
23 if (writeHandle.isValid()) {
25 return StatusCode::SUCCESS;
32 return StatusCode::FAILURE;
35 if(!cHdl.
range(rangeIn)) {
37 return StatusCode::FAILURE;
40 std::unique_ptr<LArFEBTempData> febTemp=std::make_unique<LArFEBTempData>();
44 citr!=cattr->
end();++citr) {
46 if(! ((*citr).second)[
"temp1"].isNull()) temp1 = (((*citr).second)[
"temp1"]).data<
float>();
48 if(! ((*citr).second)[
"temp2"].isNull()) temp2 = (((*citr).second)[
"temp2"]).data<float>();
54 const EventIDRange crangeW(rangeIn);
55 if(writeHandle.record(crangeW,febTemp.release()).isFailure()) {
56 ATH_MSG_ERROR(
"Could not record LArFebConfig object with " << writeHandle.key()
57 <<
" with EventRange " << crangeW <<
" into Conditions Store");
58 return StatusCode::FAILURE;
61 ATH_MSG_INFO(
"recorded new " << writeHandle.key() <<
" with range " << crangeW <<
" into Conditions Store");
63 return StatusCode::SUCCESS;