ATLAS Offline Software
Loading...
Searching...
No Matches
GeometryStatics.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// GeometryStatics.h, (c) ATLAS Detector software
8
9#ifndef TRKDETDESCRUTILS_GEOMETRYSTATICS_H
10#define TRKDETDESCRUTILS_GEOMETRYSTATICS_H
11
13
16namespace Trk {
17
18// transformations
19
20alignas(32) static const Amg::Transform3D s_idTransform = Amg::Transform3D::Identity();
21alignas(32) static const Amg::Rotation3D s_idRotation = Amg::Rotation3D::Identity();
22
23// axis system
24
25alignas(16) static const Amg::Vector3D s_xAxis(1, 0, 0);
26alignas(16) static const Amg::Vector3D s_yAxis(0, 1, 0);
27alignas(16) static const Amg::Vector3D s_zAxis(0, 0, 1);
28
29// origin
30
31alignas(16) static const Amg::Vector3D s_origin(0, 0, 0);
32
33static const double helper[9] = { 0., 1., 0., 1., 0., 0., 0., 0., -1. };
34
36
37}
38
39#endif // TRKDETDESCRUTILS_GEOMETRYSTATICS_H
Eigen::Quaternion< double > Rotation3D
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
static const Amg::Transform3D s_idTransform
idendity transformation
static const Amg::RotationMatrix3D s_idRotationZinverse(helper)
static const Amg::Vector3D s_xAxis(1, 0, 0)
global x Axis;
static const Amg::Rotation3D s_idRotation
idendity rotation
static const Amg::Vector3D s_origin(0, 0, 0)
origin position
static const Amg::Vector3D s_zAxis(0, 0, 1)
global z Axis;
static const double helper[9]
static const Amg::Vector3D s_yAxis(0, 1, 0)
global y Axis;