12 #ifndef LARDATAOBJ_UTILITIES_DATAIOMANIP_H 13 #define LARDATAOBJ_UTILITIES_DATAIOMANIP_H 34 template <
typename Vect>
43 template <
typename Stream>
46 out <<
"( " << v.X() <<
" ; " << v.Y() <<
" ; " << v.Z() <<
" )";
53 template <
typename Vect>
54 std::ostream& operator<<(std::ostream& out, Vector3DStruct<Vect>
const& vmanip)
77 template <
typename Vect>
87 #endif // LARDATAOBJ_UTILITIES_DATAIOMANIP_H Namespace for general, non-LArSoft-specific utilities.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
details::Vector3DStruct< Vect > vector3D(Vect const &v)
Produces a manipulator to print a vector.
Vector3DStruct(Vect const &vector)
Constructor: print the specified vector.
Stream & operator()(Stream &&out) const
The printing operator.
Utility class to store and print a 3D vector.
Vect const & v
Vector to be printed.