LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
util::manip Namespace Reference

Namespaces

 details
 

Functions

template<typename Vect >
details::Vector3DStruct< Vect > vector3D (Vect const &v)
 Produces a manipulator to print a vector. More...
 

Function Documentation

template<typename Vect >
details::Vector3DStruct<Vect> util::manip::vector3D ( Vect const &  v)

Produces a manipulator to print a vector.

Template Parameters
Vecttype of vector to be printed
Parameters
vvector to be printed

The typical usage is:

TVector3 Tv(2., 3., 4.);
recob::Track::Point_t p(5., 6., 7.);
std::cout << "Tv = " << util::manip::vector3D(Tv)
<< "; point: " << util::manip::vector3D(p)
<< std::endl;

Definition at line 78 of file DataIOmanip.h.

79  {
80  return {v};
81  }