ATLAS Offline Software
ml/PixelGeoModelXml/PixelDetectorTool.h
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef PixelGeoModelXml_PIXELDETECTORTOOL_H
7 #define PixelGeoModelXml_PIXELDETECTORTOOL_H
8 //
9 // Create an Athena Tool; handle Athena services and Tools needed for
10 // building the Pixel geometry. Then create the geometry using the PixelDetectorFactory.
11 // This is the entry to the PixelGeoModelXml package.
12 //
17 
18 #include <memory>
19 
20 class GeoPhysVol;
21 
22 namespace InDetDD
23 {
24  class PixelDetectorManager;
25 }
26 
27 namespace ITk
28 {
29 
31 {
32 public:
33  PixelDetectorTool(const std::string &type, const std::string &name, const IInterface *parent);
34  virtual ~PixelDetectorTool() = default;
35  virtual StatusCode create() override final;
36  virtual StatusCode clear() override final;
37 private:
38  const InDetDD::PixelDetectorManager *m_detManager{};
39  std::unique_ptr<InDetDD::SiCommonItems> m_commonItems{};
41 
42  Gaudi::Property<bool> m_alignable{this, "Alignable", false, ""};
43  // This should be changed to an ITk-specific one in future, once available
44  Gaudi::Property<std::string> m_alignmentFolderName{this, "AlignmentFolderName", "/Indet/Align", ""};
45  // Print out how many of each layer/eta/phi etc. have been set up.
47  ServiceHandle< IGeometryDBSvc > m_geometryDBSvc{this,"GeometryDBSvc","InDetGeometryDBSvc",""};
48 
49 };
50 
51 } // namespace ITk
52 
53 #endif // PixelGeoModelXml_PIXELDETECTORTOOL_H
ITk::PixelDetectorTool::clear
virtual StatusCode clear() override final
Definition: ml/src/PixelDetectorTool.cxx:133
ITk::PixelDetectorTool::PixelDetectorTool
PixelDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ml/src/PixelDetectorTool.cxx:22
IGeometryDBSvc.h
ITk::PixelDetectorTool::m_geometryDBSvc
ServiceHandle< IGeometryDBSvc > m_geometryDBSvc
Definition: ml/PixelGeoModelXml/PixelDetectorTool.h:47
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
ITk::PixelDetectorTool::doNumerology
void doNumerology(InDetDD::PixelDetectorManager *manager)
Definition: ml/src/PixelDetectorTool.cxx:143
GeoModelTool::manager
virtual GeoVDetectorManager * manager()
The Detector Node corresponding to this tool.
Definition: GeoModelTool.cxx:21
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
ITk::PixelDetectorTool::m_detManager
const InDetDD::PixelDetectorManager * m_detManager
Definition: ml/PixelGeoModelXml/PixelDetectorTool.h:38
WaferTree.h
ITk::PixelDetectorTool::m_commonItems
std::unique_ptr< InDetDD::SiCommonItems > m_commonItems
Definition: ml/PixelGeoModelXml/PixelDetectorTool.h:39
InDetDD::PixelDetectorManager
Definition: PixelDetectorManager.h:47
ITk
Definition: ITkPixelOfflineCalibCondAlg.cxx:14
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ITk::PixelDetectorTool::~PixelDetectorTool
virtual ~PixelDetectorTool()=default
ITk::PixelDetectorTool::m_alignmentFolderName
Gaudi::Property< std::string > m_alignmentFolderName
Definition: ml/PixelGeoModelXml/PixelDetectorTool.h:44
ITk::PixelDetectorTool::m_alignable
Gaudi::Property< bool > m_alignable
Definition: ml/PixelGeoModelXml/PixelDetectorTool.h:42
GeoModelXmlTool
Definition: GeoModelXmlTool.h:21
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ITk::PixelDetectorTool::create
virtual StatusCode create() override final
Definition: ml/src/PixelDetectorTool.cxx:30
GeoModelXmlTool.h
ITk::PixelDetectorTool
Definition: ml/PixelGeoModelXml/PixelDetectorTool.h:31
ITk::PixelDetectorTool::m_moduleTree
WaferTree m_moduleTree
Definition: ml/PixelGeoModelXml/PixelDetectorTool.h:40
ServiceHandle< IGeometryDBSvc >
WaferTree
Definition: WaferTree.h:74