#include <CLHEPToROOTMath.h>
Public Member Functions | |
DDRotOutput () | |
void | operator() (const DDRotationMatrix &r) |
~DDRotOutput () |
Definition at line 62 of file CLHEPToROOTMath.h.
DDRotOutput::DDRotOutput | ( | ) | [inline] |
Definition at line 64 of file CLHEPToROOTMath.h.
{ }
DDRotOutput::~DDRotOutput | ( | ) | [inline] |
Definition at line 65 of file CLHEPToROOTMath.h.
{ }
void DDRotOutput::operator() | ( | const DDRotationMatrix & | r | ) | [inline] |
Definition at line 66 of file CLHEPToROOTMath.h.
References gather_cfg::cout, and create_public_lumi_plots::xy.
{ double xx, xy, xz, yx, yy, yz, zx, zy, zz; r.GetComponents(xx, xy, xz, yx, yy, yz, zx, zy, zz); std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << xx; std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << xy; std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << xz << " ]" << std::endl; std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << yx; std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << yy; std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << yz << " ]" << std::endl; std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << zx; std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << zy; std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << zz << " ]"<< std::endl; }