Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4tgbRotationMatrixMgr.hh File Reference
#include "globals.hh"
#include <iostream>
#include <map>
#include "G4tgbRotationMatrix.hh"

Go to the source code of this file.

Classes

class  G4tgbRotationMatrixMgr
 

Typedefs

typedef std::map< G4String, G4tgbRotationMatrix *, std::less< G4String > > G4mstgbrotm
 
typedef std::map< G4String, G4RotationMatrix *, std::less< G4String > > G4msg4rotm
 

Functions

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

Typedef Documentation

◆ G4msg4rotm

typedef std::map< G4String, G4RotationMatrix*, std::less<G4String> > G4msg4rotm

Definition at line 54 of file G4tgbRotationMatrixMgr.hh.

◆ G4mstgbrotm

typedef std::map< G4String, G4tgbRotationMatrix*, std::less<G4String> > G4mstgbrotm

Definition at line 52 of file G4tgbRotationMatrixMgr.hh.

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