11#include <GeoModelKernel/GeoPhysVol.h>
18 const std::string &name,
19 const IInterface *parent)
31 ATH_CHECK(detStore()->retrieve(theExpt,
"ATLAS"));
32 const PLR_ID *idHelper =
nullptr;
33 ATH_CHECK(detStore()->retrieve(idHelper,
"PLR_ID"));
35 m_commonItems = std::make_unique<InDetDD::SiCommonItems>(idHelper);
39 std::string
node{
"InnerDetector"};
40 std::string table{
"PLRXDD"};
47 ATH_MSG_ERROR(
"No PLR geometry found. PLR can not be built.");
48 return StatusCode::FAILURE;
72 return StatusCode::FAILURE;
86 return StatusCode::SUCCESS;
97 return StatusCode::SUCCESS;
109 ATH_MSG_DEBUG(
"Registering callback on AlignableTransformContainer with folder " << m_alignmentFolderName);
111 StatusCode
sc = detStore()->regFcn(&IGeoModelTool::align,
dynamic_cast<IGeoModelTool *
>(
this), atc, m_alignmentFolderName);
112 if (
sc.isFailure()) {
113 ATH_MSG_ERROR(
"Could not register callback on AlignableTransformContainer with folder "
114 << m_alignmentFolderName);
115 return StatusCode::FAILURE;
118 ATH_MSG_WARNING(
"Unable to register callback on AlignableTransformContainer with folder "
119 << m_alignmentFolderName <<
", Alignment disabled (only if no Run2 scheme is loaded)!");
122 ATH_MSG_INFO(
"Alignment disabled. No callback registered");
125 return StatusCode::SUCCESS;
137 return StatusCode::FAILURE;
143 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
#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,...
an iterator over instances of a given type in StoreGateSvc.
GeoPhysVol * getPhysVol()
Destructor.
void addManager(const GeoVDetectorManager *)
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
Base class for Pixel and SCT Detector managers.
Class to extract numerology for Pixel and SCT.
This is a Identifier helper class for the PLR subdetector.
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring