Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4tgbRotationMatrixMgr.cc File Reference

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 171 of file G4tgbRotationMatrixMgr.cc.

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}
#define G4endl
Definition: G4ios.hh:52
double thetaY() const
Definition: Rotation.cc:145
double phiY() const
Definition: Rotation.cc:133
double thetaX() const
Definition: Rotation.cc:141
double phiX() const
Definition: Rotation.cc:129
double thetaZ() const
Definition: Rotation.cc:149
double phiZ() const
Definition: Rotation.cc:137