22 ATH_MSG_ERROR(
"Configuration error: both COOL folder and det store key specified." );
23 return StatusCode::FAILURE;
29 ATH_MSG_ERROR(
"Configuration error: neither COOL folder nor det store key specified." );
30 return StatusCode::FAILURE;
35 return StatusCode::SUCCESS;
48 auto tc = std::make_unique<CaloRec::ToolConstants>();
55 const unsigned chNbr =
m_blobTool->nameToChannelNumber (key);
57 const std::string& chanName = coolFolder->chanName (chNbr);
58 if (!chanName.empty() && key!=chanName) {
59 ATH_MSG_ERROR(
"Channel name does not match! Expected " << key <<
" found " << chanName );
60 return StatusCode::FAILURE;
63 ATH_MSG_DEBUG(
"Found channel number " << chNbr <<
" named " << key );
66 const coral::AttributeList& attrList = coolFolder->attributeList (chNbr);
81 return StatusCode::FAILURE;
85 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
const ServiceHandle< StoreGateSvc > & detStore() const
static EventIDRange infiniteRunLB()
Produces an EventIDRange that is infinite in RunLumi and invalid in Time.
void addDependency(const EventIDRange &range)
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED