48 G4tgbRotationMatrixMgr::G4tgbRotationMatrixMgr()
59 theInstance->CopyRotMats();
68 G4mstgbrotm::const_iterator tgbcite;
69 for( tgbcite = theTgbRotMats.begin();
70 tgbcite != theTgbRotMats.end(); tgbcite++)
72 delete (*tgbcite).second;
74 theTgbRotMats.clear();
80 void G4tgbRotationMatrixMgr::CopyRotMats()
84 G4mstgrrotm::iterator cite;
85 for( cite = tgrRotms.begin(); cite != tgrRotms.end(); cite++ )
89 theTgbRotMats[tgb->
GetName()] = tgb;
101 G4cout <<
" G4tgbRotationMatrixMgr::FindOrBuildG4RotMatrix() - "
121 G4msg4rotm::const_iterator cite = theG4RotMats.find( name );
122 if( cite != theG4RotMats.end() )
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 );
162 if( cite != theTgbRotMats.end() )
164 rotm = (*cite).second;