ATLAS Offline Software
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 
25 namespace 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 */
Amg::Rotation3D
Eigen::Quaternion< double > Rotation3D
Definition: GeoPrimitives.h:43
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
Amg::AxisDefs
AxisDefs
element for code readability
Definition: GeoPrimitives.h:32
Amg::y
@ y
Definition: GeoPrimitives.h:35
Amg::z
@ z
Definition: GeoPrimitives.h:36
Amg::x
@ x
Definition: GeoPrimitives.h:34
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
Amg::px
@ px
Definition: GeoPrimitives.h:38
Amg::pz
@ pz
Definition: GeoPrimitives.h:40
EventPrimitives.h
Amg::py
@ py
Definition: GeoPrimitives.h:39
Amg
Definition of ATLAS Math & Geometry primitives (Amg)
Definition: AmgStringHelpers.h:19
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Amg::RotationMatrix3D
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
Definition: GeoPrimitives.h:49
Amg::Translation3D
Eigen::Translation< double, 3 > Translation3D
Definition: GeoPrimitives.h:44
Amg::AngleAxis3D
Eigen::AngleAxisd AngleAxis3D
Definition: GeoPrimitives.h:45