ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsDataPreparation
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
ActsToolInterfaces/IPixelSpacePointFormationTool.h
"
10
11
#include "
InDetReadoutGeometry/SiDetectorElement.h
"
12
#include "
xAODInDetMeasurement/PixelClusterContainer.h
"
13
#include "
xAODInDetMeasurement/PixelClusterAuxContainer.h
"
14
#include "
xAODInDetMeasurement/SpacePointContainer.h
"
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
41
virtual
StatusCode
producePixelSpacePoint
(
const
EventContext& ctx,
42
const
Acts::GeometryContext& gctx,
43
const
xAOD::PixelCluster
& cluster,
44
xAOD::SpacePoint
&
sp
,
45
const
InDetDD::SiDetectorElement
& element)
const override
;
47
48
private
:
50
51
const
PixelID
*
m_pixelId
{};
53
57
Gaudi::Property<bool>
m_useMaxVariance
{
this
,
"UseMaxVariance"
,
false
};
60
Gaudi::Property<float>
m_maxVarianceZ
{
this
,
"MaxVarianceZ"
, 0.0014f};
63
Gaudi::Property<float>
m_maxVarianceR
{
this
,
"MaxVarianceR"
, 0.015f};
64
67
static
constexpr
double
s_oneOverTwelve
{0.08333};
68
69
};
70
71
}
72
73
#endif
// ACTSTRKSPACEPOINTFORMATION_PIXELSPACEPOINTFORMATIONALG_H
AthAlgTool.h
PixelClusterContainer.h
SpacePointContainer.h
IPixelSpacePointFormationTool.h
sp
static Double_t sp
Definition
LArPhysWaveHECTool.cxx:37
PixelClusterAuxContainer.h
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:63
ActsTrk::PixelSpacePointFormationTool::initialize
virtual StatusCode initialize() override
Definition
PixelSpacePointFormationTool.cxx:20
ActsTrk::PixelSpacePointFormationTool::s_oneOverTwelve
static constexpr double s_oneOverTwelve
Definition
PixelSpacePointFormationTool.h:67
ActsTrk::PixelSpacePointFormationTool::~PixelSpacePointFormationTool
virtual ~PixelSpacePointFormationTool()=default
ActsTrk::PixelSpacePointFormationTool::m_pixelId
const PixelID * m_pixelId
Definition
PixelSpacePointFormationTool.h:51
ActsTrk::PixelSpacePointFormationTool::m_maxVarianceZ
Gaudi::Property< float > m_maxVarianceZ
Maximum variance for the z component of the space point covariance.
Definition
PixelSpacePointFormationTool.h:60
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:57
ActsTrk::PixelSpacePointFormationTool::PixelSpacePointFormationTool
PixelSpacePointFormationTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
PixelSpacePointFormationTool.cxx:14
ActsTrk::PixelSpacePointFormationTool::producePixelSpacePoint
virtual StatusCode producePixelSpacePoint(const EventContext &ctx, const Acts::GeometryContext &gctx, const xAOD::PixelCluster &cluster, xAOD::SpacePoint &sp, const InDetDD::SiDetectorElement &element) const override
Definition
PixelSpacePointFormationTool.cxx:28
InDetDD::SiDetectorElement
Class to hold geometrical description of a silicon detector element.
Definition
SiDetectorElement.h:109
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
xAOD::SpacePoint
SpacePoint_v1 SpacePoint
Definition
Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/SpacePoint.h:12
xAOD::PixelCluster
PixelCluster_v1 PixelCluster
Define the version of the pixel cluster class.
Definition
Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/PixelCluster.h:13
type
Generated on
for ATLAS Offline Software by
1.17.0