9 #ifndef LARCOREALG_GEOMETRY_LOCALTRANSFORMATIONGEO_H 10 #define LARCOREALG_GEOMETRY_LOCALTRANSFORMATIONGEO_H 19 #include <type_traits> 48 template <
typename StoredMatrix
84 (std::vector<TGeoNode const*>
const& path,
size_t depth)
104 {
return Base_t::template LocalToWorld<GlobalPoint_t>(local); }
116 {
return Base_t::template LocalToWorldVect<GlobalVector_t>(local); }
134 {
return Base_t::template WorldToLocal<LocalPoint_t>(world); }
145 {
return Base_t::template WorldToLocalVect<LocalVector_t>(world); }
148 static_assert(!std::is_same<LocalPoint_t, LocalVector_t>(),
149 "Vector and point types must be distinct");
157 #endif // LARCOREALG_GEOMETRY_LOCALTRANSFORMATIONGEO_H ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Vector_t
Type for representation of momenta in 3D space.
Definitions of geometry vector data types.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
Namespace collecting geometry-related classes utilities.