52 "G4tgrVolumeDivision::G4tgrVolumeDivision");
54 "G4tgrVolumeDivision::G4tgrVolumeDivision");
70 thePlaceDiv->
SetType(
"PlaceDivision");
84 G4cout <<
" G4tgrVolumeDivision::G4tgrVolumeDivision() -"
85 <<
" Replica register parent - child " <<
G4endl;
91 for(
G4int ii = 0; ii < (
G4int)wl0.length(); ++ii)
93 wl0[ii] = (char)std::toupper(wl0[ii]);
96 if(wl0 ==
":DIV_NDIV")
105 else if(wl0 ==
":DIV_WIDTH")
114 else if(wl0 ==
":DIV_NDIV_WIDTH")
126 G4String ErrMessage =
"Division type not supported, sorry... " + wl[0];
127 G4Exception(
"G4tgrVolumeDivision::G4tgrVolumeDivision()",
"NotImplemented",
133 for(std::size_t ii = 0; ii < 3; ++ii)
151 os <<
"G4tgrVolumeDivision= " << obj.
theName
152 <<
" Placement= " << *(obj.thePlaceDiv) <<
G4endl;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
std::ostream & operator<<(std::ostream &os, const G4tgrVolumeDivision &obj)
static G4int GetVerboseLevel()
void SetDivType(G4DivType typ)
void SetParentName(const G4String &parentName)
void SetWidth(G4double width)
void SetOffset(G4double offset)
EAxis BuildAxis(const G4String &axisName)
void SetType(const G4String &typ)
void SetVolume(G4tgrVolume *vol)
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.)
G4tgrVolumeDivision(const std::vector< G4String > &wl)
G4tgrVolume * FindVolume(const G4String &volname, G4bool exists=false)
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
static G4tgrVolumeMgr * GetInstance()