![]() |
ATLAS Offline Software
|
Implementation of an uncalibrated AuxiliaryMeasurement which may serve as an external constraint in the track fit. More...
#include <AuxiliaryMeasurement_v1.h>
Public Types | |
| using | SurfLink_t = ElementLink<xAOD::TrackSurfaceContainer> |
| Surfaces are passed via xAOD::TrackSurfaces which are internally converted by the measurement class into Acts surfaces. | |
| using | SurfacePtr_t = std::shared_ptr<const Acts::Surface> |
| using | ProjectorType = ActsTrk::detail::MeasurementCalibratorBase::ProjectorType |
| Use the calibration projector. | |
Public Member Functions | |
| UncalibMeasType | type () const override final |
| Returns the measurement type. | |
| AuxiliaryMeasurement_v1 ()=default | |
| Default constructor. | |
| virtual unsigned | numDimensions () const override final |
| number of dimensions | |
| const SurfLink_t & | surfaceLink () const |
| Returns the link to the associated xAOD::TrackSurface. | |
| const SurfacePtr_t & | surface () const |
| Returns the reference to the Acts::Surface. | |
| void | setSurface (const SurfacePtr_t &surfPtr, SurfLink_t &&surfLink) |
| Associates a surface with the Auxiliary measurement together with its persitifiable surface link. | |
| ProjectorType | calibProjector () const |
| Returns the calibration projector. | |
| void | setProjector (ProjectorType proj) |
| Sets the calibration projector. | |
Functions to get measurement properties | |
| DetectorIDHashType | identifierHash () const |
| Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash). | |
| DetectorIdentType | identifier () const |
| Returns the full Identifier of the measurement. | |
| template<int N> | |
| ConstVectorMap< N > | localPosition () const |
| Returns the local position of the measurement. | |
| template<int N> | |
| VectorMap< N > | localPosition () |
| Returns the local position as mutable eigen map which can be assigned as well. | |
| template<int N> | |
| ConstMatrixMap< N > | localCovariance () const |
| Returns the local covariance of the measurement. | |
| template<int N> | |
| MatrixMap< N > | localCovariance () |
| Returns the local covariance as mutable eigen map which can be assigned as well. | |
Functions to set measurement properties | |
| void | setIdentifierHash (const DetectorIDHashType idHash) |
| Sets the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash). | |
| void | setIdentifier (const DetectorIdentType measId) |
| Sets the full Identifier of the measurement. | |
Direct method to set measurement properties | |
| template<int N> | |
| void | setMeasurement (const DetectorIDHashType idHash, MeasVector< N > locPos, MeasMatrix< N > locCov) |
| Sets IdentifierHash, local position and local covariance of the measurement. | |
Private Attributes | |
| CxxUtils::CachedValue< SurfacePtr_t > | m_surface {} |
Implementation of an uncalibrated AuxiliaryMeasurement which may serve as an external constraint in the track fit.
The pseudo measurement is always expressed at the origin of the associated surface.
Definition at line 24 of file AuxiliaryMeasurement_v1.h.
| using xAOD::AuxiliaryMeasurement_v1::ProjectorType = ActsTrk::detail::MeasurementCalibratorBase::ProjectorType |
Use the calibration projector.
Definition at line 54 of file AuxiliaryMeasurement_v1.h.
| using xAOD::AuxiliaryMeasurement_v1::SurfacePtr_t = std::shared_ptr<const Acts::Surface> |
Definition at line 42 of file AuxiliaryMeasurement_v1.h.
Surfaces are passed via xAOD::TrackSurfaces which are internally converted by the measurement class into Acts surfaces.
The xAOD::TrackSurfaces can be persitified later
Definition at line 37 of file AuxiliaryMeasurement_v1.h.
|
default |
Default constructor.
| ProjectorType xAOD::AuxiliaryMeasurement_v1::calibProjector | ( | ) | const |
Returns the calibration projector.
|
inherited |
Returns the full Identifier of the measurement.
|
inherited |
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash).
Returns the local covariance as mutable eigen map which can be assigned as well.
|
inherited |
Returns the local covariance of the measurement.
Returns the local position as mutable eigen map which can be assigned as well.
|
inherited |
Returns the local position of the measurement.
|
finaloverridevirtual |
number of dimensions
Implements xAOD::UncalibratedMeasurement_v1.
Definition at line 18 of file AuxiliaryMeasurement_v1.cxx.
|
inherited |
Sets the full Identifier of the measurement.
|
inherited |
Sets the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash).
|
inherited |
Sets IdentifierHash, local position and local covariance of the measurement.
| void xAOD::AuxiliaryMeasurement_v1::setProjector | ( | ProjectorType | proj | ) |
Sets the calibration projector.
| void xAOD::AuxiliaryMeasurement_v1::setSurface | ( | const SurfacePtr_t & | surfPtr, |
| SurfLink_t && | surfLink ) |
Associates a surface with the Auxiliary measurement together with its persitifiable surface link.
| surfPtr | Pointer to the transient Acts::Surface |
| surfLink | Link to the persitifiable surface |
Definition at line 37 of file AuxiliaryMeasurement_v1.cxx.
| const AuxiliaryMeasurement_v1::SurfacePtr_t & xAOD::AuxiliaryMeasurement_v1::surface | ( | ) | const |
Returns the reference to the Acts::Surface.
Surfaces associated with pseudo measurements are never alignable
Definition at line 44 of file AuxiliaryMeasurement_v1.cxx.
| const SurfLink_t & xAOD::AuxiliaryMeasurement_v1::surfaceLink | ( | ) | const |
Returns the link to the associated xAOD::TrackSurface.
It maybe invalid if not set before
Definition at line 34 of file AuxiliaryMeasurement_v1.cxx.
|
inlinefinaloverridevirtual |
Returns the measurement type.
Implements xAOD::UncalibratedMeasurement_v1.
Definition at line 27 of file AuxiliaryMeasurement_v1.h.
|
private |
Definition at line 61 of file AuxiliaryMeasurement_v1.h.