ATLAS Offline Software
Loading...
Searching...
No Matches
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
20namespace InDetDD {
22}
23
24class TRT_DetectorTool final : public GeoModelTool {
25
26public:
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
40 virtual StatusCode align ATLAS_NOT_THREAD_SAFE (IOVSVC_CALLBACK_ARGS) override final;
41
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
#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
abstract interface to TRT straw status constants
Define macros for attributes used to control the static checker.
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
virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE() override final
Gaudi::Property< bool > m_dumpStrawStatus
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