CMS 3D CMS Logo

HepRotOutput Class Reference

C++ functors for output and conversion of CLHEP and ROOT::Math. More...

#include <DetectorDescription/Core/interface/CLHEPToROOTMath.h>

List of all members.

Public Member Functions

 HepRotOutput ()
void operator() (const HepRotation &r)
 ~HepRotOutput ()


Detailed Description

C++ functors for output and conversion of CLHEP and ROOT::Math.

Definition at line 16 of file CLHEPToROOTMath.h.


Constructor & Destructor Documentation

HepRotOutput::HepRotOutput (  )  [inline]

Definition at line 18 of file CLHEPToROOTMath.h.

00018 { }

HepRotOutput::~HepRotOutput (  )  [inline]

Definition at line 19 of file CLHEPToROOTMath.h.

00019 { }


Member Function Documentation

void HepRotOutput::operator() ( const HepRotation &  r  )  [inline]

Definition at line 20 of file CLHEPToROOTMath.h.

References GenMuonPlsPt100GeV_cfg::cout, and lat::endl().

00020                                            {
00021     std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << r.xx();
00022     std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.xy();
00023     std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.xz() << " ]" << std::endl;
00024     std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << r.yx();
00025     std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.yy();
00026     std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.yz() << " ]" << std::endl;
00027     std::cout << "[ " << std::setw(12) << std::fixed << std::setprecision(5) << r.zx();
00028     std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.zy();
00029     std::cout << ", " << std::setw(12) << std::fixed << std::setprecision(5) << r.zz() << " ]" << std::endl;
00030   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:24:10 2009 for CMSSW by  doxygen 1.5.4