Geant4 11.1.1
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
11
12#include <iomanip>
13#include <iostream>
14
15namespace CLHEP {
16
17std::ostream & HepRotation::print( std::ostream & os ) const {
18 os << "\n [ ( " <<
19 std::setw(11) << std::setprecision(6) << xx() << " " <<
20 std::setw(11) << std::setprecision(6) << xy() << " " <<
21 std::setw(11) << std::setprecision(6) << xz() << ")\n"
22 << " ( " <<
23 std::setw(11) << std::setprecision(6) << yx() << " " <<
24 std::setw(11) << std::setprecision(6) << yy() << " " <<
25 std::setw(11) << std::setprecision(6) << yz() << ")\n"
26 << " ( " <<
27 std::setw(11) << std::setprecision(6) << zx() << " " <<
28 std::setw(11) << std::setprecision(6) << zy() << " " <<
29 std::setw(11) << std::setprecision(6) << zz() << ") ]\n";
30 return os;
31}
32
33
34} // namespace CLHEP
double zz() const
double yz() const
double zx() const
std::ostream & print(std::ostream &os) const
Definition: RotationIO.cc:17
double yx() const
double zy() const
double xx() const
double yy() const
double xz() const
double xy() const
Definition: DoubConv.h:17