50 : theName(
""), theType(
""),
51 theMaterialName(
""), theSolid(0), theVisibility(false),
52 theRGBColour(0), theCheckOverlaps(false)
89 G4cout <<
"Created from new solid: "
104 G4cout <<
"Created from existing solid: "
129 G4String ErrMessage =
"Should only be called for composite solids... "
131 G4Exception(
"G4tgrVolume::GetVolume()",
"InvalidCall",
146 std::vector<G4tgrPlace*>::iterator ite;
149 if( ((*ite)->GetCopyNo() == pl->
GetCopyNo())
152 G4String ErrMessage =
"Repeated placement. Volume "
154 G4Exception(
"G4tgrVolume::AddPlace()",
"InvalidArgument",
166 <<
" added for Volume " <<
theName
187 && (wl[3] !=
"PHI") )
190 "Offset set for replica not along PHI, it will not be used",
192 G4String(
"Volume "+wl[1]+
" in volume "+wl[2]).c_str());
205 <<
" added for Volume " <<
theName
230 <<
" added for Volume " <<
theName
G4DLLIMPORT std::ostream G4cout
std::ostream & operator<<(std::ostream &os, const G4tgrVolume &obj)
static G4String ConvertToString(G4bool boolVal)
static G4int GetVerboseLevel()
void SetType(const G4String &typ)
const G4String & GetParentName() const
const G4String & GetType() const
unsigned int GetCopyNo() const
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 G4bool GetBool(const G4String &str)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
G4tgrSolid * FindSolid(const G4String &name, G4bool exists=false)
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
G4tgrSolid * CreateSolid(const std::vector< G4String > &wl, G4bool bVOLUtag)
static G4tgrVolumeMgr * GetInstance()
G4bool GetVisibility() const
G4bool GetCheckOverlaps() const
void AddRGBColour(const std::vector< G4String > &wl)
virtual G4tgrVolume * GetVolume(G4int ii) const
const G4String & GetName() const
virtual G4tgrPlace * AddPlace(const std::vector< G4String > &wl)
G4double * GetRGBColour() const
G4tgrPlaceParameterisation * AddPlaceParam(const std::vector< G4String > &wl)
G4tgrPlaceDivRep * AddPlaceReplica(const std::vector< G4String > &wl)
void AddVisibility(const std::vector< G4String > &wl)
G4tgrSolid * GetSolid() const
const G4String & GetType() const
const G4String & GetMaterialName() const
void AddCheckOverlaps(const std::vector< G4String > &wl)
std::vector< G4tgrPlace * > thePlacements
const std::vector< G4tgrPlace * > GetPlacements() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)