C++ functors for output and conversion of CLHEP and ROOT::Math.
More...
#include <CLHEPToROOTMath.h>
C++ functors for output and conversion of CLHEP and ROOT::Math.
Definition at line 16 of file CLHEPToROOTMath.h.
HepRotOutput::HepRotOutput |
( |
| ) |
|
|
inline |
HepRotOutput::~HepRotOutput |
( |
| ) |
|
|
inline |
void HepRotOutput::operator() |
( |
const CLHEP::HepRotation & |
r | ) |
|
|
inline |
Definition at line 20 of file CLHEPToROOTMath.h.
References gather_cfg::cout.
21 std::cout <<
"[ " << std::setw(12) << std::fixed << std::setprecision(5) <<
r.xx();
22 std::cout <<
", " << std::setw(12) << std::fixed << std::setprecision(5) <<
r.xy();
23 std::cout <<
", " << std::setw(12) << std::fixed << std::setprecision(5) <<
r.xz() <<
" ]" << std::endl;
24 std::cout <<
"[ " << std::setw(12) << std::fixed << std::setprecision(5) <<
r.yx();
25 std::cout <<
", " << std::setw(12) << std::fixed << std::setprecision(5) <<
r.yy();
26 std::cout <<
", " << std::setw(12) << std::fixed << std::setprecision(5) <<
r.yz() <<
" ]" << std::endl;
27 std::cout <<
"[ " << std::setw(12) << std::fixed << std::setprecision(5) <<
r.zx();
28 std::cout <<
", " << std::setw(12) << std::fixed << std::setprecision(5) <<
r.zy();
29 std::cout <<
", " << std::setw(12) << std::fixed << std::setprecision(5) <<
r.zz() <<
" ]" << std::endl;