ATLAS Offline Software
|
#include <AlignmentTranslationDeviation.h>
Public Member Functions | |
AlignmentTranslationDeviation (const Amg::Vector3D &u, double sigma, const std::vector< const Trk::RIO_OnTrack * > &hits) | |
virtual | ~AlignmentTranslationDeviation ()=default |
virtual int | nPar () const |
The number of free parameters. More... | |
virtual double | getCovariance (int ipar, int jpar) const |
The error matrix on the free parameters. More... | |
virtual Amg::Transform3D | getTransform (const std::vector< double > ¶meters) const |
Return a Transform in the global coordinate system, given a list of parameters. More... | |
virtual void | print (std::ostream &out) const |
Verbose. More... | |
const Amg::Vector3D & | getU () const |
Get the translation direction vector. More... | |
double | getSigma () const |
Get the error to apply to this NP. More... | |
const std::vector< const Trk::RIO_OnTrack * > & | getListOfHits () const |
Return the list of hits the transform should be applied to. More... | |
std::size_t | getHashOfHits () const |
Return hash built out of associated hits for fast comparison if deviations have same content. More... | |
void | setHashOfHits (std::size_t hash) |
Set hash built out of associated hits - cannot be calculated in constructor because of dependencies. More... | |
bool | hasValidHashOfHits () const |
Return if the hash created form associated hits is set. More... | |
Protected Attributes | |
std::vector< const Trk::RIO_OnTrack * > | m_hits |
std::size_t | m_hitshash |
bool | m_hitshashdone |
Private Attributes | |
Amg::Vector3D | m_u |
double | m_sigma |
Definition at line 11 of file AlignmentTranslationDeviation.h.
AlignmentTranslationDeviation::AlignmentTranslationDeviation | ( | const Amg::Vector3D & | u, |
double | sigma, | ||
const std::vector< const Trk::RIO_OnTrack * > & | hits | ||
) |
Definition at line 11 of file AlignmentTranslationDeviation.cxx.
|
virtualdefault |
|
virtual |
The error matrix on the free parameters.
Track fitters should use this to compute a constraint on the free parameters.
Implements Trk::AlignmentDeviation.
Definition at line 20 of file AlignmentTranslationDeviation.cxx.
|
inlineinherited |
Return hash built out of associated hits for fast comparison if deviations have same content.
Definition at line 88 of file AlignmentDeviation.h.
|
inlineinherited |
Return the list of hits the transform should be applied to.
Definition at line 86 of file AlignmentDeviation.h.
|
inline |
|
virtual |
Return a Transform in the global coordinate system, given a list of parameters.
Implements Trk::AlignmentDeviation.
Definition at line 22 of file AlignmentTranslationDeviation.cxx.
|
inline |
Get the translation direction vector.
Definition at line 42 of file AlignmentTranslationDeviation.h.
|
inlineinherited |
Return if the hash created form associated hits is set.
Definition at line 95 of file AlignmentDeviation.h.
|
virtual |
The number of free parameters.
Implements Trk::AlignmentDeviation.
Definition at line 18 of file AlignmentTranslationDeviation.cxx.
|
virtual |
Verbose.
Implements Trk::AlignmentDeviation.
Definition at line 27 of file AlignmentTranslationDeviation.cxx.
|
inlineinherited |
Set hash built out of associated hits - cannot be calculated in constructor because of dependencies.
Definition at line 90 of file AlignmentDeviation.h.
|
protectedinherited |
Definition at line 71 of file AlignmentDeviation.h.
|
protectedinherited |
Definition at line 72 of file AlignmentDeviation.h.
|
protectedinherited |
Definition at line 73 of file AlignmentDeviation.h.
|
private |
Definition at line 51 of file AlignmentTranslationDeviation.h.
|
private |
Definition at line 50 of file AlignmentTranslationDeviation.h.