test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Alignment
CommonAlignmentParametrization
interface
FrameToFrameDerivative.h
Go to the documentation of this file.
1
#ifndef Alignment_CommonAlignmentParametrization_FrameToFrameDerivative_h
2
#define Alignment_CommonAlignmentParametrization_FrameToFrameDerivative_h
3
4
#include "
CondFormats/Alignment/interface/Definitions.h
"
5
#include "
DataFormats/Math/interface/AlgebraicROOTObjects.h
"
6
17
18
class
Alignable
;
19
20
class
FrameToFrameDerivative
21
{
22
public
:
23
36
37
AlgebraicMatrix
frameToFrameDerivative
(
const
Alignable
*
object
,
38
const
Alignable
* composedObject)
const
;
39
45
AlgebraicMatrix66
getDerivative
(
const
align::RotationType
&objectRot,
46
const
align::RotationType
&composeRot,
47
const
align::GlobalPoint
&objectPos,
48
const
align::GlobalPoint
&composePos)
const
;
49
50
private
:
52
inline
static
AlgebraicMatrix
transform
(
const
align::RotationType
&);
53
55
AlgebraicMatrix
getDerivative
(
const
align::RotationType
&objectRot,
56
const
align::RotationType
&composeRot,
57
const
align::GlobalVector
&posVec)
const
;
58
60
AlgebraicVector
linearEulerAngles
(
const
AlgebraicMatrix
&rotDelta)
const
;
61
63
AlgebraicMatrix
derivativePosPos
(
const
AlgebraicMatrix
&RotDet,
64
const
AlgebraicMatrix
&RotRot)
const
;
65
67
AlgebraicMatrix
derivativePosRot
(
const
AlgebraicMatrix
&RotDet,
68
const
AlgebraicMatrix
&RotRot,
69
const
AlgebraicVector
&
S
)
const
;
70
72
AlgebraicMatrix
derivativeRotRot
(
const
AlgebraicMatrix
&RotDet,
73
const
AlgebraicMatrix
&RotRot)
const
;
74
75
};
76
77
AlgebraicMatrix
FrameToFrameDerivative::transform
(
const
align::RotationType
&
rot
)
78
{
79
AlgebraicMatrix
R
(3, 3);
80
81
R
(1, 1) = rot.
xx
();
R
(1, 2) = rot.
xy
();
R
(1, 3) = rot.
xz
();
82
R
(2, 1) = rot.
yx
();
R
(2, 2) = rot.
yy
();
R
(2, 3) = rot.
yz
();
83
R
(3, 1) = rot.
zx
();
R
(3, 2) = rot.
zy
();
R
(3, 3) = rot.
zz
();
84
85
return
R
;
86
}
87
88
#endif
89
TkRotation::xx
T xx() const
Definition:
extTkRotation.h:251
AlgebraicROOTObjects.h
Alignable
Definition:
Alignable.h:29
AlgebraicMatrix66
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepStd< double, 6, 6 > > AlgebraicMatrix66
Definition:
AlgebraicROOTObjects.h:62
Vector3DBase< Scalar, GlobalTag >
TkRotation::yx
T yx() const
Definition:
extTkRotation.h:254
TkRotation::zx
T zx() const
Definition:
extTkRotation.h:257
TkRotation::xy
T xy() const
Definition:
extTkRotation.h:252
FrameToFrameDerivative::transform
static AlgebraicMatrix transform(const align::RotationType &)
Helper to transform from RotationType to AlgebraicMatrix.
Definition:
FrameToFrameDerivative.h:77
TkRotation::zz
T zz() const
Definition:
extTkRotation.h:259
FrameToFrameDerivative::getDerivative
AlgebraicMatrix66 getDerivative(const align::RotationType &objectRot, const align::RotationType &composeRot, const align::GlobalPoint &objectPos, const align::GlobalPoint &composePos) const
Definition:
FrameToFrameDerivative.cc:28
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition:
AlgebraicObjects.h:13
TkRotation< Scalar >
dttmaxenums::R
Definition:
DTTMax.h:28
TkRotation::zy
T zy() const
Definition:
extTkRotation.h:258
Definitions.h
FrameToFrameDerivative::frameToFrameDerivative
AlgebraicMatrix frameToFrameDerivative(const Alignable *object, const Alignable *composedObject) const
Definition:
FrameToFrameDerivative.cc:16
TkRotation::yy
T yy() const
Definition:
extTkRotation.h:255
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition:
AlgebraicObjects.h:12
FrameToFrameDerivative::derivativeRotRot
AlgebraicMatrix derivativeRotRot(const AlgebraicMatrix &RotDet, const AlgebraicMatrix &RotRot) const
Calculates the derivative DRot/DRot.
Definition:
FrameToFrameDerivative.cc:154
S
double S(const TLorentzVector &, const TLorentzVector &)
Definition:
Particle.cc:99
Point3DBase< Scalar, GlobalTag >
TkRotation::xz
T xz() const
Definition:
extTkRotation.h:253
FrameToFrameDerivative::derivativePosRot
AlgebraicMatrix derivativePosRot(const AlgebraicMatrix &RotDet, const AlgebraicMatrix &RotRot, const AlgebraicVector &S) const
Calculates the derivative DPos/DRot.
Definition:
FrameToFrameDerivative.cc:116
FrameToFrameDerivative
Definition:
FrameToFrameDerivative.h:20
TkRotation::yz
T yz() const
Definition:
extTkRotation.h:256
makeMuonMisalignmentScenario.rot
list rot
Definition:
makeMuonMisalignmentScenario.py:320
FrameToFrameDerivative::derivativePosPos
AlgebraicMatrix derivativePosPos(const AlgebraicMatrix &RotDet, const AlgebraicMatrix &RotRot) const
Calculates the derivative DPos/DPos.
Definition:
FrameToFrameDerivative.cc:105
FrameToFrameDerivative::linearEulerAngles
AlgebraicVector linearEulerAngles(const AlgebraicMatrix &rotDelta) const
Gets linear approximated euler Angles.
Definition:
FrameToFrameDerivative.cc:193
Generated for CMSSW Reference Manual by
1.8.5