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()",
static G4int GetVerboseLevel()
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
static G4int GetInt(const G4String &str)
static constexpr double mm
static G4String GetString(const G4String &str)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
EAxis BuildAxis(const G4String &axisName)