ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonAlignment
MuonAlignError
MuonAlignErrorBase
MuonAlignErrorBase
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
8
#include "
MuonAlignErrorBase/AlignmentDeviation.h
"
9
10
namespace
MuonAlign
{
11
class
AlignmentRotationDeviation
:
public
Trk::AlignmentDeviation
{
12
public
:
13
AlignmentRotationDeviation
(
Amg::Vector3D
center,
Amg::Vector3D
axis,
double
sigma,
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
:
56
Amg::Vector3D
m_center
;
57
Amg::Vector3D
m_axis
;
58
double
m_sigma
;
59
};
60
}
// namespace MuonAlign
61
62
#endif
AlignmentDeviation.h
MuonAlign::AlignmentRotationDeviation::getSigma
double getSigma() const
Get the error to apply to this NP.
Definition
AlignmentRotationDeviation.h:53
MuonAlign::AlignmentRotationDeviation::~AlignmentRotationDeviation
virtual ~AlignmentRotationDeviation()=default
MuonAlign::AlignmentRotationDeviation::print
virtual void print(std::ostream &out) const
Verbose.
Definition
AlignmentRotationDeviation.cxx:32
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::getCenter
const Amg::Vector3D & getCenter() const
Get the rotation center.
Definition
AlignmentRotationDeviation.h:43
MuonAlign::AlignmentRotationDeviation::m_axis
Amg::Vector3D m_axis
Definition
AlignmentRotationDeviation.h:57
MuonAlign::AlignmentRotationDeviation::m_sigma
double m_sigma
Definition
AlignmentRotationDeviation.h:58
MuonAlign::AlignmentRotationDeviation::m_center
Amg::Vector3D m_center
Definition
AlignmentRotationDeviation.h:56
MuonAlign::AlignmentRotationDeviation::nPar
virtual int nPar() const
The number of free parameters.
Definition
AlignmentRotationDeviation.cxx:19
MuonAlign::AlignmentRotationDeviation::getAxis
const Amg::Vector3D & getAxis() const
Get the rotation axis.
Definition
AlignmentRotationDeviation.h:48
MuonAlign::AlignmentRotationDeviation::getCovariance
virtual double getCovariance(int ipar, int jpar) const
The error matrix on the free parameters.
Definition
AlignmentRotationDeviation.cxx:21
MuonAlign::AlignmentRotationDeviation::getTransform
virtual Amg::Transform3D getTransform(const std::vector< double > ¶meters) const
Return a Transform in the global coordinate system, given a list of parameters.
Definition
AlignmentRotationDeviation.cxx:23
Trk::AlignmentDeviation
An object decorating a track and holding degrees of freedom reflecting alignment accuracy.
Definition
AlignmentDeviation.h:20
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition
GeoPrimitives.h:46
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition
GeoPrimitives.h:47
MuonAlign
Definition
AlignmentRotationDeviation.h:10
Generated on
for ATLAS Offline Software by
1.17.0