#include <TRT_DetectorTool.h>
|
Gaudi::Property< bool > | m_useOldActiveGasMixture {this,"UseOldActiveGasMixture",false} |
|
Gaudi::Property< bool > | m_DC2CompatibleBarrelCoordinates {this,"DC2CompatibleBarrelCoordinates",false} |
|
Gaudi::Property< bool > | m_alignable {this,"Alignable",true} |
|
Gaudi::Property< bool > | m_useDynamicAlignFolders {this,"useDynamicAlignFolders",false} |
|
Gaudi::Property< bool > | m_doArgonMixture {this,"DoXenonArgonMixture",true} |
|
Gaudi::Property< bool > | m_doKryptonMixture {this,"DoKryptonMixture",true} |
|
ServiceHandle< IGeoDbTagSvc > | m_geoDbTagSvc {this,"GeoDbTagSvc","GeoDbTagSvc"} |
|
ServiceHandle< IGeometryDBSvc > | m_geometryDBSvc {this,"GeometryDBSvc","InDetGeometryDBSvc"} |
|
Gaudi::Property< bool > | m_dumpStrawStatus {this, "DumpStrawStatus", false} |
|
Gaudi::Property< std::string > | m_strawStatusFile {this, "StrawStatusFile", ""} |
|
ToolHandle< ITRT_StrawStatusSummaryTool > | m_sumTool {this, "SummaryTool", ""} |
|
const InDetDD::TRT_DetectorManager * | m_manager {nullptr} |
|
InDetDD::AthenaComps | m_athenaComps {"TRT_GeoModel"} |
|
bool | m_initialLayout {true} |
|
Definition at line 24 of file TRT_DetectorTool.h.
◆ TRT_DetectorTool()
TRT_DetectorTool::TRT_DetectorTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TRT_DetectorTool()
virtual TRT_DetectorTool::~TRT_DetectorTool |
( |
| ) |
|
|
virtualdefault |
◆ ATLAS_NOT_THREAD_SAFE() [1/2]
virtual StatusCode registerCallback TRT_DetectorTool::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
finaloverridevirtual |
◆ ATLAS_NOT_THREAD_SAFE() [2/2]
◆ clear()
StatusCode TRT_DetectorTool::clear |
( |
| ) |
|
|
finaloverridevirtual |
◆ create()
StatusCode TRT_DetectorTool::create |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 32 of file TRT_DetectorTool.cxx.
43 GeoPhysVol *world = theExpt->getPhysVol();
54 std::unique_ptr<TRTStrawStatusAccessor> strawStatusAccessor;
58 strawStatusAccessor = std::make_unique<TRTStrawStatusAccessor>();
60 if (strawStatusPath.empty()) {
62 return StatusCode::FAILURE;
65 strawStatusAccessor->
fill(strawStatusPath);
68 GeoModelIO::ReadGeoModel* sqliteReader =
m_geoDbTagSvc->getSqliteReader();
75 ATH_MSG_INFO(
" Building TRT geometry from GeoModel factory TRTDetectorFactory_Lite" );
78 std::move(strawStatusAccessor),
85 theTRTFactory.create(world);
86 m_manager=theTRTFactory.getDetectorManager();
91 ATH_MSG_INFO(
"Building TRT with Version Tag: "<< versionKey.tag() <<
" at Node: " << versionKey.node() );
94 std::string trtVersionTag = accessSvc->getChildTag(
"TRT", versionKey.tag(), versionKey.node());
99 if (trtVersionTag.empty()) {
100 ATH_MSG_INFO(
"No TRT Version. TRT will not be built." );
101 return StatusCode::SUCCESS;
104 ATH_MSG_DEBUG(
"Keys for TRT Switches are " << versionKey.tag() <<
" " << versionKey.node() );
105 IRDBRecordset_ptr switchSet = accessSvc->getRecordsetPtr(
"TRTSwitches", versionKey.tag(), versionKey.node());
108 if (switches->
getInt(
"DC1COMPATIBLE")) {
109 ATH_MSG_ERROR(
"DC1COMPATIBLE flag set in database, but DC1 is no longer supported in the code!!");
110 return StatusCode::FAILURE;
127 ATH_MSG_INFO(
"TRT Geometry Options:" << std::boolalpha );
136 ATH_MSG_INFO(
" Building TRT geometry from GeoModel factory TRTDetectorFactory_Full" );
140 std::move(strawStatusAccessor),
148 theTRTFactory.create(world);
149 m_manager=theTRTFactory.getDetectorManager();
154 if (!
m_manager)
return StatusCode::FAILURE;
158 return StatusCode::SUCCESS;
◆ manager() [1/2]
virtual GeoVDetectorManager* GeoModelTool::manager |
( |
| ) |
|
|
inlinevirtualinherited |
◆ manager() [2/2]
virtual const GeoVDetectorManager* GeoModelTool::manager |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ m_alignable
Gaudi::Property<bool> TRT_DetectorTool::m_alignable {this,"Alignable",true} |
|
private |
◆ m_athenaComps
◆ m_DC2CompatibleBarrelCoordinates
Gaudi::Property<bool> TRT_DetectorTool::m_DC2CompatibleBarrelCoordinates {this,"DC2CompatibleBarrelCoordinates",false} |
|
private |
◆ m_detector
GeoVDetectorManager* GeoModelTool::m_detector {nullptr} |
|
protectedinherited |
◆ m_doArgonMixture
Gaudi::Property<bool> TRT_DetectorTool::m_doArgonMixture {this,"DoXenonArgonMixture",true} |
|
private |
◆ m_doKryptonMixture
Gaudi::Property<bool> TRT_DetectorTool::m_doKryptonMixture {this,"DoKryptonMixture",true} |
|
private |
◆ m_dumpStrawStatus
Gaudi::Property<bool> TRT_DetectorTool::m_dumpStrawStatus {this, "DumpStrawStatus", false} |
|
private |
◆ m_geoDbTagSvc
◆ m_geometryDBSvc
◆ m_initialLayout
bool TRT_DetectorTool::m_initialLayout {true} |
|
private |
◆ m_manager
◆ m_strawStatusFile
Gaudi::Property<std::string> TRT_DetectorTool::m_strawStatusFile {this, "StrawStatusFile", ""} |
|
private |
◆ m_sumTool
◆ m_useDynamicAlignFolders
Gaudi::Property<bool> TRT_DetectorTool::m_useDynamicAlignFolders {this,"useDynamicAlignFolders",false} |
|
private |
◆ m_useOldActiveGasMixture
Gaudi::Property<bool> TRT_DetectorTool::m_useOldActiveGasMixture {this,"UseOldActiveGasMixture",false} |
|
private |
The documentation for this class was generated from the following files: