ATLAS Offline Software
HGTD_GMX_DetectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef HGTD_GeoModelXml_HGTD_GMX_DETECTORTOOL_H
6 #define HGTD_GeoModelXml_HGTD_GMX_DETECTORTOOL_H
7 //
8 // Create an Athena Tool; handle Athena services and Tools needed for
9 // building the HGTD geometry.
10 // This is the entry to the HGTD_GeoModelXml package.
11 //
14 
16 
18 {
19 public:
20  // Standard Constructor
21  HGTD_GMX_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent);
22 
23  virtual StatusCode create() override final;
24  virtual StatusCode clear() override final;
25 
26  // Register callback function on CondDB object
27  virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE () override final;
28 
29  // Callback function itself
30  // virtual StatusCode align(IOVSVC_CALLBACK_ARGS) override final;
31  virtual StatusCode align(IOVSVC_CALLBACK_ARGS_P(I,keys)) override final;
32 
33 private:
35  std::unique_ptr<InDetDD::SiCommonItems> m_commonItems{};
36 
37  Gaudi::Property<bool> m_alignable{this, "Alignable", false, ""};
38  // This should be changed to an HGTD-specific one in future, once available
39  Gaudi::Property<std::string> m_alignmentFolderName{this, "AlignmentFolderName", "/Indet/AlignHGTD", ""}; // modifay it in future
40 };
41 
42 #endif // HGTD_GeoModelXml_HGTD_GMX_DETECTORTOOL_H
HGTD_GMX_DetectorTool::m_commonItems
std::unique_ptr< InDetDD::SiCommonItems > m_commonItems
Definition: HGTD_GMX_DetectorTool.h:35
IOVSVC_CALLBACK_ARGS_P
#define IOVSVC_CALLBACK_ARGS_P(I, K)
short hand for IOVSvc call back argument list, to be used when access to formal arguments is needed,...
Definition: IOVSvcDefs.h:42
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
HGTD_GMX_DetectorTool::m_alignable
Gaudi::Property< bool > m_alignable
Definition: HGTD_GMX_DetectorTool.h:37
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SiCommonItems.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
HGTD_GMX_DetectorTool::HGTD_GMX_DetectorTool
HGTD_GMX_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: HGTD_GMX_DetectorTool.cxx:16
HGTD_GMX_DetectorTool::clear
virtual StatusCode clear() override final
Definition: HGTD_GMX_DetectorTool.cxx:96
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HGTD_GMX_DetectorTool::create
virtual StatusCode create() override final
Definition: HGTD_GMX_DetectorTool.cxx:24
HGTD_GMX_DetectorTool::ATLAS_NOT_THREAD_SAFE
virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE() override final
GeoModelXmlTool
Definition: GeoModelXmlTool.h:21
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
GeoModelXmlTool.h
HGTD_DetectorManager
Definition: HGTD_DetectorManager.h:33
HGTD_GMX_DetectorTool::align
virtual StatusCode align(IOVSVC_CALLBACK_ARGS_P(I, keys)) override final
Definition: HGTD_GMX_DetectorTool.cxx:134
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
I
#define I(x, y, z)
Definition: MD5.cxx:116
HGTD_GMX_DetectorTool
Definition: HGTD_GMX_DetectorTool.h:18
HGTD_GMX_DetectorTool::m_alignmentFolderName
Gaudi::Property< std::string > m_alignmentFolderName
Definition: HGTD_GMX_DetectorTool.h:39
HGTD_GMX_DetectorTool::m_detManager
const HGTD_DetectorManager * m_detManager
Definition: HGTD_GMX_DetectorTool.h:34