68 G4mstgbrotm::const_iterator tgbcite;
72 delete (*tgbcite).second;
84 G4mstgrrotm::iterator cite;
85 for( cite = tgrRotms.begin(); cite != tgrRotms.end(); cite++ )
101 G4cout <<
" G4tgbRotationMatrixMgr::FindOrBuildG4RotMatrix() - "
121 G4msg4rotm::const_iterator cite =
theG4RotMats.find( name );
124 g4rotm = (*cite).second;
130 G4cout <<
" G4tgbRotationMatrixMgr::FindG4RotMatrix(): " <<
G4endl
131 <<
" Name: " << name <<
" = " << g4rotm <<
G4endl;
147 G4String ErrMessage =
"Rotation Matrix " + name +
" not found !";
148 G4Exception(
"G4tgbRotationMatrixFactory::FindOrBuildRotMatrix()",
161 G4mstgbrotm::const_iterator cite =
theTgbRotMats.find( name );
164 rotm = (*cite).second;
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 <<
" ]"
std::map< G4String, G4tgrRotationMatrix * > G4mstgrrotm
CLHEP::HepRotation G4RotationMatrix
static G4tgbRotationMatrixMgr * GetInstance()
G4tgbRotationMatrix * FindOrBuildTgbRotMatrix(const G4String &name)
static G4ThreadLocal G4tgbRotationMatrixMgr * theInstance
const G4mstgrrotm & GetRotMatMap() const
static G4tgrRotationMatrixFactory * GetInstance()
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
G4RotationMatrix * FindG4RotMatrix(const G4String &name)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4mstgbrotm theTgbRotMats
~G4tgbRotationMatrixMgr()
G4RotationMatrix * FindOrBuildG4RotMatrix(const G4String &name)
std::ostream & operator<<(std::ostream &os, const G4RotationMatrix &rot)
G4RotationMatrix * BuildG4RotMatrix()
G4tgbRotationMatrix * FindTgbRotMatrix(const G4String &name)