test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
DDRotOutput Class Reference

#include <CLHEPToROOTMath.h>

Public Member Functions

 DDRotOutput ()
 
void operator() (const DDRotationMatrix &r)
 
 ~DDRotOutput ()
 

Detailed Description

Definition at line 62 of file CLHEPToROOTMath.h.

Constructor & Destructor Documentation

DDRotOutput::DDRotOutput ( )
inline

Definition at line 64 of file CLHEPToROOTMath.h.

64 { }
DDRotOutput::~DDRotOutput ( )
inline

Definition at line 65 of file CLHEPToROOTMath.h.

65 { }

Member Function Documentation

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.

66  {
67  double xx, xy, xz, yx, yy, yz, zx, zy, zz;
68  r.GetComponents(xx, xy, xz, yx, yy, yz, zx, zy, zz);
69  std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << xx;
70  std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << xy;
71  std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << xz << " ]" << std::endl;
72  std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << yx;
73  std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << yy;
74  std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << yz << " ]" << std::endl;
75  std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << zx;
76  std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << zy;
77  std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << zz << " ]"<< std::endl;
78  }
tuple cout
Definition: gather_cfg.py:121