Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
G4tgbRotationMatrixMgr.cc File Reference
#include "G4tgbRotationMatrixMgr.hh"
#include "G4SystemOfUnits.hh"
#include "G4tgrRotationMatrixFactory.hh"
#include "G4tgrMessenger.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4RotationMatrix &rot)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4RotationMatrix rot 
)
inline

Definition at line 171 of file G4tgbRotationMatrixMgr.cc.

References python.hepunit::deg, G4endl, CLHEP::HepRotation::phiX(), CLHEP::HepRotation::phiY(), CLHEP::HepRotation::phiZ(), CLHEP::HepRotation::thetaX(), CLHEP::HepRotation::thetaY(), and CLHEP::HepRotation::thetaZ().

172 {
173  os << "[ "
174  << rot.thetaX()/deg << '\t' << rot.phiX()/deg << '\t'
175  << rot.thetaY()/deg << '\t' << rot.phiY()/deg << '\t'
176  << rot.thetaZ()/deg << '\t' << rot.phiZ()/deg << " ]"
177  << G4endl;
178  return os;
179 }
double thetaX() const
Definition: Rotation.cc:141
double phiY() const
Definition: Rotation.cc:133
double phiX() const
Definition: Rotation.cc:129
double thetaY() const
Definition: Rotation.cc:145
double thetaZ() const
Definition: Rotation.cc:149
double phiZ() const
Definition: Rotation.cc:137
#define G4endl
Definition: G4ios.hh:61