Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:10:11

0001 // This file is part of the Acts project.
0002 //
0003 // Copyright (C) 2020 CERN for the benefit of the Acts project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include "Acts/Definitions/Algebra.hpp"
0012 
0013 #include <tuple>
0014 #include <utility>
0015 #include <vector>
0016 
0017 namespace Acts::detail {
0018 
0019 // The container for derivative of local frame axis w.r.t. its
0020 // rotation parameters. The first element is for x axis, second for y axis and
0021 // last for z axis
0022 using RotationToAxes =
0023     std::tuple<RotationMatrix3, RotationMatrix3, RotationMatrix3>;
0024 
0025 /// @brief Evaluate the derivative of local frame axes vector w.r.t.
0026 /// its rotation around global x/y/z axis
0027 /// @Todo: add parameter for rotation axis order
0028 ///
0029 /// @param rotation The rotation that help place the surface
0030 ///
0031 /// @return Derivative of local frame x/y/z axis vector w.r.t. its
0032 /// rotation angles (extrinsic Euler angles) around global x/y/z axis
0033 RotationToAxes rotationToLocalAxesDerivative(const RotationMatrix3& rotation);
0034 
0035 }  // namespace Acts::detail