ATLAS Offline Software
Namespaces | Functions
UnitConverters.h File Reference
#include "GeoPrimitives/GeoPrimitives.h"
#include "GaudiKernel/SystemOfUnits.h"
#include "Acts/Definitions/Units.hpp"
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/Common.hpp"
#include <utility>
Include dependency graph for UnitConverters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ActsTrk
 The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout geometry to cache the final transformations of the sensor surfaces associated to one particular detector technology (Pixel, Sct, etc.).
 

Functions

constexpr double ActsTrk::energyToActs (const double athenaE)
 Converts an energy scalar from Athena to Acts units. More...
 
constexpr double ActsTrk::energyToAthena (const double actsE)
 Converts an energy scalar from Acts to Athena units. More...
 
constexpr double ActsTrk::lengthToActs (const double athenaL)
 Converts a length scalar from Acts to Athena units. More...
 
constexpr double ActsTrk::lengthToAthena (const double actsL)
 Converts a length scalar from Acts to Athena units. More...
 
constexpr double ActsTrk::timeToActs (const double athenaT)
 Converts a time unit from Athena to Acts units. More...
 
constexpr double ActsTrk::timeToAthena (const double actsT)
 Converts a time unit from Acts to Athena units. More...
 
Acts::Vector3 ActsTrk::convertDirToActs (const Amg::Vector3D &athenaDir)
 Converts a direction vector from athena units into acts units. More...
 
Amg::Vector3D ActsTrk::convertDirFromActs (const Acts::Vector3 &actsDir)
 Converts a direction vector from acts units into athena units. More...
 
Acts::Vector4 ActsTrk::convertPosToActs (const Amg::Vector3D &athenaPos, const double athenaTime=0.)
 Converts a position vector & time from Athena units into Acts units. More...
 
std::pair< Amg::Vector3D, double > ActsTrk::convertPosFromActs (const Acts::Vector4 &actsPos)
 Converts an Acts 4-vector into a pair of an Athena spatial vector and the passed time. More...
 
Acts::Vector4 ActsTrk::convertMomToActs (const Amg::Vector3D &threeMom, const double mass=0.)
 Converts a three momentum vector from Athena together with the associated particle mass into an Acts four-momentum vector. More...
 
std::pair< Amg::Vector3D, double > ActsTrk::convertMomFromActs (const Acts::Vector4 &actsMom)
 Converts an Acts four-momentum vector into an pair of an Athena three-momentum and the paritcle's energy. More...