HGTD_DetectorTool is a standard GeoModel tool, which calls HGTD_DetectorFactory::create(), stores HGTD_DetectorManager to the Detector Store and also registers a callback function.
More...
#include <HGTD_DetectorTool.h>
|
| | HGTD_DetectorTool (const std::string &type, const std::string &name, const IInterface *parent) |
| virtual StatusCode | create () override final |
| virtual StatusCode | clear () override final |
| virtual GeoVDetectorManager * | manager () |
| virtual const GeoVDetectorManager * | manager () const |
| virtual StatusCode | align () override |
HGTD_DetectorTool is a standard GeoModel tool, which calls HGTD_DetectorFactory::create(), stores HGTD_DetectorManager to the Detector Store and also registers a callback function.
Definition at line 26 of file HGTD_DetectorTool.h.
◆ HGTD_DetectorTool()
| HGTD_DetectorTool::HGTD_DetectorTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ align()
| virtual StatusCode GeoModelTool::align |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ clear()
| StatusCode HGTD_DetectorTool::clear |
( |
| ) |
|
|
finaloverridevirtual |
◆ create()
| StatusCode HGTD_DetectorTool::create |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 26 of file HGTD_DetectorTool.cxx.
26 {
27
30
31
35 const HGTD_ID* idHelper{nullptr};
38
39 GeoModelExperiment *theExpt = nullptr;
41
42
44
47 theHGTDFactory.create(world);
48
49
52 ATH_MSG_ERROR(
"HGTD_DetectorManager not found; not created in HGTD_DetectorFactory?" );
53 return(StatusCode::FAILURE);
54 }
55
58
60 return StatusCode::SUCCESS;
61}
#define ATH_CHECK
Evaluate an expression and check for errors.
GeoPhysVol * getPhysVol()
Destructor.
void addManager(const GeoVDetectorManager *)
retrieve(aClass, aKey=None)
◆ manager() [1/2]
| virtual GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
|
|
inlinevirtualinherited |
◆ manager() [2/2]
| virtual const GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ m_athenaComps
◆ m_detector
| GeoVDetectorManager* GeoModelTool::m_detector {nullptr} |
|
protectedinherited |
◆ m_detectorManager
◆ m_detectorName
| StringProperty HGTD_DetectorTool::m_detectorName {this, "DetectorName", "HGTD"} |
|
private |
◆ m_geoDbTagSvc
◆ m_printIDdict
| BooleanProperty HGTD_DetectorTool::m_printIDdict {this, "PrintModuleNumberPerRow", false} |
|
private |
◆ m_rdbAccessSvc
The documentation for this class was generated from the following files: