20 const std::string &name,
21 const IInterface *parent) :
42 const HGTD_ID* idHelper{
nullptr};
43 ATH_CHECK(detStore()->retrieve(idHelper,
"HGTD_ID"));
47 ATH_CHECK(detStore()->retrieve(theExpt,
"ATLAS"));
54 theHGTDFactory.
create(world);
59 ATH_MSG_ERROR(
"HGTD_DetectorManager not found; not created in HGTD_DetectorFactory?" );
60 return(StatusCode::FAILURE);
67 return StatusCode::SUCCESS;
79 return StatusCode::SUCCESS;
86 StatusCode
sc = StatusCode::FAILURE;
87 if (m_alignable.value()) {
88 std::string folderName =
"/Indet/AlignHGTD";
90 ATH_MSG_DEBUG(
"Registering callback on AlignableTransformContainer with folder " << folderName );
92 ATH_CHECK( detStore()->regFcn( &IGeoModelTool::align,
dynamic_cast<IGeoModelTool *
>(
this), atc, folderName ) );
93 sc = StatusCode::SUCCESS;
96 ATH_MSG_WARNING(
"Unable to register callback on AlignableTransformContainer with folder " <<
97 folderName <<
", Alignment disabled (only if no Run-2 scheme is loaded)!" );
101 ATH_MSG_INFO(
"Alignment disabled. No callback registered" );
113 return StatusCode::FAILURE;
116 ATH_MSG_INFO(
"No align method yet implemented for HGTD_DetectorManager. Nothing to do." );
118 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
#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,...
Definition of the abstract IRDBRecord interface.
Definition of the abstract IRDBRecordset interface.
an iterator over instances of a given type in StoreGateSvc.
GeoPhysVol * getPhysVol()
Destructor.
void addManager(const GeoVDetectorManager *)
virtual void create(GeoPhysVol *world) override
void setPrintIdentifierDict(bool)
virtual const HGTD_DetectorManager * getDetectorManager() const override
This is an Identifier helper class for the HGTD subdetector.
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring