10#include <GeoModelKernel/GeoPhysVol.h>
16 const std::string &name,
17 const IInterface *parent)
29 ATH_CHECK(detStore()->retrieve(idHelper,
"HGTD_ID"));
32 ATH_CHECK(detStore()->retrieve(theExpt,
"ATLAS"));
34 m_commonItems = std::make_unique<InDetDD::SiCommonItems>(idHelper);
39 std::string
node{
"InnerDetector"};
40 std::string table{
"HGTDXDD"};
46 ATH_MSG_ERROR(
"No HGTD geometry found. HGTD can not be built.");
47 return StatusCode::FAILURE;
64 const GeoVPhysVol* topVolume =
createTopVolume(world, gmxInterface,
node, table,
"",
"",sqlreader);
68 if (useNewIdentifierScheme){
72 ATH_MSG_FATAL(
"SQLite workflow is unsupported for old HGTD identifier scheme!");
73 return StatusCode::FAILURE;
81 return StatusCode::FAILURE;
91 return StatusCode::SUCCESS;
104 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
GeoPhysVol * getPhysVol()
Destructor.
void addManager(const GeoVDetectorManager *)
The Detector manager has methods to retrieve the Identifier helper and methods to retrieve the detect...
void buildReadoutGeometryFromSqlite(IRDBAccessSvc *rdbAccessSvc, GeoModelIO::ReadGeoModel *sqlreader)
This is an Identifier helper class for the HGTD subdetector.
bool get_useNewIdentifierScheme() const