58 "G4tgrVolumeDivision::G4tgrVolumeDivision" );
60 "G4tgrVolumeDivision::G4tgrVolumeDivision" );
90 G4cout <<
" G4tgrVolumeDivision::G4tgrVolumeDivision() -"
91 <<
" Replica register parent - child " <<
G4endl;
97 for(
size_t ii = 0; ii < wl0.length(); ii++ )
99 wl0[ii] = toupper( wl0[ii] );
102 if( wl0 ==
":DIV_NDIV" )
111 else if( wl0 ==
":DIV_WIDTH" )
120 else if( wl0 ==
":DIV_NDIV_WIDTH" )
132 G4String ErrMessage =
"Division type not supported, sorry... " + wl[0];
133 G4Exception(
"G4tgrVolumeDivision::G4tgrVolumeDivision()",
139 for(
size_t ii=0; ii<3; ii++) {
theRGBColour[ii] = -1.; }
155 os <<
"G4tgrVolumeDivision= " << obj.
theName
void SetWidth(G4double width)
static G4int GetVerboseLevel()
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
static G4int GetInt(const G4String &str)
static constexpr double mm
void SetDivType(G4DivType typ)
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
void SetOffset(G4double offset)
void SetVolume(G4tgrVolume *vol)
static G4String GetString(const G4String &str)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
G4tgrVolumeDivision(const std::vector< G4String > &wl)
G4tgrPlaceDivRep * thePlaceDiv
void SetType(const G4String &typ)
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)
void SetParentName(const G4String &parentName)
static G4tgrVolumeMgr * GetInstance()
G4tgrVolume * FindVolume(const G4String &volname, G4bool exists=false)