EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GeometryStatics.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file GeometryStatics.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2016-2018 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
11 
14 namespace Acts {
15 
16 // Transformations
17 
18 static const Transform3D s_idTransform =
19  Transform3D::Identity();
20 static const Rotation3D s_idRotation =
21  Rotation3D::Identity();
22 
23 // Axis system
24 static const Vector3D s_xAxis(1, 0, 0);
25 static const Vector3D s_yAxis(0, 1, 0);
26 static const Vector3D s_zAxis(0, 0, 1);
27 
28 // Unit vectors
29 static const Vector2D s_origin2D(0., 0.);
30 
31 // Origin
32 
33 static const Vector3D s_origin(0, 0, 0);
34 
35 namespace detail {
36 static const double _helper[9] = {0., 1., 0., 1., 0., 0., 0., 0., -1.};
37 }
38 
40 } // namespace Acts