16 base_class(
type, name, parent)
41 ATH_MSG_INFO(
"Will use temperature and voltages from this service (not from GeoModel).");
55 return StatusCode::SUCCESS;
61 return StatusCode::SUCCESS;
122 bool conditionsPresent{
false};
123 bool useCondDB{
false};
125 if (
m_rdbSvc.retrieve().isFailure()) {
135 ATH_MSG_DEBUG(
"Checking GeoModel Version Tag: "<< versionKey.
tag() <<
" at Node: " << versionKey.
node());
138 if (sctConditionsSet->
size()) {
139 ATH_MSG_DEBUG(
"Default conditions available from GeoModel.");
140 const IRDBRecord* defaultConditions{(*sctConditionsSet)[0]};
144 conditionsPresent =
true;
148 useCondDB = (defaultConditions->
getInt(
"USECONDDB"));
151 ATH_MSG_WARNING(
"Default conditions NOT available in GeoModel database. Using old GeoModel defaults");
156 conditionsPresent =
true;
159 return ((not useCondDB) and conditionsPresent);
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
char data[hepevt_bytes_allocation_ATLAS]
Definition of the abstract IRDBAccessSvc interface.
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition of the abstract IRDBRecord interface.
Definition of the abstract IRDBRecordset interface.
This is an Identifier helper class for the SCT subdetector.
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag a...
const std::string & tag() const
Return version tag.
const std::string & node() const
Return the version node.
IRDBRecord is one record in the IRDBRecordset object.
virtual bool isFieldNull(const std::string &fieldName) const =0
Check if the field value is NULL.
virtual int getInt(const std::string &fieldName) const =0
Get int field value.
virtual double getDouble(const std::string &fieldName) const =0
Get double field value.
virtual unsigned int size() const =0
This is a "hash" representation of an Identifier.
Class for data object used in SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...