LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
TransformationMatrix.h
Go to the documentation of this file.
1 
12 #ifndef LARCOREALG_GEOMETRY_TRANSFORMATIONMATRIX_H
13 #define LARCOREALG_GEOMETRY_TRANSFORMATIONMATRIX_H
14 
15 // LArSoft libraries
17 
18 // ROOT libraries
19 #include "Math/GenVector/Transform3D.h"
20 
21 namespace geo {
22 
29  using TransformationMatrix = ROOT::Math::Transform3D;
30 
32  template <typename Trans>
33  decltype(auto) makeTransformationMatrix(Trans&& trans)
34  {
35  return convertTransformationMatrix<geo::TransformationMatrix>(trans);
36  }
37 
38 } // namespace geo
39 
40 #endif // LARCOREALG_GEOMETRY_TRANSFORMATIONMATRIX_H
decltype(auto) makeTransformationMatrix(Trans &&trans)
Converts a transformation matrix into a geo::TransformationMatrix.
Namespace collecting geometry-related classes utilities.
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
Specialization of local-to-world transformations for ROOT GenVector.