45 : theNDiv(0), theWidth(0.), theAxis(
kUndefined),
63 "G4tgrPlaceDivRep::G4tgrPlaceDivRep" );
65 "G4tgrPlaceDivRep::G4tgrPlaceDivRep" );
93 if( axisName ==
"X" ) {
95 }
else if( axisName ==
"Y" ) {
97 }
else if( axisName ==
"Z" ) {
99 }
else if( axisName ==
"R" ) {
101 }
else if( axisName ==
"PHI" ) {
106 G4String ErrMessage =
"Axis type not found: " + axisName
107 +
". Only valid axis are: X, Y, Z, R, PHI !";
108 G4Exception(
"G4tgrVolumeDivision::GetReplicaAxis()",
EAxis BuildAxis(const G4String &axisName)
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
static G4int GetInt(const G4String &str)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
std::ostream & operator<<(std::ostream &os, const G4tgrPlaceDivRep &obj)
static G4String GetString(const G4String &str)