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 
55  Gaudi::Property<bool> m_useMaxVariance{this, "UseMaxVariance", false};
58  Gaudi::Property<float> m_maxVarianceZ{this, "MaxVarianceZ", 0.0014f};
61  Gaudi::Property<float> m_maxVarianceR{this, "MaxVarianceR", 0.015f};
62 
65  static constexpr double s_oneOverTwelve{0.08333};
66 
67  };
68 
69 }
70 
71 #endif // ACTSTRKSPACEPOINTFORMATION_PIXELSPACEPOINTFORMATIONALG_H
ActsTrk::PixelSpacePointFormationTool::s_oneOverTwelve
static constexpr double s_oneOverTwelve
Definition: PixelSpacePointFormationTool.h:65
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
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
ActsTrk::PixelSpacePointFormationTool::m_useMaxVariance
Gaudi::Property< bool > m_useMaxVariance
Whether to use maximum variance for space point covariance If true, the covariance terms will be capp...
Definition: PixelSpacePointFormationTool.h:55
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:240
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
SiDetectorElement.h
ActsTrk::PixelSpacePointFormationTool::m_maxVarianceR
Gaudi::Property< float > m_maxVarianceR
Maximum variance for the r component of the space point covariance.
Definition: PixelSpacePointFormationTool.h:61
xAOD::PixelCluster_v1
Definition: PixelCluster_v1.h:17
SpacePointContainer.h
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition: MdtCalibInput.h:31
PixelID
Definition: PixelID.h:67
ActsTrk::PixelSpacePointFormationTool::m_maxVarianceZ
Gaudi::Property< float > m_maxVarianceZ
Maximum variance for the z component of the space point covariance.
Definition: PixelSpacePointFormationTool.h:58