#include <MeasurementCalibrator.h>
|
| TrkMeasurementCalibrator (const ActsTrk::IActsToTrkConverterTool &converter_tool) |
|
template<typename trajectory_t > |
void | calibrate ([[maybe_unused]] const Acts::GeometryContext &gctx, [[maybe_unused]] const Acts::CalibrationContext &cctx, const Acts::SourceLink &sl, typename Acts::MultiTrajectory< trajectory_t >::TrackStateProxy trackState) const |
|
template<typename state_t > |
void | setProjector (xAOD::UncalibMeasType measType, Acts::SurfaceBounds::BoundsType boundType, state_t &trackState) const |
|
template<size_t Dim, typename pos_t , typename cov_t , typename state_t > |
void | setState (xAOD::UncalibMeasType measType, const pos_t &locpos, const cov_t &cov, Acts::SurfaceBounds::BoundsType boundType, state_t &trackState) const |
|
template<class measurement_t , typename trajectory_t > |
void | setStateFromMeasurement (const measurement_t &measurement, Acts::SurfaceBounds::BoundsType bound_type, typename Acts::MultiTrajectory< trajectory_t >::TrackStateProxy &trackState) const |
|
Definition at line 108 of file MeasurementCalibrator.h.
◆ TrkMeasurementCalibrator()
◆ calibrate()
template<typename trajectory_t >
void ActsTrk::TrkMeasurementCalibrator::calibrate |
( |
[[maybe_unused] ] const Acts::GeometryContext & |
gctx, |
|
|
[[maybe_unused] ] const Acts::CalibrationContext & |
cctx, |
|
|
const Acts::SourceLink & |
sl, |
|
|
typename Acts::MultiTrajectory< trajectory_t >::TrackStateProxy |
trackState |
|
) |
| const |
|
inline |
Definition at line 144 of file MeasurementCalibrator.h.
148 auto sourceLink = sl.template get<ATLASSourceLink>();
149 trackState.setUncalibratedSourceLink(Acts::SourceLink{sl});
152 this->setStateFromMeasurement<MeasurementAdapter, trajectory_t>(MeasurementAdapter(*sourceLink),
153 surface.bounds().type(),
◆ setProjector()
template<typename state_t >
void ActsTrk::MeasurementCalibratorBase::setProjector |
( |
xAOD::UncalibMeasType |
measType, |
|
|
Acts::SurfaceBounds::BoundsType |
boundType, |
|
|
state_t & |
trackState |
|
) |
| const |
|
inlineinherited |
Definition at line 47 of file MeasurementCalibrator.h.
52 const std::size_t projector_idx = boundType == Acts::SurfaceBounds::eAnnulus;
61 throw std::domain_error(
"Can only handle measurement type pixel or strip");
◆ setState()
template<size_t Dim, typename pos_t , typename cov_t , typename state_t >
void ActsTrk::MeasurementCalibratorBase::setState |
( |
xAOD::UncalibMeasType |
measType, |
|
|
const pos_t & |
locpos, |
|
|
const cov_t & |
cov, |
|
|
Acts::SurfaceBounds::BoundsType |
boundType, |
|
|
state_t & |
trackState |
|
) |
| const |
|
inlineinherited |
Definition at line 66 of file MeasurementCalibrator.h.
71 trackState.allocateCalibrated(Dim);
73 trackState.template calibrated<Dim>() = locpos.template cast<Acts::ActsScalar>();
74 trackState.template calibratedCovariance<Dim>() =
cov.template cast<Acts::ActsScalar>();
◆ setStateFromMeasurement()
template<class measurement_t , typename trajectory_t >
void ActsTrk::MeasurementCalibratorBase::setStateFromMeasurement |
( |
const measurement_t & |
measurement, |
|
|
Acts::SurfaceBounds::BoundsType |
bound_type, |
|
|
typename Acts::MultiTrajectory< trajectory_t >::TrackStateProxy & |
trackState |
|
) |
| const |
|
inlineinherited |
Definition at line 79 of file MeasurementCalibrator.h.
82 switch (measurement.type()) {
86 measurement.template localPosition<1>(),
87 measurement.template localCovariance<1>().template topLeftCorner<1, 1>(),
95 measurement.template localPosition<2>(),
96 measurement.template localCovariance<2>().template topLeftCorner<2, 2>(),
102 throw std::domain_error(
"Can only handle measurement type pixel or strip");
◆ m_converterTool
◆ s_pixelSubspaceIndices
constexpr static Acts::BoundSubspaceIndices ActsTrk::MeasurementCalibratorBase::s_pixelSubspaceIndices |
|
staticconstexprprotectedinherited |
◆ s_stripSubspaceIndices
constexpr static std::array<Acts::BoundSubspaceIndices, 2> ActsTrk::MeasurementCalibratorBase::s_stripSubspaceIndices |
|
staticconstexprprotectedinherited |
Initial value:= {
Acts::BoundSubspaceIndices{Acts::eBoundLoc0},
Acts::BoundSubspaceIndices{Acts::eBoundLoc1}
}
Definition at line 35 of file MeasurementCalibrator.h.
The documentation for this class was generated from the following file: