ATLAS Offline Software
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 
10 namespace 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
MuonAlign::AlignmentRotationDeviation
Definition: AlignmentRotationDeviation.h:11
pdg_comparison.sigma
sigma
Definition: pdg_comparison.py:324
TRTCalib_Extractor.hits
hits
Definition: TRTCalib_Extractor.py:35
yodamerge_tmp.axis
list axis
Definition: yodamerge_tmp.py:241
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
MuonAlign
Definition: AlignmentRotationDeviation.h:10
MuonAlign::AlignmentRotationDeviation::getTransform
virtual Amg::Transform3D getTransform(const std::vector< double > &parameters) const
Return a Transform in the global coordinate system, given a list of parameters.
Definition: AlignmentRotationDeviation.cxx:23
MuonAlign::AlignmentRotationDeviation::getCovariance
virtual double getCovariance(int ipar, int jpar) const
The error matrix on the free parameters.
Definition: AlignmentRotationDeviation.cxx:21
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
MuonAlign::AlignmentRotationDeviation::AlignmentRotationDeviation
AlignmentRotationDeviation(Amg::Vector3D center, Amg::Vector3D axis, double sigma, const std::vector< const Trk::RIO_OnTrack * > &hits)
Definition: AlignmentRotationDeviation.cxx:12
MuonAlign::AlignmentRotationDeviation::m_sigma
double m_sigma
Definition: AlignmentRotationDeviation.h:58
MuonAlign::AlignmentRotationDeviation::m_axis
Amg::Vector3D m_axis
Definition: AlignmentRotationDeviation.h:57
Trk::AlignmentDeviation
An object decorating a track and holding degrees of freedom reflecting alignment accuracy.
Definition: AlignmentDeviation.h:20
MuonAlign::AlignmentRotationDeviation::getCenter
const Amg::Vector3D & getCenter() const
Get the rotation center.
Definition: AlignmentRotationDeviation.h:43
MuonAlign::AlignmentRotationDeviation::~AlignmentRotationDeviation
virtual ~AlignmentRotationDeviation()=default
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MuonAlign::AlignmentRotationDeviation::nPar
virtual int nPar() const
The number of free parameters.
Definition: AlignmentRotationDeviation.cxx:19
MuonAlign::AlignmentRotationDeviation::m_center
Amg::Vector3D m_center
Definition: AlignmentRotationDeviation.h:56
MuonAlign::AlignmentRotationDeviation::getSigma
double getSigma() const
Get the error to apply to this NP.
Definition: AlignmentRotationDeviation.h:53
physics_parameters.parameters
parameters
Definition: physics_parameters.py:144
MuonAlign::AlignmentRotationDeviation::print
virtual void print(std::ostream &out) const
Verbose.
Definition: AlignmentRotationDeviation.cxx:32
MuonAlign::AlignmentRotationDeviation::getAxis
const Amg::Vector3D & getAxis() const
Get the rotation axis.
Definition: AlignmentRotationDeviation.h:48
AlignmentDeviation.h