ATLAS Offline Software
Functions
AmgTransformPlugin.h File Reference

Go to the source code of this file.

Functions

 Transform (const Vector3d &translation)
 Affine Transform constuctors construct an augmented Matrix R R R T R R R T R R R T 0 0 0 1 Where R is a Rotation matrix T is a translation vector. More...
 
 Transform (const Matrix< double, 3, 3 > &rotation, const Vector3d &translation)
 
 Transform (const Matrix< double, 3, 3 > &rotation, const TranslationType &translation)
 
 Transform (const Vector3d &rotationMatrixCol0, const Vector3d &rotationMatrixCol1, const Vector3d &rotationMatrixCol2, const Vector3d &translation)
 

Function Documentation

◆ Transform() [1/4]

Transform ( const Matrix< double, 3, 3 > &  rotation,
const TranslationType &  translation 
)
inlineexplicit

Definition at line 40 of file AmgTransformPlugin.h.

41  {
42  check_template_params();
43  m_matrix.block(0, 0, 3, 3) = rotation;
44  m_matrix.block(0, 3, 3, 1) = translation.vector();
45  if (int(Mode) == Affine)
46  makeAffine();
47 }

◆ Transform() [2/4]

Transform ( const Matrix< double, 3, 3 > &  rotation,
const Vector3d &  translation 
)
inlineexplicit

Definition at line 32 of file AmgTransformPlugin.h.

33  {
34  check_template_params();
35  m_matrix.block(0, 0, 3, 3) = rotation;
36  m_matrix.block(0, 3, 3, 1) = translation;
37  if (int(Mode) == Affine)
38  makeAffine();
39 }

◆ Transform() [3/4]

Transform ( const Vector3d &  rotationMatrixCol0,
const Vector3d &  rotationMatrixCol1,
const Vector3d &  rotationMatrixCol2,
const Vector3d &  translation 
)
inlineexplicit

Definition at line 49 of file AmgTransformPlugin.h.

52  {
53  check_template_params();
54  m_matrix.block(0, 0, 3, 1) = rotationMatrixCol0;
55  m_matrix.block(0, 1, 3, 1) = rotationMatrixCol1;
56  m_matrix.block(0, 2, 3, 1) = rotationMatrixCol2;
57  m_matrix.block(0, 3, 3, 1) = translation;
58  if (int(Mode) == Affine)
59  makeAffine();
60 }

◆ Transform() [4/4]

Transform ( const Vector3d &  translation)
inlineexplicit

Affine Transform constuctors construct an augmented Matrix R R R T R R R T R R R T 0 0 0 1 Where R is a Rotation matrix T is a translation vector.

Definition at line 24 of file AmgTransformPlugin.h.

24  {
25  check_template_params();
26  m_matrix.block(0, 3, 3, 1) = translation;
27  m_matrix.block(0, 0, 3, 3).setIdentity();
28  if (int(Mode) == Affine)
29  makeAffine();
30 }
xAOD::rotation
rotation
Definition: TrackSurface_v1.cxx:15
EventContainers::Mode
Mode
Definition: IdentifiableContainerBase.h:13