23 const std::string& name,
24 const IInterface* parent)
42 std::string detectorTag{
""};
43 std::string detectorNode{
""};
44 GeoModelIO::ReadGeoModel* sqliteReader =
m_geoDbTagSvc->getSqliteReader();
48 ATH_MSG_INFO(
"Building SCT with Version Tag: " << versionKey.
tag() <<
" at Node: " << versionKey.
node());
50 detectorTag = versionKey.
tag();
51 detectorNode = versionKey.
node();
53 std::string sctVersionTag{accessSvc->getChildTag(
"SCT", detectorTag, detectorNode)};
56 if (sctVersionTag.empty()) {
58 return StatusCode::SUCCESS;
61 ATH_MSG_DEBUG(
"Keys for SCT Switches are " << detectorTag <<
" " << detectorNode);
64 std::string versionName;
65 IRDBRecordset_ptr switchSet{accessSvc->getRecordsetPtr(
"SctSwitches", detectorTag, detectorNode)};
71 versionName = switches->
getString(
"VERSIONNAME");
74 if (versionName.empty() &&
m_cosmic) {
90 ATH_CHECK(detStore()->retrieve(theExpt,
"ATLAS"));
100 const SCT_ID* idHelper{
nullptr};
101 ATH_CHECK(detStore()->retrieve(idHelper,
"SCT_ID"));
110 ATH_MSG_INFO(
"Building the geometry from the SQLite file");
123 return StatusCode::FAILURE;
134 return StatusCode::SUCCESS;
145 return StatusCode::SUCCESS;
152 if (m_manager==
nullptr) {
154 return StatusCode::FAILURE;
156 if (m_alignable.value()) {
160 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define IOVSVC_CALLBACK_ARGS_P(I, K)
short hand for IOVSvc call back argument list, to be used when access to formal arguments is needed,...
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition of the abstract IRDBRecord interface.
Definition of the abstract IRDBRecordset interface.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
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.
GeoPhysVol * getPhysVol()
Destructor.
void addManager(const GeoVDetectorManager *)
IRDBRecord is one record in the IRDBRecordset object.
virtual const std::string & getString(const std::string &fieldName) const =0
Get string field value.
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.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
Base class for Pixel and SCT Detector managers.
virtual void create(GeoPhysVol *world) override
virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const override
virtual void create(GeoPhysVol *world)
virtual const InDetDD::SCT_DetectorManager * getDetectorManager() const
This is an Identifier helper class for the SCT subdetector.