ATLAS Offline Software
SCT_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 SCT_GEOMODEL_SCT_DETECTORTOOL_H
6 #define SCT_GEOMODEL_SCT_DETECTORTOOL_H
7 
10 
13 
15 
16 #include "GaudiKernel/ServiceHandle.h"
17 
18 #include <string>
19 
20 namespace InDetDD {
21  class SCT_DetectorManager;
22 }
23 
25 
26 public:
27  // Standard Constructor
28  SCT_DetectorTool(const std::string& type, const std::string& name, const IInterface* parent);
29 
30  virtual StatusCode create() override final;
31  virtual StatusCode clear() override final;
32 
33  // Register callback function on CondDB object
34  virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE () override final;
35 
36  // Callback function itself
37  virtual StatusCode align(IOVSVC_CALLBACK_ARGS) override;
38 
39 private:
40  StringProperty m_detectorName{this, "DetectorName", "SCT"};
41  BooleanProperty m_alignable{this, "Alignable", true};
42  BooleanProperty m_useDynamicAlignFolders{this, "useDynamicAlignFolders", false};
43  bool m_cosmic;
44 
46 
48 
51 
52  StringProperty m_run1Folder{this, "Run1Folder", "/Indet/Align"};
53  StringProperty m_run2L1Folder{this, "Run2L1Folder", "/Indet/AlignL1/ID"};
54  StringProperty m_run2L2Folder{this, "Run2L2Folder", "/Indet/AlignL2/SCT"};
55  StringProperty m_run2L3Folder{this, "Run2L3Folder", "/Indet/AlignL3"};
56 };
57 
58 #endif // SCT_GEOMODEL_SCT_DETECTORTOOL_H
SCT_DetectorTool::m_useDynamicAlignFolders
BooleanProperty m_useDynamicAlignFolders
Definition: SCT_DetectorTool.h:42
SCT_DetectorTool::m_athenaComps
SCT_GeoModelAthenaComps m_athenaComps
Definition: SCT_DetectorTool.h:47
SCT_DetectorTool::create
virtual StatusCode create() override final
Definition: SCT_DetectorTool.cxx:50
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
SCT_DetectorTool
Definition: SCT_DetectorTool.h:24
IGeometryDBSvc.h
SCT_GeoModelAthenaComps.h
SCT_DetectorTool::m_detectorName
StringProperty m_detectorName
Definition: SCT_DetectorTool.h:40
SCT_DetectorTool::m_cosmic
bool m_cosmic
Definition: SCT_DetectorTool.h:43
SCT_DetectorTool::m_run2L3Folder
StringProperty m_run2L3Folder
Definition: SCT_DetectorTool.h:55
GeoModelTool.h
SCT_DetectorTool::SCT_DetectorTool
SCT_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: SCT_DetectorTool.cxx:31
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
SCT_DetectorTool::ATLAS_NOT_THREAD_SAFE
virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE() override final
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_DetectorTool::clear
virtual StatusCode clear() override final
Definition: SCT_DetectorTool.cxx:190
test_pyathena.parent
parent
Definition: test_pyathena.py:15
GeoModelTool
Definition: GeoModelTool.h:17
SCT_DetectorTool::m_run2L2Folder
StringProperty m_run2L2Folder
Definition: SCT_DetectorTool.h:54
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
SCT_DetectorTool::m_run2L1Folder
StringProperty m_run2L1Folder
Definition: SCT_DetectorTool.h:53
SCT_GeoModelAthenaComps
Class to hold various Athena components.
Definition: SCT_GeoModelAthenaComps.h:14
SCT_DetectorTool::m_run1Folder
StringProperty m_run1Folder
Definition: SCT_DetectorTool.h:52
SCT_DetectorTool::m_geometryDBSvc
ServiceHandle< IGeometryDBSvc > m_geometryDBSvc
Definition: SCT_DetectorTool.h:50
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SCT_DetectorTool::align
virtual StatusCode align(IOVSVC_CALLBACK_ARGS) override
Definition: SCT_DetectorTool.cxx:261
checker_macros.h
Define macros for attributes used to control the static checker.
SCT_DetectorTool::m_manager
const InDetDD::SCT_DetectorManager * m_manager
Definition: SCT_DetectorTool.h:45
SCT_DetectorTool::m_geoDbTagSvc
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
Definition: SCT_DetectorTool.h:49
IGeoDbTagSvc.h
SCT_DetectorTool::m_alignable
BooleanProperty m_alignable
Definition: SCT_DetectorTool.h:41
ServiceHandle< IGeoDbTagSvc >