ATLAS Offline Software
Loading...
Searching...
No Matches
AlignmentRotationDeviation.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONALIGNERRORBASE_ALIGNMENTROTATIONDEVIATION_H
6#define MUONALIGNERRORBASE_ALIGNMENTROTATIONDEVIATION_H
7
9
10namespace MuonAlign {
12 public:
14 const std::vector<const Trk::RIO_OnTrack*>& hits);
15
16 virtual ~AlignmentRotationDeviation() = default;
17
21 virtual int nPar() const;
22
27 virtual double getCovariance(int ipar, int jpar) const;
28
33 virtual Amg::Transform3D getTransform(const std::vector<double>& parameters) const;
34
38 virtual void print(std::ostream& out) const;
39
43 const Amg::Vector3D& getCenter() const { return m_center; }
44
48 const Amg::Vector3D& getAxis() const { return m_axis; }
49
53 double getSigma() const { return m_sigma; }
54
55 private:
58 double m_sigma;
59 };
60} // namespace MuonAlign
61
62#endif
double getSigma() const
Get the error to apply to this NP.
virtual ~AlignmentRotationDeviation()=default
virtual void print(std::ostream &out) const
Verbose.
AlignmentRotationDeviation(Amg::Vector3D center, Amg::Vector3D axis, double sigma, const std::vector< const Trk::RIO_OnTrack * > &hits)
const Amg::Vector3D & getCenter() const
Get the rotation center.
virtual int nPar() const
The number of free parameters.
const Amg::Vector3D & getAxis() const
Get the rotation axis.
virtual double getCovariance(int ipar, int jpar) const
The error matrix on the free parameters.
virtual Amg::Transform3D getTransform(const std::vector< double > &parameters) const
Return a Transform in the global coordinate system, given a list of parameters.
An object decorating a track and holding degrees of freedom reflecting alignment accuracy.
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D