#include <MeasurementCalibrator.h>
|
| MeasurementCalibratorBase (const ActsTrk::IActsToTrkConverterTool &converter_tool) |
|
template<typename state_t > |
void | setProjectorBitSet (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 33 of file MeasurementCalibrator.h.
◆ MeasurementCalibratorBase()
◆ makePixelProjector()
static Acts::ProjectorBitset ActsTrk::MeasurementCalibratorBase::makePixelProjector |
( |
| ) |
|
|
inlinestaticprotected |
Definition at line 66 of file MeasurementCalibrator.h.
67 Acts::ActsMatrix<Acts::MultiTrajectoryTraits::MeasurementSizeMax, 2>
proj;
69 proj(Acts::eBoundLoc0, Acts::eBoundLoc0) = 1;
70 proj(Acts::eBoundLoc1, Acts::eBoundLoc1) = 1;
◆ makeProjectorBitset()
template<typename Derived >
static Acts::ProjectorBitset ActsTrk::MeasurementCalibratorBase::makeProjectorBitset |
( |
const Eigen::MatrixBase< Derived > & |
proj | ) |
|
|
inlinestaticprotected |
Definition at line 37 of file MeasurementCalibrator.h.
38 constexpr
int rows = Eigen::MatrixBase<Derived>::RowsAtCompileTime;
39 constexpr
int cols = Eigen::MatrixBase<Derived>::ColsAtCompileTime;
41 Acts::TrackStateTraits<Acts::MultiTrajectoryTraits::MeasurementSizeMax>::Projector fullProjector =
42 decltype(fullProjector)::
Zero();
44 fullProjector.template topLeftCorner<rows, cols>() =
proj;
46 return Acts::matrixToBitset(fullProjector).to_ullong();
◆ makeStripProjector()
static Acts::ProjectorBitset ActsTrk::MeasurementCalibratorBase::makeStripProjector |
( |
bool |
annulus_strip | ) |
|
|
inlinestaticprotected |
Definition at line 49 of file MeasurementCalibrator.h.
50 Acts::ActsMatrix<Acts::MultiTrajectoryTraits::MeasurementSizeMax, 2>
proj;
54 proj(Acts::eBoundLoc0, Acts::eBoundLoc1) = 1;
56 proj(Acts::eBoundLoc0, Acts::eBoundLoc0) = 1;
◆ makeStripProjectorArray()
static std::array<Acts::ProjectorBitset,2> ActsTrk::MeasurementCalibratorBase::makeStripProjectorArray |
( |
| ) |
|
|
inlinestaticprotected |
◆ setProjectorBitSet()
template<typename state_t >
void ActsTrk::MeasurementCalibratorBase::setProjectorBitSet |
( |
xAOD::UncalibMeasType |
measType, |
|
|
Acts::SurfaceBounds::BoundsType |
boundType, |
|
|
state_t & |
trackState |
|
) |
| const |
|
inline |
Definition at line 87 of file MeasurementCalibrator.h.
92 const std::size_t projector_idx = boundType == Acts::SurfaceBounds::eAnnulus;
101 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 106 of file MeasurementCalibrator.h.
111 trackState.allocateCalibrated(Dim);
113 trackState.template calibrated<Dim>() = locpos.template cast<Acts::ActsScalar>();
114 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 119 of file MeasurementCalibrator.h.
122 switch (measurement.type()) {
126 measurement.template localPosition<1>(),
127 measurement.template localCovariance<1>().template topLeftCorner<1, 1>(),
135 measurement.template localPosition<2>(),
136 measurement.template localCovariance<2>().template topLeftCorner<2, 2>(),
142 throw std::domain_error(
"Can only handle measurement type pixel or strip");
◆ m_converterTool
◆ m_pixelProjector
Acts::ProjectorBitset ActsTrk::MeasurementCalibratorBase::m_pixelProjector |
|
protected |
◆ m_stripProjector
std::array<Acts::ProjectorBitset,2> ActsTrk::MeasurementCalibratorBase::m_stripProjector |
|
protected |
The documentation for this class was generated from the following file: