ATLAS Offline Software
Loading...
Searching...
No Matches
GeoPrimitives.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// GeoPrimitives.h, (c) ATLAS Detector software
8
9#ifndef GEOPRIMITIVES_GEOPRIMITIVES_H
10#define GEOPRIMITIVES_GEOPRIMITIVES_H
11
13
24
25namespace Amg {
26
32 enum AxisDefs {
33 // position access
34 x = 0,
35 y = 1,
36 z = 2,
37 // momentum access
38 px = 0,
39 py = 1,
40 pz = 2
41 };
42
43 using Rotation3D = Eigen::Quaternion<double>;
44 using Translation3D = Eigen::Translation<double, 3>;
45 using AngleAxis3D = Eigen::AngleAxisd;
46 using Transform3D = Eigen::Affine3d;
47 using Vector3D = Eigen::Matrix<double, 3, 1>;
48 using Vector2D = Eigen::Matrix<double, 2, 1>;
49 using RotationMatrix3D = Eigen::Matrix<double, 3, 3>;
50
51
52
53
54}
55#endif /* GEOPRIMITIVES_GEOPRIMITIVES_H */
Definition of ATLAS Math & Geometry primitives (Amg)
Eigen::AngleAxisd AngleAxis3D
Eigen::Quaternion< double > Rotation3D
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
AxisDefs
element for code readability
Eigen::Affine3d Transform3D
Eigen::Matrix< double, 2, 1 > Vector2D
Eigen::Matrix< double, 3, 1 > Vector3D
Eigen::Translation< double, 3 > Translation3D