C++ functors for output and conversion of CLHEP and ROOT::Math. More...
#include <CLHEPToROOTMath.h>
Public Member Functions | |
HepRotOutput () | |
void | operator() (const CLHEP::HepRotation &r) |
~HepRotOutput () |
C++ functors for output and conversion of CLHEP and ROOT::Math.
Definition at line 16 of file CLHEPToROOTMath.h.
HepRotOutput::HepRotOutput | ( | ) | [inline] |
Definition at line 18 of file CLHEPToROOTMath.h.
{ }
HepRotOutput::~HepRotOutput | ( | ) | [inline] |
Definition at line 19 of file CLHEPToROOTMath.h.
{ }
void HepRotOutput::operator() | ( | const CLHEP::HepRotation & | r | ) | [inline] |
Definition at line 20 of file CLHEPToROOTMath.h.
References gather_cfg::cout.
{ std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << r.xx(); std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.xy(); std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.xz() << " ]" << std::endl; std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << r.yx(); std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.yy(); std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.yz() << " ]" << std::endl; std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << r.zx(); std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.zy(); std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.zz() << " ]" << std::endl; }