Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
RotationIO.cc
Go to the documentation of this file.
1// -*- C++ -*-
2// ---------------------------------------------------------------------------
3//
4// This file is a part of the CLHEP - a Class Library for High Energy Physics.
5//
6// This is the implementation of the output method of the HepRotation class,
7// which was introduced when ZOOM PhysicsVectors was merged in.
8//
9
10#ifdef GNUPRAGMA
11#pragma implementation
12#endif
13
15
16#include <iomanip>
17#include <iostream>
18
19namespace CLHEP {
20
21std::ostream & HepRotation::print( std::ostream & os ) const {
22 os << "\n [ ( " <<
23 std::setw(11) << std::setprecision(6) << xx() << " " <<
24 std::setw(11) << std::setprecision(6) << xy() << " " <<
25 std::setw(11) << std::setprecision(6) << xz() << ")\n"
26 << " ( " <<
27 std::setw(11) << std::setprecision(6) << yx() << " " <<
28 std::setw(11) << std::setprecision(6) << yy() << " " <<
29 std::setw(11) << std::setprecision(6) << yz() << ")\n"
30 << " ( " <<
31 std::setw(11) << std::setprecision(6) << zx() << " " <<
32 std::setw(11) << std::setprecision(6) << zy() << " " <<
33 std::setw(11) << std::setprecision(6) << zz() << ") ]\n";
34 return os;
35}
36
37
38} // namespace CLHEP
double zz() const
double yz() const
double zx() const
std::ostream & print(std::ostream &os) const
Definition: RotationIO.cc:21
double yx() const
double zy() const
double xx() const
double yy() const
double xz() const
double xy() const
Definition: DoubConv.h:17