ATLAS Offline Software
PixelSpacePointFormationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ACTSTRK_DATAPREPARATION_PIXELSPACEPOINTFORMATIONTOOL_H
6 #define ACTSTRK_DATAPREPARATION_PIXELSPACEPOINTFORMATIONTOOL_H
7 
10 
15 
16 #include <string>
17 
18 class PixelID;
19 
20 namespace ActsTrk {
27 
28  class PixelSpacePointFormationTool: public extends<AthAlgTool, ActsTrk::IPixelSpacePointFormationTool> {
29  public:
31 
32  PixelSpacePointFormationTool(const std::string& type,
33  const std::string& name,
34  const IInterface* parent);
35  virtual ~PixelSpacePointFormationTool() = default;
36  virtual StatusCode initialize() override;
38 
40 
42  xAOD::SpacePoint& sp,
43  const InDetDD::SiDetectorElement& element) const override;
45 
46  private:
48 
49  const PixelID* m_pixelId{};
51 
54  static constexpr double s_oneOverTwelve{0.08333};
55 
56  };
57 
58 }
59 
60 #endif // ACTSTRKSPACEPOINTFORMATION_PIXELSPACEPOINTFORMATIONALG_H
ActsTrk::PixelSpacePointFormationTool::s_oneOverTwelve
static constexpr double s_oneOverTwelve
Definition: PixelSpacePointFormationTool.h:54
ActsTrk::PixelSpacePointFormationTool::m_pixelId
const PixelID * m_pixelId
Definition: PixelSpacePointFormationTool.h:49
ActsTrk::PixelSpacePointFormationTool::initialize
virtual StatusCode initialize() override
Definition: PixelSpacePointFormationTool.cxx:20
xAOD::SpacePoint_v1
Definition: SpacePoint_v1.h:29
ActsTrk::PixelSpacePointFormationTool::~PixelSpacePointFormationTool
virtual ~PixelSpacePointFormationTool()=default
ActsTrk::PixelSpacePointFormationTool::producePixelSpacePoint
virtual StatusCode producePixelSpacePoint(const xAOD::PixelCluster &cluster, xAOD::SpacePoint &sp, const InDetDD::SiDetectorElement &element) const override
Definition: PixelSpacePointFormationTool.cxx:28
ActsTrk::PixelSpacePointFormationTool
Definition: PixelSpacePointFormationTool.h:28
ActsTrk::PixelSpacePointFormationTool::PixelSpacePointFormationTool
PixelSpacePointFormationTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: PixelSpacePointFormationTool.cxx:14
IPixelSpacePointFormationTool.h
PixelClusterAuxContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelClusterContainer.h
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
SiDetectorElement.h
xAOD::PixelCluster_v1
Definition: PixelCluster_v1.h:17
SpacePointContainer.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MuonDetectorBuilderTool.cxx:49
PixelID
Definition: PixelID.h:67