#include <SCT_DetectorTool.h>
Definition at line 24 of file SCT_DetectorTool.h.
◆ SCT_DetectorTool()
SCT_DetectorTool::SCT_DetectorTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ align()
◆ ATLAS_NOT_THREAD_SAFE()
virtual StatusCode registerCallback GeoModelTool::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ clear()
StatusCode SCT_DetectorTool::clear |
( |
| ) |
|
|
finaloverridevirtual |
◆ create()
StatusCode SCT_DetectorTool::create |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 32 of file SCT_DetectorTool.cxx.
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)};
67 if (not switches->isFieldNull(
"COSMICLAYOUT")) {
68 m_cosmic = switches->getInt(
"COSMICLAYOUT");
70 if (not switches->isFieldNull(
"VERSIONNAME")) {
71 versionName = switches->getString(
"VERSIONNAME");
74 if (versionName.empty() &&
m_cosmic) {
100 const SCT_ID* idHelper{
nullptr};
104 GeoPhysVol* world{theExpt->getPhysVol()};
110 ATH_MSG_INFO(
"Building the geometry from the SQLite file");
112 theSCT.create(world);
117 theSCT.create(world);
123 return StatusCode::FAILURE;
134 return StatusCode::SUCCESS;
◆ manager() [1/2]
virtual GeoVDetectorManager* GeoModelTool::manager |
( |
| ) |
|
|
inlinevirtualinherited |
◆ manager() [2/2]
virtual const GeoVDetectorManager* GeoModelTool::manager |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ m_alignable
BooleanProperty SCT_DetectorTool::m_alignable {this, "Alignable", true} |
|
private |
◆ m_athenaComps
◆ m_cosmic
bool SCT_DetectorTool::m_cosmic {false} |
|
private |
◆ m_detector
GeoVDetectorManager* GeoModelTool::m_detector {nullptr} |
|
protectedinherited |
◆ m_geoDbTagSvc
◆ m_geometryDBSvc
◆ m_manager
◆ m_useDynamicAlignFolders
BooleanProperty SCT_DetectorTool::m_useDynamicAlignFolders {this, "useDynamicAlignFolders", false} |
|
private |
The documentation for this class was generated from the following files: