ATLAS Offline Software
HGTD_DetectorTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef HGTD_GEOMODEL_HGTD_DETECTORTOOL_H
6 #define HGTD_GEOMODEL_HGTD_DETECTORTOOL_H
7 
8 #include "GaudiKernel/ServiceHandle.h"
9 #include "GaudiKernel/ToolHandle.h"
14 
15 #include <string>
16 
18 
19 namespace InDetDD {
20  class SiCommonItems;
21 }
22 
29  public:
30  // Standard Constructor
31  HGTD_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent);
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(IOVSVC_CALLBACK_ARGS) override final;
41 
42  private:
43 
44  StringProperty m_detectorName{this, "DetectorName", "HGTD"};
45  BooleanProperty m_alignable{this, "Alignable", false};
46 
49 
51 
53 
55 };
56 
57 #endif // HGTD_GEOMODEL_HGTD_DETECTORTOOL_H
HGTD_DetectorTool::m_detectorManager
const HGTD_DetectorManager * m_detectorManager
Definition: HGTD_DetectorTool.h:50
HGTD_GeoModelAthenaComps
Class to hold various Athena components.
Definition: HGTD_GeoModelAthenaComps.h:14
HGTD_DetectorTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition: HGTD_DetectorTool.h:47
HGTD_DetectorTool::m_athenaComps
HGTD_GeoModelAthenaComps m_athenaComps
Definition: HGTD_DetectorTool.h:52
HGTD_DetectorTool::clear
virtual StatusCode clear() override final
Definition: HGTD_DetectorTool.cxx:70
HGTD_DetectorTool::m_detectorName
StringProperty m_detectorName
Definition: HGTD_DetectorTool.h:44
GeoModelTool.h
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
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
HGTD_GeoModelAthenaComps.h
HGTD_DetectorTool::HGTD_DetectorTool
HGTD_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: HGTD_DetectorTool.cxx:19
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:17
HGTD_DetectorTool::create
virtual StatusCode create() override final
Definition: HGTD_DetectorTool.cxx:33
HGTD_DetectorTool::align
virtual StatusCode align(IOVSVC_CALLBACK_ARGS) override final
Definition: HGTD_DetectorTool.cxx:107
HGTD_DetectorTool
HGTD_DetectorTool is a standard GeoModel tool, which calls HGTD_DetectorFactory::create(),...
Definition: HGTD_DetectorTool.h:28
HGTD_DetectorTool::m_printIDdict
bool m_printIDdict
Definition: HGTD_DetectorTool.h:54
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
HGTD_DetectorTool::m_rdbAccessSvc
ServiceHandle< IRDBAccessSvc > m_rdbAccessSvc
Definition: HGTD_DetectorTool.h:48
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HGTD_DetectorManager
Definition: HGTD_DetectorManager.h:33
IGeoDbTagSvc.h
ServiceHandle< IGeoDbTagSvc >
HGTD_DetectorTool::m_alignable
BooleanProperty m_alignable
Definition: HGTD_DetectorTool.h:45
HGTD_DetectorTool::ATLAS_NOT_THREAD_SAFE
virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE() override final