ATLAS Offline Software
Functions
AmgTransformPlugin.h File Reference

Go to the source code of this file.

Functions

 Transform (const Vector3d &rotationMatrixCol0, const Vector3d &rotationMatrixCol1, const Vector3d &rotationMatrixCol2)
 
 Transform (const Vector3d &translation)
 
 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/5]

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

Definition at line 39 of file AmgTransformPlugin.h.

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

◆ Transform() [2/5]

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

Definition at line 31 of file AmgTransformPlugin.h.

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

◆ Transform() [3/5]

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

Definition at line 12 of file AmgTransformPlugin.h.

14  {
15  check_template_params();
16  m_matrix.block(0, 0, 3, 1) = rotationMatrixCol0;
17  m_matrix.block(0, 1, 3, 1) = rotationMatrixCol1;
18  m_matrix.block(0, 2, 3, 1) = rotationMatrixCol2;
19  if (int(Mode) == Affine)
20  makeAffine();
21 }

◆ Transform() [4/5]

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

Definition at line 48 of file AmgTransformPlugin.h.

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

◆ Transform() [5/5]

Transform ( const Vector3d &  translation)
inlineexplicit

Definition at line 23 of file AmgTransformPlugin.h.

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