ATLAS Offline Software
|
#include <ParametersCommon.h>
Public Member Functions | |
const | AmgVector (DIM) ¶meters() const |
Access methods for the parameters. More... | |
AmgVector (DIM) ¶meters() | |
const | AmgSymMatrix (DIM) *covariance() const |
Access method for the covariance matrix - returns nullptr if no covariance matrix is given. More... | |
AmgSymMatrix (DIM) *covariance() | |
constexpr bool | isCharged () const |
Returns true if Charged or false if Neutral. More... | |
Amg::Vector2D | localPosition () const |
Access method for the local coordinates, \((loc1,loc2)\) local parameter definitions differ for each surface type. More... | |
void | setParameters (const AmgVector(DIM) ¶m) |
set parameters More... | |
void | setCovariance (const AmgSymMatrix(DIM) &cov) |
set covariance More... | |
void | updateParameters (const AmgVector(DIM) &, const AmgSymMatrix(DIM) &) |
Update parameters and covariance , passing covariance by ref. More... | |
void | updateParameters (const AmgVector(DIM) &) |
Update parameters. More... | |
virtual bool | hasSurface () const =0 |
Test to see if there's a not null surface ptr. More... | |
virtual const Surface & | associatedSurface () const =0 |
Access to the Surface associated to the Parameters. More... | |
virtual Amg::RotationMatrix3D | measurementFrame () const =0 |
Return the measurement frame - this is needed for alignment, in particular for StraightLine and Perigee Surface. More... | |
virtual ParametersCommon< DIM, T > * | clone () const =0 |
clone method for polymorphic deep copy More... | |
constexpr virtual ParametersType | type () const =0 |
Return the ParametersType enum. More... | |
virtual SurfaceType | surfaceType () const =0 |
Returns the Surface Type enum for the surface used to define the derived class. More... | |
virtual | ~ParametersCommon ()=default |
virtual Destructor More... | |
Static Public Attributes | |
static constexpr int | dim = DIM |
Protected Member Functions | |
ParametersCommon ()=default | |
ParametersCommon (ParametersCommon &&) noexcept=default | |
ParametersCommon & | operator= (ParametersCommon &&) noexcept=default |
ParametersCommon (const ParametersCommon &)=default | |
ParametersCommon & | operator= (const ParametersCommon &)=default |
ParametersCommon (const AmgVector(DIM) parameters, std::optional< AmgSymMatrix(DIM)> &&covariance, const T chargeDef) | |
ParametersCommon (std::optional< AmgSymMatrix(DIM)> &&covariance) | |
ParametersCommon (const AmgVector(DIM) ¶meters, std::optional< AmgSymMatrix(DIM)> &&covariance=std::nullopt) | |
virtual void | updateParametersHelper (const AmgVector(DIM) &)=0 |
contains the n parameters More... | |
AmgVector (DIM) m_parameters | |
contains the n x n covariance matrix More... | |
Protected Attributes | |
std::optional< AmgSymMatrix(DIM)> | m_covariance = std::nullopt |
charge definition for this track More... | |
T | m_chargeDef {} |
charge definition for this track More... | |
Common class for neutral, charged and Pattern Track Parameters
Definition at line 45 of file ParametersCommon.h.
|
virtualdefault |
virtual Destructor
|
protecteddefault |
|
protecteddefaultnoexcept |
|
protecteddefault |
|
protected |
|
protected |
|
protected |
Trk::ParametersCommon< DIM, T >::AmgSymMatrix | ( | DIM | ) |
const Trk::ParametersCommon< DIM, T >::AmgSymMatrix | ( | DIM | ) | const |
Access method for the covariance matrix - returns nullptr if no covariance matrix is given.
Trk::ParametersCommon< DIM, T >::AmgVector | ( | DIM | ) | & |
const Trk::ParametersCommon< DIM, T >::AmgVector | ( | DIM | ) | const & |
Access methods for the parameters.
|
protected |
contains the n x n covariance matrix
|
pure virtual |
Access to the Surface associated to the Parameters.
Implemented in Trk::ParametersBase< DIM, T >, Trk::CurvilinearParametersT< DIM, T, S >, and Trk::PatternTrackParameters.
|
pure virtual |
clone method for polymorphic deep copy
Implemented in Trk::ParametersBase< DIM, T >, Trk::CurvilinearParametersT< DIM, T, S >, and Trk::PatternTrackParameters.
|
pure virtual |
Test to see if there's a not null surface ptr.
Implemented in Trk::ParametersBase< DIM, T >, Trk::CurvilinearParametersT< DIM, T, S >, and Trk::PatternTrackParameters.
|
constexpr |
Amg::Vector2D Trk::ParametersCommon< DIM, T >::localPosition | ( | ) | const |
Access method for the local coordinates, \((loc1,loc2)\) local parameter definitions differ for each surface type.
|
pure virtual |
Return the measurement frame - this is needed for alignment, in particular for StraightLine and Perigee Surface.
Implemented in Trk::ParametersBase< DIM, T >, Trk::CurvilinearParametersT< DIM, T, S >, and Trk::PatternTrackParameters.
|
protecteddefault |
|
protecteddefaultnoexcept |
void Trk::ParametersCommon< DIM, T >::setCovariance | ( | const AmgSymMatrix(DIM) & | cov | ) |
set covariance
void Trk::ParametersCommon< DIM, T >::setParameters | ( | const AmgVector(DIM) & | param | ) |
set parameters
|
pure virtual |
Returns the Surface Type enum for the surface used to define the derived class.
Implemented in Trk::ParametersBase< DIM, T >, Trk::CurvilinearParametersT< DIM, T, S >, and Trk::PatternTrackParameters.
|
constexprpure virtual |
Return the ParametersType enum.
Implemented in Trk::ParametersBase< DIM, T >, Trk::CurvilinearParametersT< DIM, T, S >, and Trk::PatternTrackParameters.
void Trk::ParametersCommon< DIM, T >::updateParameters | ( | const AmgVector(DIM) & | ) |
Update parameters.
Derived classes override the implementation via updateParametersHelper as this could possibly lead to updating other data members
void Trk::ParametersCommon< DIM, T >::updateParameters | ( | const AmgVector(DIM) & | , |
const AmgSymMatrix(DIM) & | |||
) |
Update parameters and covariance , passing covariance by ref.
A covariance is created if one does not exist. Otherwise in place update occurs via assignment.
Derived classes override the implementation via updateParametersHelper as this could possibly lead to updating other data members
|
protectedpure virtual |
contains the n parameters
Implemented in Trk::ParametersBase< DIM, T >, and Trk::CurvilinearParametersT< DIM, T, S >.
|
staticconstexpr |
Definition at line 50 of file ParametersCommon.h.
|
protected |
charge definition for this track
Definition at line 149 of file ParametersCommon.h.
|
protected |
charge definition for this track
Definition at line 147 of file ParametersCommon.h.