#include <MeasurementCalibrator.h>
|
| MeasurementCalibratorBase ()=default |
|
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 32 of file MeasurementCalibrator.h.
◆ MeasurementCalibratorBase()
ActsTrk::MeasurementCalibratorBase::MeasurementCalibratorBase |
( |
| ) |
|
|
default |
◆ setProjector()
template<typename state_t >
void ActsTrk::MeasurementCalibratorBase::setProjector |
( |
xAOD::UncalibMeasType |
measType, |
|
|
Acts::SurfaceBounds::BoundsType |
boundType, |
|
|
state_t & |
trackState |
|
) |
| const |
|
inline |
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 |
|
inline |
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 |
|
inline |
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");
◆ s_pixelSubspaceIndices
constexpr static Acts::BoundSubspaceIndices ActsTrk::MeasurementCalibratorBase::s_pixelSubspaceIndices |
|
staticconstexprprotected |
◆ s_stripSubspaceIndices
constexpr static std::array<Acts::BoundSubspaceIndices, 2> ActsTrk::MeasurementCalibratorBase::s_stripSubspaceIndices |
|
staticconstexprprotected |
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: