ATLAS Offline Software
TRT_DetectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 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"
18 #include <string>
19 
20 namespace InDetDD {
21  class TRT_DetectorManager;
22 }
23 
25 
26 public:
27  // Standard Constructor
28  TRT_DetectorTool( const std::string& type, const std::string& name, const IInterface* parent );
29 
30  // Standard Destructor
31  virtual ~TRT_DetectorTool() = default;
32 
33  virtual StatusCode create() override final;
34  virtual StatusCode clear() override final;
35 
36  // Register callback function on CondDB object
37  virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE () override final;
38 
39  // Callback function itself
41 
42 private:
43  Gaudi::Property<bool> m_useOldActiveGasMixture{this,"UseOldActiveGasMixture",false};
44  Gaudi::Property<bool> m_DC2CompatibleBarrelCoordinates{this,"DC2CompatibleBarrelCoordinates",false};
45  Gaudi::Property<bool> m_alignable{this,"Alignable",true};
46  Gaudi::Property<bool> m_useDynamicAlignFolders{this,"useDynamicAlignFolders",false};
47 
48  // Set to true to use argon. DEFAULT VALUE is true. Overridden by DOARGONMIXTURE switch
49  Gaudi::Property<bool> m_doArgonMixture{this,"DoXenonArgonMixture",true};
50  // Set to true to use krypton. DEFAULT VALUE is true. Overridden by DOKRYPTONMIXTURE switch
51  Gaudi::Property<bool> m_doKryptonMixture{this,"DoKryptonMixture",true};
52 
53  ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc{this,"GeoDbTagSvc","GeoDbTagSvc"};
54  ServiceHandle< IGeometryDBSvc > m_geometryDBSvc{this,"GeometryDBSvc","InDetGeometryDBSvc"};
55 
56  Gaudi::Property<bool> m_dumpStrawStatus{this, "DumpStrawStatus", false};
57  Gaudi::Property<std::string> m_strawStatusFile{this, "StrawStatusFile", ""};
58  ToolHandle<ITRT_StrawStatusSummaryTool> m_sumTool{this, "SummaryTool", ""}; // added for Argon
59 
62  bool m_initialLayout{true};
63 };
64 
65 #endif // TRT_GEOMODEL_TRTDETECTORTOOL_H
IGeometryDBSvc.h
InDetDD::AthenaComps
Class to hold various Athena components.
Definition: InDetDDAthenaComps.h:21
TRT_DetectorTool::m_dumpStrawStatus
Gaudi::Property< bool > m_dumpStrawStatus
Definition: TRT_DetectorTool.h:56
TRT_DetectorTool::m_alignable
Gaudi::Property< bool > m_alignable
Definition: TRT_DetectorTool.h:45
GeoModelTool.h
TRT_DetectorTool::m_manager
const InDetDD::TRT_DetectorManager * m_manager
Definition: TRT_DetectorTool.h:60
IOVSVC_CALLBACK_ARGS
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
Definition: IOVSvcDefs.h:24
Property
Support class for PropertyMgr.
Definition: Property.h:23
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
TRT_DetectorTool::TRT_DetectorTool
TRT_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TRT_DetectorTool.cxx:25
TRT_DetectorTool
Definition: TRT_DetectorTool.h:24
ITRT_StrawStatusSummaryTool.h
abstract interface to TRT straw status constants
TRT_DetectorTool::m_DC2CompatibleBarrelCoordinates
Gaudi::Property< bool > m_DC2CompatibleBarrelCoordinates
Definition: TRT_DetectorTool.h:44
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GeoModelTool
Definition: GeoModelTool.h:16
InDetDDAthenaComps.h
TRT_DetectorTool::m_athenaComps
InDetDD::AthenaComps m_athenaComps
Definition: TRT_DetectorTool.h:61
TRT_DetectorTool::ATLAS_NOT_THREAD_SAFE
virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE() override final
TRT_DetectorTool::m_strawStatusFile
Gaudi::Property< std::string > m_strawStatusFile
Definition: TRT_DetectorTool.h:57
columnar::final
CM final
Definition: ColumnAccessor.h:106
TRT_DetectorTool::m_initialLayout
bool m_initialLayout
Definition: TRT_DetectorTool.h:62
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
TRT_DetectorTool::~TRT_DetectorTool
virtual ~TRT_DetectorTool()=default
InDetDD::TRT_DetectorManager
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
Definition: TRT_DetectorManager.h:63
TRT_DetectorTool::create
virtual StatusCode create() override final
Definition: TRT_DetectorTool.cxx:32
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
TRT_DetectorTool::m_doKryptonMixture
Gaudi::Property< bool > m_doKryptonMixture
Definition: TRT_DetectorTool.h:51
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
private
#define private
Definition: xAODTruthCnvAlg.h:20
TRT_DetectorTool::m_useOldActiveGasMixture
Gaudi::Property< bool > m_useOldActiveGasMixture
Definition: TRT_DetectorTool.h:43
TRT_DetectorTool::m_doArgonMixture
Gaudi::Property< bool > m_doArgonMixture
Definition: TRT_DetectorTool.h:49
TRT_DetectorTool::m_sumTool
ToolHandle< ITRT_StrawStatusSummaryTool > m_sumTool
Definition: TRT_DetectorTool.h:58
TRT_DetectorTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition: TRT_DetectorTool.h:53
TRT_DetectorTool::m_useDynamicAlignFolders
Gaudi::Property< bool > m_useDynamicAlignFolders
Definition: TRT_DetectorTool.h:46
checker_macros.h
Define macros for attributes used to control the static checker.
TRT_DetectorTool::clear
virtual StatusCode clear() override final
Definition: TRT_DetectorTool.cxx:257
TRT_DetectorTool::m_geometryDBSvc
ServiceHandle< IGeometryDBSvc > m_geometryDBSvc
Definition: TRT_DetectorTool.h:54
IGeoDbTagSvc.h
ServiceHandle< IGeoDbTagSvc >