Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 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}
#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