|
ACTS
Experiment-independent tracking
|
Functions | |
| double | cast (const Vector3 &position, AxisDirection aDir) |
| Helper method to extract the binning value from a 3D vector. | |
| SquareMatrix3 | cross (const SquareMatrix3 &m, const Vector3 &v) |
| Calculates column-wise cross products of a matrix and a vector and stores the result column-wise in a matrix. | |
| template<typename Derived> requires (Eigen::MatrixBase<Derived>::RowsAtCompileTime == 3) | |
| double | deltaR (const Eigen::MatrixBase< Derived > &v1, const Eigen::MatrixBase< Derived > &v2) |
| Calculate the deltaR between two vectors. | |
| template<typename Derived> requires (Eigen::MatrixBase<Derived>::RowsAtCompileTime == -1) | |
| double | eta (const Eigen::MatrixBase< Derived > &v) noexcept |
| Calculate the pseudorapidity for a vector with dynamic size. | |
| template<typename Derived> requires (Eigen::MatrixBase<Derived>::RowsAtCompileTime == 3) | |
| double | eta (const Eigen::MatrixBase< Derived > &v) noexcept |
| Calculate the pseudorapidity for a vector with static size. | |
| std::array< double, 4 > | evaluateTrigonomics (const Vector3 &direction) |
| Fast evaluation of trigonomic functions. | |
| std::pair< double, double > | incidentAngles (const Acts::Vector3 &direction, const Acts::RotationMatrix3 &globalToLocal) |
| Calculate the incident angles of a vector with in a given reference frame. | |
| template<typename vector3_t> | |
| auto | makeVector4 (const Eigen::MatrixBase< vector3_t > &vec3, typename vector3_t::Scalar w) -> Eigen::Matrix< typename vector3_t::Scalar, 4, 1 > |
| Construct a four-vector from a three-vector and scalar fourth component. | |
| template<typename Derived> | |
| double | perp (const Eigen::MatrixBase< Derived > &v) noexcept |
| Calculate radius in the transverse (xy) plane of a vector. | |
| template<typename Derived> requires (Eigen::MatrixBase<Derived>::RowsAtCompileTime == -1) | |
| double | phi (const Eigen::MatrixBase< Derived > &v) noexcept |
| Calculate phi (transverse plane angle) from compatible Eigen types with dynamic size. | |
| template<typename Derived> requires (Eigen::MatrixBase<Derived>::RowsAtCompileTime >= 2) | |
| double | phi (const Eigen::MatrixBase< Derived > &v) noexcept |
| Calculate phi (transverse plane angle) from compatible Eigen types with static size. | |
| template<typename T> requires requires { { v.phi() } -> std::floating_point; } | |
| double | phi (const T &v) noexcept |
| Calculate phi (transverse plane angle) from anything implementing a method like phi() returning anything convertible to double. | |
| auto | position (const FreeVector ¶ms) |
| Access the three-position components in a free parameters vector. | |
| auto | position (const Vector4 &pos4) |
| Access the three-position components in a four-position vector. | |
| template<typename Derived> requires (Eigen::MatrixBase<Derived>::RowsAtCompileTime == -1) | |
| double | theta (const Eigen::MatrixBase< Derived > &v) noexcept |
| Calculate the theta angle (longitudinal w.r.t. | |
| template<typename Derived> requires (Eigen::MatrixBase<Derived>::RowsAtCompileTime == 3) | |
| double | theta (const Eigen::MatrixBase< Derived > &v) noexcept |
| Calculate the theta angle (longitudinal w.r.t. | |
| double Acts::VectorHelpers::cast | ( | const Vector3 & | position, |
| AxisDirection | aDir ) |
Helper method to extract the binning value from a 3D vector.
For this method a 3D vector is required to guarantee all potential axis directions to be casted from
| position | is the position in global |
| aDir | is the axis direction to be extracted |
| SquareMatrix3 Acts::VectorHelpers::cross | ( | const SquareMatrix3 & | m, |
| const Vector3 & | v ) |
Calculates column-wise cross products of a matrix and a vector and stores the result column-wise in a matrix.
| [in] | m | Matrix that will be used for cross products |
| [in] | v | Vector for cross products |
| double Acts::VectorHelpers::deltaR | ( | const Eigen::MatrixBase< Derived > & | v1, |
| const Eigen::MatrixBase< Derived > & | v2 ) |
Calculate the deltaR between two vectors.
| Derived | Eigen derived concrete type |
| v1 | First vector |
| v2 | Second vector |
|
noexcept |
Calculate the pseudorapidity for a vector with dynamic size.
| Derived | Eigen derived concrete type with dynamic size |
| v | Any vector like Eigen type with dynamic size |
v is not exactly 3.
|
noexcept |
Calculate the pseudorapidity for a vector with static size.
| Derived | Eigen derived concrete type with compile-time size == 3 |
| v | Any 3D vector like Eigen type with static size |
| std::array< double, 4 > Acts::VectorHelpers::evaluateTrigonomics | ( | const Vector3 & | direction | ) |
Fast evaluation of trigonomic functions.
| direction | for this evaluatoin |
| std::pair< double, double > Acts::VectorHelpers::incidentAngles | ( | const Acts::Vector3 & | direction, |
| const Acts::RotationMatrix3 & | globalToLocal ) |
Calculate the incident angles of a vector with in a given reference frame.
| Derived | Eigen derived concrete type |
| direction | The crossing direction in the global frame |
| globalToLocal | Rotation from global to local frame |
| auto Acts::VectorHelpers::makeVector4 | ( | const Eigen::MatrixBase< vector3_t > & | vec3, |
| typename vector3_t::Scalar | w )->Eigen::Matrix< typenamevector3_t::Scalar, 4, 1 > |
Construct a four-vector from a three-vector and scalar fourth component.
|
noexcept |
Calculate radius in the transverse (xy) plane of a vector.
| Derived | Eigen derived concrete type |
| v | Any vector like Eigen type, static or dynamic |
v is at least 2, or in case of dynamic size, will abort execution if that is not the case.
|
noexcept |
Calculate phi (transverse plane angle) from compatible Eigen types with dynamic size.
| Derived | Eigen derived concrete type with dynamic size |
| v | Any vector like Eigen type with dynamic size |
v is less than 2.
|
noexcept |
Calculate phi (transverse plane angle) from compatible Eigen types with static size.
| Derived | Eigen derived concrete type with compile-time known size >= 2 |
| v | Any vector like Eigen type with static size |
|
noexcept |
Calculate phi (transverse plane angle) from anything implementing a method like phi() returning anything convertible to double.
| T | anything that has a phi method |
| v | Any type that implements a phi method |
| auto Acts::VectorHelpers::position | ( | const FreeVector & | params | ) |
Access the three-position components in a free parameters vector.
| auto Acts::VectorHelpers::position | ( | const Vector4 & | pos4 | ) |
Access the three-position components in a four-position vector.
|
noexcept |
Calculate the theta angle (longitudinal w.r.t.
z axis) of a vector with dynamic size
| Derived | Eigen derived concrete type with dynamic size |
| v | Any vector like Eigen type with dynamic size |
v is not exactly 3.
|
noexcept |
Calculate the theta angle (longitudinal w.r.t.
z axis) of a vector with static size
| Derived | Eigen derived concrete type with compile-time size == 3 |
| v | Any 3D vector like Eigen type with static size |