ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_DetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRT_GEOMODEL_TRTDETECTORTOOL_H
6#define TRT_GEOMODEL_TRTDETECTORTOOL_H
7
10
14
15#include "GaudiKernel/ToolHandle.h"
16#include "GaudiKernel/ServiceHandle.h"
17#include <string>
18
19namespace InDetDD {
21}
22
23class TRT_DetectorTool final : public GeoModelTool {
24
25public:
26 // Standard Constructor
27 TRT_DetectorTool( const std::string& type, const std::string& name, const IInterface* parent );
28
29 // Standard Destructor
30 virtual ~TRT_DetectorTool() = default;
31
32 virtual StatusCode create() override final;
33 virtual StatusCode clear() override final;
34
35 // Callback function itself
36 virtual StatusCode align() override final;
37
39 Gaudi::Property<bool> m_useOldActiveGasMixture{this,"UseOldActiveGasMixture",false};
40 Gaudi::Property<bool> m_DC2CompatibleBarrelCoordinates{this,"DC2CompatibleBarrelCoordinates",false};
41 Gaudi::Property<bool> m_alignable{this,"Alignable",true};
42 Gaudi::Property<bool> m_useDynamicAlignFolders{this,"useDynamicAlignFolders",false};
43
44 // Set to true to use argon. DEFAULT VALUE is true. Overridden by DOARGONMIXTURE switch
45 Gaudi::Property<bool> m_doArgonMixture{this,"DoXenonArgonMixture",true};
46 // Set to true to use krypton. DEFAULT VALUE is true. Overridden by DOKRYPTONMIXTURE switch
47 Gaudi::Property<bool> m_doKryptonMixture{this,"DoKryptonMixture",true};
48
49 ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc{this,"GeoDbTagSvc","GeoDbTagSvc"};
50 ServiceHandle< IGeometryDBSvc > m_geometryDBSvc{this,"GeometryDBSvc","InDetGeometryDBSvc"};
51
52 Gaudi::Property<bool> m_dumpStrawStatus{this, "DumpStrawStatus", false};
53 Gaudi::Property<std::string> m_strawStatusFile{this, "StrawStatusFile", ""};
54 ToolHandle<ITRT_StrawStatusSummaryTool> m_sumTool{this, "SummaryTool", ""}; // added for Argon
55
58 bool m_initialLayout{true};
59};
60
61#endif // TRT_GEOMODEL_TRTDETECTORTOOL_H
abstract interface to TRT straw status constants
Class to hold various Athena components.
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Support class for PropertyMgr.
Definition Property.h:23
InDetDD::AthenaComps m_athenaComps
Gaudi::Property< bool > m_dumpStrawStatus
virtual StatusCode align() override final
virtual StatusCode create() override final
Gaudi::Property< bool > m_useOldActiveGasMixture
Gaudi::Property< bool > m_DC2CompatibleBarrelCoordinates
Gaudi::Property< bool > m_doArgonMixture
Gaudi::Property< bool > m_doKryptonMixture
Gaudi::Property< bool > m_alignable
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
ToolHandle< ITRT_StrawStatusSummaryTool > m_sumTool
const InDetDD::TRT_DetectorManager * m_manager
Gaudi::Property< std::string > m_strawStatusFile
Gaudi::Property< bool > m_useDynamicAlignFolders
virtual StatusCode clear() override final
TRT_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
ServiceHandle< IGeometryDBSvc > m_geometryDBSvc
virtual ~TRT_DetectorTool()=default
=============================================================================
Message Stream Member.
#define private