|
ATLAS Offline Software
|
Go to the documentation of this file.
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);
165 if (not condData.isValid()) {
174 if (not condData.isValid()) {
def retrieve(aClass, aKey=None)
char data[hepevt_bytes_allocation_ATLAS]
Class for data object used in SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition of the abstract IRDBAccessSvc interface.
::StatusCode StatusCode
StatusCode definition for legacy code.
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag a...
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
StatusCode initialize(bool used=true)
Definition of the abstract IRDBRecord interface.
#define ATH_MSG_WARNING(x)
IRDBRecord is one record in the IRDBRecordset object.
Definition of the abstract IRDBRecordset interface.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...