|
ATLAS Offline Software
|
Go to the documentation of this file.
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>();
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;
81 return StatusCode::FAILURE;
85 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
static EventIDRange infiniteRunLB()
Produces an EventIDRange that is infinite in RunLumi and invalid in Time.
const AttributeList & attributeList(ChanNum chanNum) const
attribute list for a given channel number
const std::string & chanName(ChanNum chanNum) const
find name for particular channel
StatusCode initialize(bool used=true)
void addDependency(const EventIDRange &range)