47G4mmss G4tgrVolumeDivision::theSupportedAxis;
62 "G4tgrVolumeDivision::G4tgrVolumeDivision" );
64 "G4tgrVolumeDivision::G4tgrVolumeDivision" );
80 thePlaceDiv->
SetType(
"PlaceDivision");
94 G4cout <<
" G4tgrVolumeDivision::G4tgrVolumeDivision() -"
95 <<
" Replica register parent - child " <<
G4endl;
101 for(
size_t ii = 0; ii < wl0.length(); ii++ )
103 wl0[ii] = toupper( wl0[ii] );
106 if( wl0 ==
":DIV_NDIV" )
115 else if( wl0 ==
":DIV_WIDTH" )
124 else if( wl0 ==
":DIV_NDIV_WIDTH" )
136 G4String ErrMessage =
"Division type not supported, sorry... " + wl[0];
137 G4Exception(
"G4tgrVolumeDivision::G4tgrVolumeDivision()",
143 for(
size_t ii=0; ii<3; ii++) {
theRGBColour[ii] = -1.; }
159 os <<
"G4tgrVolumeDivision= " << obj.
theName
160 <<
" Placement= " << *(obj.thePlaceDiv) <<
G4endl;
G4DLLIMPORT std::ostream G4cout
std::ostream & operator<<(std::ostream &os, const G4tgrVolumeDivision &obj)
std::multimap< G4String, G4String > G4mmss
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()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)