Geant4-11
Data Structures | Typedefs | Functions
G4tgbRotationMatrixMgr.hh File Reference
#include "globals.hh"
#include <iostream>
#include <map>
#include "G4tgbRotationMatrix.hh"

Go to the source code of this file.

Data Structures

class  G4tgbRotationMatrixMgr
 

Typedefs

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

Functions

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

Typedef Documentation

◆ G4msg4rotm

using G4msg4rotm = std::map<G4String, G4RotationMatrix*, std::less<G4String> >

Definition at line 47 of file G4tgbRotationMatrixMgr.hh.

◆ G4mstgbrotm

using G4mstgbrotm = std::map<G4String, G4tgbRotationMatrix*, std::less<G4String> >

Definition at line 45 of file G4tgbRotationMatrixMgr.hh.

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().