ATLAS Offline Software
Loading...
Searching...
No Matches
src/PixelDetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PIXELGEOMODEL_PIXELDETECTORTOOL_H
6#define PIXELGEOMODEL_PIXELDETECTORTOOL_H
7
9#include "GaudiKernel/ToolHandle.h"
10#include "GaudiKernel/ServiceHandle.h"
11
16
18
20
21namespace InDetDD {
23}
24
25class PixelDetectorTool final : public GeoModelTool {
26
27 public:
28 // Standard Constructor
29 PixelDetectorTool( const std::string& type, const std::string& name, const IInterface* parent );
30 // Standard Destructor
31 virtual ~PixelDetectorTool() override final;
32
33 virtual StatusCode initialize() override final;
34
35 virtual StatusCode create() override final;
36 virtual StatusCode clear() override final;
37
38 // Callback function itself
39 virtual StatusCode align ATLAS_NOT_THREAD_SAFE (IOVSVC_CALLBACK_ARGS) override;
40
41private:
42 //
43 bool m_services{true};
44 bool m_servicesOnLadder{true}; //JBdV
45 std::string m_detectorName{"PixelDetector"};
46 ServiceHandle<IIBLParameterSvc> m_IBLParameterSvc{this,"IBLParameterSvc","IBLParameterSvc",""};
47 bool m_dc1Geometry{false};
48 bool m_alignable{true};
49 bool m_tweakIBLDist{true}; // whether to tweak L3 transforms with IBLDist
50 bool m_initialLayout{false};
51 bool m_devVersion{false};
52 bool m_buildDBM{false};
54 ToolHandle< IGeoSubDetTool > m_bcmTool{this,"BCM_Tool","",""};
55 ToolHandle< IGeoSubDetTool > m_blmTool{this,"BLM_Tool","",""};
56 PublicToolHandle< IInDetServMatBuilderTool > m_serviceBuilderTool{this,"ServiceBuilderTool","",""};
57 ServiceHandle< IGeometryDBSvc > m_geometryDBSvc{this,"GeometryDBSvc","InDetGeometryDBSvc",""};
60
62
63};
64
65#endif // PIXELGEOMODEL_PIXELDETECTORTOOL_H
#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
Define macros for attributes used to control the static checker.
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
ToolHandle< IGeoSubDetTool > m_bcmTool
ToolHandle< IGeoSubDetTool > m_blmTool
const InDetDD::PixelDetectorManager * m_manager
virtual StatusCode initialize() override final
std::string m_overrideVersionName
virtual ~PixelDetectorTool() override final
ServiceHandle< IGeometryDBSvc > m_geometryDBSvc
virtual StatusCode create() override final
Create the Detector Node corresponding to this tool.
virtual StatusCode align ATLAS_NOT_THREAD_SAFE(IOVSVC_CALLBACK_ARGS) override
PixelGeoModelAthenaComps * m_athenaComps
virtual StatusCode clear() override final
ServiceHandle< IIBLParameterSvc > m_IBLParameterSvc
PixelDetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
PublicToolHandle< IInDetServMatBuilderTool > m_serviceBuilderTool
Class to hold various Athena components.
Message Stream Member.