forked from sPHENIX-Collaboration/acts
/
GeometryStatics.hpp
40 lines (30 loc) · 1.14 KB
/
GeometryStatics.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// This file is part of the Acts project.
//
// Copyright (C) 2016-2018 CERN for the benefit of the Acts project
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#pragma once
#include "Acts/Utilities/Definitions.hpp"
/// Define statics for Geometry in Tracking
///
namespace Acts {
// Transformations
static const Transform3D s_idTransform =
Transform3D::Identity(); //!< idendity transformation
static const Rotation3D s_idRotation =
Rotation3D::Identity(); //!< idendity rotation
// Axis system
static const Vector3D s_xAxis(1, 0, 0); //!< global x Axis;
static const Vector3D s_yAxis(0, 1, 0); //!< global y Axis;
static const Vector3D s_zAxis(0, 0, 1); //!< global z Axis;
// Unit vectors
static const Vector2D s_origin2D(0., 0.);
// Origin
static const Vector3D s_origin(0, 0, 0); //!< origin position
namespace detail {
static const double _helper[9] = {0., 1., 0., 1., 0., 0., 0., 0., -1.};
}
static const RotationMatrix3D s_idRotationZinverse(detail::_helper);
} // namespace Acts