00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifdef GNUPRAGMA
00011 #pragma implementation
00012 #endif
00013
00014 #include "CLHEP/Vector/Rotation.h"
00015
00016 #include <iomanip>
00017 #include <iostream>
00018
00019 namespace CLHEP {
00020
00021 std::ostream & HepRotation::print( std::ostream & os ) const {
00022 os << "\n [ ( " <<
00023 std::setw(11) << std::setprecision(6) << xx() << " " <<
00024 std::setw(11) << std::setprecision(6) << xy() << " " <<
00025 std::setw(11) << std::setprecision(6) << xz() << ")\n"
00026 << " ( " <<
00027 std::setw(11) << std::setprecision(6) << yx() << " " <<
00028 std::setw(11) << std::setprecision(6) << yy() << " " <<
00029 std::setw(11) << std::setprecision(6) << yz() << ")\n"
00030 << " ( " <<
00031 std::setw(11) << std::setprecision(6) << zx() << " " <<
00032 std::setw(11) << std::setprecision(6) << zy() << " " <<
00033 std::setw(11) << std::setprecision(6) << zz() << ") ]\n";
00034 return os;
00035 }
00036
00037
00038 }