ATLAS Offline Software
StripDetectorTool.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 StripGeoModelXml_STRIPDETECTORTOOL_H
6 #define StripGeoModelXml_STRIPDETECTORTOOL_H
7 //
8 // Create an Athena Tool; handle Athena services and Tools needed for
9 // building the SCT geometry.
10 // This is the entry to the StripGeoModelXml package.
11 //
12 
18 
19 #include <memory>
20 
21 class GeoPhysVol;
22 
23 namespace InDetDD
24 {
25  class SCT_DetectorManager;
26 }
27 
28 namespace ITk
29 {
30 
32 {
33 public:
34  StripDetectorTool(const std::string &type, const std::string &name, const IInterface *parent);
35  virtual ~StripDetectorTool() = default;
36  virtual StatusCode create() override final;
37  virtual StatusCode clear() override final;
38 
39 private:
40  const InDetDD::SCT_DetectorManager *m_detManager{};
41  std::unique_ptr<InDetDD::SiCommonItems> m_commonItems{};
43 
44  Gaudi::Property<bool> m_alignable{this, "Alignable", false, ""};
45  // This should be changed to an ITk-specific one in future, once available
46  Gaudi::Property<std::string> m_alignmentFolderName{this, "AlignmentFolderName", "/Indet/Align", ""};
47  // Print out how many of each layer/eta/phi etc. have been set up.
49  ServiceHandle< IGeometryDBSvc > m_geometryDBSvc{this,"GeometryDBSvc","InDetGeometryDBSvc",""};
50 };
51 
52 } // namespace ITk
53 
54 #endif // StripGeoModelXml_STRIPDETECTORTOOL_H
ITk::StripDetectorTool::create
virtual StatusCode create() override final
Definition: StripDetectorTool.cxx:28
InDetDD::SCT_DetectorManager
Definition: SCT_DetectorManager.h:49
IGeometryDBSvc.h
ITk::StripDetectorTool::m_detManager
const InDetDD::SCT_DetectorManager * m_detManager
Definition: StripDetectorTool.h:40
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
ITk::StripDetectorTool::m_alignable
Gaudi::Property< bool > m_alignable
Definition: StripDetectorTool.h:44
ITk::StripDetectorTool::clear
virtual StatusCode clear() override final
Definition: StripDetectorTool.cxx:104
ITk::StripDetectorTool::m_commonItems
std::unique_ptr< InDetDD::SiCommonItems > m_commonItems
Definition: StripDetectorTool.h:41
ITk::StripDetectorTool::~StripDetectorTool
virtual ~StripDetectorTool()=default
GeoModelTool::manager
virtual GeoVDetectorManager * manager()
The Detector Node corresponding to this tool.
Definition: GeoModelTool.cxx:21
ITk::StripDetectorTool::m_waferTree
WaferTree m_waferTree
Definition: StripDetectorTool.h:42
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SiCommonItems.h
ITk::StripDetectorTool::m_alignmentFolderName
Gaudi::Property< std::string > m_alignmentFolderName
Definition: StripDetectorTool.h:46
test_pyathena.parent
parent
Definition: test_pyathena.py:15
WaferTree.h
ITk
Definition: ITkPixelOfflineCalibCondAlg.cxx:14
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ITk::StripDetectorTool
Definition: StripDetectorTool.h:32
GeoModelXmlTool
Definition: GeoModelXmlTool.h:21
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
GeoModelXmlTool.h
ITk::StripDetectorTool::m_geometryDBSvc
ServiceHandle< IGeometryDBSvc > m_geometryDBSvc
Definition: StripDetectorTool.h:49
ITk::StripDetectorTool::doNumerology
void doNumerology(InDetDD::SCT_DetectorManager *manager)
Definition: StripDetectorTool.cxx:114
checker_macros.h
Define macros for attributes used to control the static checker.
ITk::StripDetectorTool::StripDetectorTool
StripDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: StripDetectorTool.cxx:20
ServiceHandle< IGeometryDBSvc >
WaferTree
Definition: WaferTree.h:74