64 G4mstgrrotm::iterator cite;
67 delete (*cite).second;
79 if( wl.size() != 5 && wl.size() != 8 && wl.size() != 11 )
82 G4Exception(
"G4tgrRotationMatrixFactory::AddRotMatrix()",
"InvalidMatrix",
89 G4cout <<
" G4tgrRotationMatrixFactory::AddRotMatrix() - Adding: "
96 G4String ErrMessage =
"Rotation matrix repeated... " + wl[1];
97 G4Exception(
"G4tgrRotationMatrixFactory::AddRotMatrix()",
115 G4mstgrrotm::const_iterator cite =
theTgrRotMats.find( name );
118 rotm = (*cite).second;
128 G4cout <<
" @@@@@@@@@@@@@@@@ DUMPING G4tgrRotationMatrix's List " <<
G4endl;
129 G4mstgrrotm::const_iterator cite;
132 G4cout <<
" ROTM: " << (*cite).second->GetName() <<
G4endl;
static G4int GetVerboseLevel()
G4tgrRotationMatrixFactory()
G4tgrRotationMatrix * AddRotMatrix(const std::vector< G4String > &wl)
static G4String GetString(const G4String &str)
std::vector< G4tgrRotationMatrix * > theTgrRotMatList
~G4tgrRotationMatrixFactory()
static G4tgrRotationMatrixFactory * GetInstance()
G4tgrRotationMatrix * FindRotMatrix(const G4String &rotm)
static void DumpVS(const std::vector< G4String > &wl, const char *msg)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
G4mstgrrotm theTgrRotMats
static G4ThreadLocal G4tgrRotationMatrixFactory * theInstance
const G4String & GetName()