#include <SCT_DetectorTool.h>
|
StringProperty | m_detectorName {this, "DetectorName", "SCT"} |
|
BooleanProperty | m_alignable {this, "Alignable", true} |
|
BooleanProperty | m_useDynamicAlignFolders {this, "useDynamicAlignFolders", false} |
|
bool | m_cosmic |
|
const InDetDD::SCT_DetectorManager * | m_manager |
|
SCT_GeoModelAthenaComps | m_athenaComps |
|
ServiceHandle< IGeoDbTagSvc > | m_geoDbTagSvc |
|
ServiceHandle< IGeometryDBSvc > | m_geometryDBSvc |
|
StringProperty | m_run1Folder {this, "Run1Folder", "/Indet/Align"} |
|
StringProperty | m_run2L1Folder {this, "Run2L1Folder", "/Indet/AlignL1/ID"} |
|
StringProperty | m_run2L2Folder {this, "Run2L2Folder", "/Indet/AlignL2/SCT"} |
|
StringProperty | m_run2L3Folder {this, "Run2L3Folder", "/Indet/AlignL3"} |
|
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 SCT_DetectorTool::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
finaloverridevirtual |
◆ clear()
StatusCode SCT_DetectorTool::clear |
( |
| ) |
|
|
finaloverridevirtual |
◆ create()
StatusCode SCT_DetectorTool::create |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 50 of file SCT_DetectorTool.cxx.
60 std::string detectorTag{
""};
61 std::string detectorNode{
""};
62 GeoModelIO::ReadGeoModel* sqliteReader =
m_geoDbTagSvc->getSqliteReader();
68 if (versionKey.tag() ==
"AUTO") {
69 ATH_MSG_ERROR(
"AUTO Atlas version. Please select a version.");
71 ATH_MSG_INFO(
"Building SCT with Version Tag: " << versionKey.tag() <<
" at Node: " << versionKey.node());
73 detectorTag = versionKey.tag();
74 detectorNode = versionKey.node();
76 std::string sctVersionTag{accessSvc->getChildTag(
"SCT", detectorTag, detectorNode)};
82 if (sctVersionTag.empty()) {
86 if (versionKey.custom()) {
87 ATH_MSG_WARNING(
"SCT_DetectorTool: Detector Information coming from a custom configuration!!");
89 ATH_MSG_DEBUG(
"SCT_DetectorTool: Detector Information coming from the database and job options IGNORED.");
90 ATH_MSG_DEBUG(
"Keys for SCT Switches are " << detectorTag <<
" " << detectorNode);
95 std::string versionName;
96 IRDBRecordset_ptr switchSet{accessSvc->getRecordsetPtr(
"SctSwitches", detectorTag, detectorNode)};
100 if (not switches->isFieldNull(
"COSMICLAYOUT")) {
101 m_cosmic = switches->getInt(
"COSMICLAYOUT");
103 if (not switches->isFieldNull(
"VERSIONNAME")) {
104 versionName = switches->getString(
"VERSIONNAME");
107 if (versionName.empty()) {
139 const SCT_ID* idHelper{
nullptr};
147 GeoPhysVol* world{&*theExpt->getPhysVol()};
154 msg(MSG::INFO)<<
"Building the geometry from the SQLite file"<<
endmsg;
158 theSCT.create(world);
164 theSCT.create(world);
171 return StatusCode::FAILURE;
186 return StatusCode::SUCCESS;
◆ manager() [1/2]
GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
|
|
virtualinherited |
The Detector Node corresponding to this tool.
Definition at line 21 of file GeoModelTool.cxx.
◆ manager() [2/2]
const GeoVDetectorManager * GeoModelTool::manager |
( |
| ) |
const |
|
virtualinherited |
◆ m_alignable
BooleanProperty SCT_DetectorTool::m_alignable {this, "Alignable", true} |
|
private |
◆ m_athenaComps
◆ m_cosmic
bool SCT_DetectorTool::m_cosmic |
|
private |
◆ m_detector
GeoVDetectorManager* GeoModelTool::m_detector |
|
protectedinherited |
◆ m_detectorName
StringProperty SCT_DetectorTool::m_detectorName {this, "DetectorName", "SCT"} |
|
private |
◆ m_geoDbTagSvc
◆ m_geometryDBSvc
◆ m_manager
◆ m_run1Folder
StringProperty SCT_DetectorTool::m_run1Folder {this, "Run1Folder", "/Indet/Align"} |
|
private |
◆ m_run2L1Folder
StringProperty SCT_DetectorTool::m_run2L1Folder {this, "Run2L1Folder", "/Indet/AlignL1/ID"} |
|
private |
◆ m_run2L2Folder
StringProperty SCT_DetectorTool::m_run2L2Folder {this, "Run2L2Folder", "/Indet/AlignL2/SCT"} |
|
private |
◆ m_run2L3Folder
StringProperty SCT_DetectorTool::m_run2L3Folder {this, "Run2L3Folder", "/Indet/AlignL3"} |
|
private |
◆ m_useDynamicAlignFolders
BooleanProperty SCT_DetectorTool::m_useDynamicAlignFolders {this, "useDynamicAlignFolders", false} |
|
private |
The documentation for this class was generated from the following files: