ATLAS Offline Software
|
#include <AlignmentRotationDeviation.h>
Public Member Functions | |
AlignmentRotationDeviation (Amg::Vector3D center, Amg::Vector3D axis, double sigma, const std::vector< const Trk::RIO_OnTrack * > &hits) | |
virtual | ~AlignmentRotationDeviation ()=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 & | getCenter () const |
Get the rotation center. More... | |
const Amg::Vector3D & | getAxis () const |
Get the rotation axis. 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_center |
Amg::Vector3D | m_axis |
double | m_sigma |
Definition at line 11 of file AlignmentRotationDeviation.h.
AlignmentRotationDeviation::AlignmentRotationDeviation | ( | Amg::Vector3D | center, |
Amg::Vector3D | axis, | ||
double | sigma, | ||
const std::vector< const Trk::RIO_OnTrack * > & | hits | ||
) |
Definition at line 12 of file AlignmentRotationDeviation.cxx.
|
virtualdefault |
|
inline |
|
inline |
|
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 21 of file AlignmentRotationDeviation.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 23 of file AlignmentRotationDeviation.cxx.
|
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 19 of file AlignmentRotationDeviation.cxx.
|
virtual |
Verbose.
Implements Trk::AlignmentDeviation.
Definition at line 32 of file AlignmentRotationDeviation.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.
|
private |
Definition at line 57 of file AlignmentRotationDeviation.h.
|
private |
Definition at line 56 of file AlignmentRotationDeviation.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 58 of file AlignmentRotationDeviation.h.