ATLAS Offline Software
Loading...
Searching...
No Matches
StripCalibratorImpl.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 ACTSTRACKRECONSTRUCTION_STRIPCALIBRATOR_IMPL_H
6#define ACTSTRACKRECONSTRUCTION_STRIPCALIBRATOR_IMPL_H
7
11
14
15
16namespace ActsTrk::detail {
17
18 template <typename traj_t>
20 : public extends<AthAlgTool, IOnTrackCalibratorTool<traj_t>> {
21 public:
22 using base_class = typename extends<AthAlgTool, IOnTrackCalibratorTool<traj_t>>::base_class;
26
27 StripCalibratorImpl(const std::string& type,
28 const std::string& name,
29 const IInterface* parent);
30
31 virtual StatusCode initialize() override;
32
33 std::pair<Pos, Cov> calibrate(const Acts::GeometryContext&,
34 const Acts::CalibrationContext&,
35 const xAOD::StripCluster&,
36 const TrackStateProxy&) const;
37
38 std::pair<Pos, Cov> calibrate(const Acts::GeometryContext&,
39 const Acts::CalibrationContext&,
40 const xAOD::StripCluster&,
41 const Acts::BoundTrackParameters&) const;
42
43 virtual void connect(OnTrackCalibrator<traj_t>& calibrator) const override;
44
46
47 virtual bool calibrateAfterMeasurementSelection() const override;
48
49 private:
50
52
53 std::pair<typename StripCalibratorImpl<traj_t>::Pos,
55 calibrate(const Acts::GeometryContext&,
56 const Acts::CalibrationContext&,
57 const xAOD::StripCluster&,
58 const InDetDD::SiDetectorElement&) const;
59
60 std::optional<float> getCorrectedError(const xAOD::StripCluster& cluster) const;
61
63 "Key of SiDetectorElementCollection for Strip"
64 };
65
66 Gaudi::Property<bool> m_postCalibration{this, "CalibrateAfterMeasurementSelection", false};
67 Gaudi::Property<bool> m_correctCovariance{this, "PerformCovarianceCalibration", true};
68 Gaudi::Property<int> m_errorStrategy {this,"errorStrategy", 0, "Which error strategy to use for clusters on track: 0 - no correction, 1 - cluster size, 2 - from clustering tool"};
69
70 };
71
72} // namespace ActsTrk::detail
73
75
76#endif
77
Acts::Delegate< std::pair< StripPos, StripCov >(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::StripCluster &, const Acts::BoundTrackParameters &)> StripCalibrator
Inner detector / ITk calibrator implementation used in the KalmanFilterTool.
typename Acts::MultiTrajectory< traj_t >::TrackStateProxy TrackStateProxy
std::pair< Pos, Cov > calibrate(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::StripCluster &, const Acts::BoundTrackParameters &) const
StripCalibratorImpl(const std::string &type, const std::string &name, const IInterface *parent)
typename OnTrackCalibrator< traj_t >::StripCov Cov
virtual StatusCode initialize() override
virtual void connect(OnTrackCalibrator< traj_t > &calibrator) const override
std::optional< float > getCorrectedError(const xAOD::StripCluster &cluster) const
typename OnTrackCalibrator< traj_t >::StripPos Pos
typename OnTrackCalibrator< traj_t >::TrackStateProxy TrackStateProxy
const InDetDD::SiDetectorElement & getDetectorElement(xAOD::DetectorIDHashType id) const
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_stripDetEleCollKey
virtual void connectStripCalibrator(IOnBoundStateCalibratorTool::StripCalibrator &calibrator) const override
virtual bool calibrateAfterMeasurementSelection() const override
typename extends< AthAlgTool, IOnTrackCalibratorTool< traj_t > >::base_class base_class
std::pair< typename StripCalibratorImpl< traj_t >::Pos, typename StripCalibratorImpl< traj_t >::Cov > calibrate(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::StripCluster &, const InDetDD::SiDetectorElement &) const
std::pair< Pos, Cov > calibrate(const Acts::GeometryContext &, const Acts::CalibrationContext &, const xAOD::StripCluster &, const TrackStateProxy &) const
Gaudi::Property< bool > m_correctCovariance
Class to hold geometrical description of a silicon detector element.
Athena definition of the Eigen plugin.
StripCluster_v1 StripCluster
Define the version of the strip cluster class.
unsigned int DetectorIDHashType
@ detector ID element hash