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()",
119 <<
" NDiv= " << obj.theNDiv <<
" Width= " << obj.theWidth
120 <<
" Axis= " << obj.theAxis <<
" Offset= " << obj.theOffset
121 <<
" DivType= " << obj.theDivType <<
G4endl;
G4DLLIMPORT std::ostream G4cout
std::ostream & operator<<(std::ostream &os, const G4tgrPlaceDivRep &obj)
static G4int GetVerboseLevel()
EAxis BuildAxis(const G4String &axisName)
static G4String GetString(const G4String &str)
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
static G4int GetInt(const G4String &str)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)