LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
TransformationMatrix.h
Go to the documentation of this file.
1 
10 #ifndef LARCOREALG_GEOMETRY_TRANSFORMATIONMATRIX_H
11 #define LARCOREALG_GEOMETRY_TRANSFORMATIONMATRIX_H
12 
13 // LArSoft libraries
15 
16 // ROOT libraries
17 #include "Math/GenVector/Transform3D.h"
18 
19 namespace geo {
20 
27  using TransformationMatrix = ROOT::Math::Transform3D;
28 
30  template <typename Trans>
31  decltype(auto) makeTransformationMatrix(Trans&& trans)
32  {
33  return convertTransformationMatrix<TransformationMatrix>(trans);
34  }
35 
36 } // namespace geo
37 
38 #endif // LARCOREALG_GEOMETRY_TRANSFORMATIONMATRIX_H
decltype(auto) makeTransformationMatrix(Trans &&trans)
Converts a transformation matrix into a geo::TransformationMatrix.
ROOT libraries.
ROOT::Math::Transform3D TransformationMatrix
Type of transformation matrix used in geometry.
Specialization of local-to-world transformations for ROOT GenVector.This is a header-only library...