58 "G4tgrVolumeDivision::G4tgrVolumeDivision" );
60 "G4tgrVolumeDivision::G4tgrVolumeDivision" );
76 thePlaceDiv->
SetType(
"PlaceDivision");
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
156 <<
" Placement= " << *(obj.thePlaceDiv) <<
G4endl;
EAxis BuildAxis(const G4String &axisName)
G4tgrVolumeDivision(const std::vector< G4String > &wl)
static constexpr double mm
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
void SetOffset(G4double offset)
void SetType(const G4String &typ)
G4GLOB_DLL std::ostream G4cout
void SetVolume(G4tgrVolume *vol)
static G4int GetVerboseLevel()
static G4tgrVolumeMgr * GetInstance()
void SetDivType(G4DivType typ)
G4tgrVolume * FindVolume(const G4String &volname, G4bool exists=false)
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.)
void SetWidth(G4double width)
static G4String GetString(const G4String &str)
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
void SetParentName(const G4String &parentName)