Geant4-11
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

◆ operator<<()

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

Definition at line 154 of file G4tgbRotationMatrixMgr.cc.

155{
156 os << "[ " << rot.thetaX() / deg << '\t' << rot.phiX() / deg << '\t'
157 << rot.thetaY() / deg << '\t' << rot.phiY() / deg << '\t'
158 << rot.thetaZ() / deg << '\t' << rot.phiZ() / deg << " ]" << G4endl;
159 return os;
160}
static constexpr double deg
Definition: G4SIunits.hh:132
#define G4endl
Definition: G4ios.hh:57
double thetaY() const
Definition: Rotation.cc:140
double phiY() const
Definition: Rotation.cc:128
double thetaX() const
Definition: Rotation.cc:136
double phiX() const
Definition: Rotation.cc:124
double thetaZ() const
Definition: Rotation.cc:144
double phiZ() const
Definition: Rotation.cc:132

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