ATLAS Offline Software
|
#include <PatternTrackParameters.h>
Public Member Functions | |
PatternTrackParameters () | |
PatternTrackParameters (const PatternTrackParameters &) | |
PatternTrackParameters & | operator= (const PatternTrackParameters &) |
PatternTrackParameters (PatternTrackParameters &&) noexcept=default | |
PatternTrackParameters & | operator= (PatternTrackParameters &&) noexcept=default |
virtual | ~PatternTrackParameters ()=default |
bool | iscovariance () const |
double | sinPhi () const |
double | cosPhi () const |
double | sinTheta () const |
double | cosTheta () const |
double | cotTheta () const |
void | changeDirection () |
double | transverseMomentum () const |
virtual const Surface & | associatedSurface () const override final |
Access to the Surface associated to the Parameters. More... | |
Amg::Vector3D | position () const |
Amg::Vector3D | momentum () const |
double | charge () const |
virtual bool | hasSurface () const override final |
Test to see if there's a not null surface ptr. More... | |
virtual Amg::RotationMatrix3D | measurementFrame () const override final |
Return the measurement frame - this is needed for alignment, in particular for StraightLine and Perigee Surface. More... | |
virtual PatternTrackParameters * | clone () const override final |
clone method for polymorphic deep copy More... | |
constexpr virtual ParametersType | type () const override final |
Return the ParametersType enum. More... | |
virtual SurfaceType | surfaceType () const override final |
Returns the Surface Type enum for the surface used to define the derived class. More... | |
virtual void | updateParametersHelper (const AmgVector(5) &) override final |
void | setParameters (const Surface *, const double *) |
void | setCovariance (const double *) |
void | setParametersWithCovariance (const Surface *, const double *, const double *) |
void | setParametersWithCovariance (const Surface *, const double *, const AmgSymMatrix(5)&) |
std::unique_ptr< TrackParameters > | convert (bool) const |
bool | production (const TrackParameters *) |
void | diagonalization (double) |
bool | initiate (PatternTrackParameters &, const Amg::Vector2D &, const Amg::MatrixX &) |
void | addNoise (const NoiseOnSurface &, PropDirection) |
void | removeNoise (const NoiseOnSurface &, PropDirection) |
std::ostream & | dump (std::ostream &) const |
MsgStream & | dump (MsgStream &) const |
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... | |
Static Public Attributes | |
static constexpr int | dim = DIM |
Protected Member Functions | |
Amg::Vector3D | localToGlobal (const PlaneSurface *) const |
Amg::Vector3D | localToGlobal (const StraightLineSurface *) const |
Amg::Vector3D | localToGlobal (const DiscSurface *) const |
Amg::Vector3D | localToGlobal (const CylinderSurface *) const |
Amg::Vector3D | localToGlobal (const PerigeeSurface *) const |
Amg::Vector3D | localToGlobal (const ConeSurface *) const |
Amg::Vector3D | calculatePosition (void) const |
Amg::Vector3D | calculateMomentum (void) const |
double | absoluteMomentum () const |
AmgVector (DIM) m_parameters | |
contains the n x n covariance matrix More... | |
virtual void | updateParametersHelper (const AmgVector(DIM) &)=0 |
contains the n parameters More... | |
Protected Attributes | |
SurfaceUniquePtrT< const Surface > | m_surface |
std::optional< AmgSymMatrix(DIM)> | m_covariance = std::nullopt |
charge definition for this track More... | |
T | m_chargeDef {} |
charge definition for this track More... | |
Private Member Functions | |
std::string | to_string () const |
Definition at line 32 of file PatternTrackParameters.h.
Trk::PatternTrackParameters::PatternTrackParameters | ( | ) |
Trk::PatternTrackParameters::PatternTrackParameters | ( | const PatternTrackParameters & | ) |
|
defaultnoexcept |
|
virtualdefault |
|
protected |
void Trk::PatternTrackParameters::addNoise | ( | const NoiseOnSurface & | , |
PropDirection | |||
) |
|
inherited |
|
inherited |
Access method for the covariance matrix - returns nullptr if no covariance matrix is given.
|
inherited |
|
inherited |
Access methods for the parameters.
|
protectedinherited |
contains the n x n covariance matrix
|
finaloverridevirtual |
Access to the Surface associated to the Parameters.
Implements Trk::ParametersCommon< DIM, T >.
|
protected |
Definition at line 441 of file PatternTrackParameters.cxx.
|
protected |
Definition at line 413 of file PatternTrackParameters.cxx.
void Trk::PatternTrackParameters::changeDirection | ( | ) |
Definition at line 368 of file PatternTrackParameters.cxx.
double Trk::PatternTrackParameters::charge | ( | ) | const |
|
finaloverridevirtual |
clone method for polymorphic deep copy
Implements Trk::ParametersCommon< DIM, T >.
std::unique_ptr< Trk::TrackParameters > Trk::PatternTrackParameters::convert | ( | bool | covariance | ) | const |
Definition at line 26 of file PatternTrackParameters.cxx.
double Trk::PatternTrackParameters::cosPhi | ( | ) | const |
double Trk::PatternTrackParameters::cosTheta | ( | ) | const |
double Trk::PatternTrackParameters::cotTheta | ( | ) | const |
void Trk::PatternTrackParameters::diagonalization | ( | double | ) |
MsgStream & Trk::PatternTrackParameters::dump | ( | MsgStream & | out | ) | const |
Definition at line 153 of file PatternTrackParameters.cxx.
std::ostream & Trk::PatternTrackParameters::dump | ( | std::ostream & | out | ) | const |
Definition at line 143 of file PatternTrackParameters.cxx.
|
finaloverridevirtual |
Test to see if there's a not null surface ptr.
Implements Trk::ParametersCommon< DIM, T >.
bool Trk::PatternTrackParameters::initiate | ( | PatternTrackParameters & | Tp, |
const Amg::Vector2D & | P, | ||
const Amg::MatrixX & | E | ||
) |
Definition at line 320 of file PatternTrackParameters.cxx.
|
constexprinherited |
|
inline |
Definition at line 42 of file PatternTrackParameters.h.
|
inherited |
Access method for the local coordinates, \((loc1,loc2)\) local parameter definitions differ for each surface type.
|
protected |
Definition at line 294 of file PatternTrackParameters.cxx.
|
protected |
Definition at line 239 of file PatternTrackParameters.cxx.
|
protected |
Definition at line 214 of file PatternTrackParameters.cxx.
|
protected |
Definition at line 264 of file PatternTrackParameters.cxx.
|
protected |
Definition at line 167 of file PatternTrackParameters.cxx.
|
protected |
Definition at line 184 of file PatternTrackParameters.cxx.
|
finaloverridevirtual |
Return the measurement frame - this is needed for alignment, in particular for StraightLine and Perigee Surface.
Implements Trk::ParametersCommon< DIM, T >.
Amg::Vector3D Trk::PatternTrackParameters::momentum | ( | ) | const |
PatternTrackParameters& Trk::PatternTrackParameters::operator= | ( | const PatternTrackParameters & | ) |
|
defaultnoexcept |
Amg::Vector3D Trk::PatternTrackParameters::position | ( | ) | const |
Definition at line 79 of file PatternTrackParameters.cxx.
bool Trk::PatternTrackParameters::production | ( | const TrackParameters * | ) |
void Trk::PatternTrackParameters::removeNoise | ( | const NoiseOnSurface & | , |
PropDirection | |||
) |
|
inherited |
set covariance
void Trk::PatternTrackParameters::setCovariance | ( | const double * | ) |
|
inherited |
set parameters
void Trk::PatternTrackParameters::setParametersWithCovariance | ( | const Surface * | , |
const double * | , | ||
const AmgSymMatrix(5)& | |||
) |
void Trk::PatternTrackParameters::setParametersWithCovariance | ( | const Surface * | , |
const double * | , | ||
const double * | |||
) |
double Trk::PatternTrackParameters::sinPhi | ( | ) | const |
double Trk::PatternTrackParameters::sinTheta | ( | ) | const |
|
finaloverridevirtual |
Returns the Surface Type enum for the surface used to define the derived class.
Implements Trk::ParametersCommon< DIM, T >.
|
private |
Definition at line 105 of file PatternTrackParameters.cxx.
double Trk::PatternTrackParameters::transverseMomentum | ( | ) | const |
|
constexprfinaloverridevirtual |
Return the ParametersType enum.
Implements Trk::ParametersCommon< DIM, T >.
|
inherited |
Update parameters.
Derived classes override the implementation via updateParametersHelper as this could possibly lead to updating other data members
|
inherited |
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
|
finaloverridevirtual |
|
protectedpure virtualinherited |
contains the n parameters
Implemented in Trk::ParametersBase< DIM, T >, and Trk::CurvilinearParametersT< DIM, T, S >.
|
staticconstexprinherited |
Definition at line 50 of file ParametersCommon.h.
|
protectedinherited |
charge definition for this track
Definition at line 149 of file ParametersCommon.h.
|
protectedinherited |
charge definition for this track
Definition at line 147 of file ParametersCommon.h.
|
protected |
Definition at line 88 of file PatternTrackParameters.h.