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
const G4String & GetType() const
static G4int GetVerboseLevel()
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
void AddRGBColour(const std::vector< G4String > &wl)
const G4String & GetMaterialName() const
G4tgrSolid * GetSolid() const
G4tgrSolid * CreateSolid(const std::vector< G4String > &wl, G4bool bVOLUtag)
unsigned int GetCopyNo() const
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
const std::vector< G4tgrPlace * > GetPlacements() const
void AddCheckOverlaps(const std::vector< G4String > &wl)
void SetVolume(G4tgrVolume *vol)
static G4String GetString(const G4String &str)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
const G4String & GetParentName() const
void SetType(const G4String &typ)
G4bool GetCheckOverlaps() const
G4tgrSolid * FindSolid(const G4String &name, G4bool exists=false)
static G4bool GetBool(const G4String &str)
static G4String ConvertToString(G4bool boolVal)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual G4tgrPlace * AddPlace(const std::vector< G4String > &wl)
virtual G4tgrVolume * GetVolume(G4int ii) const
G4tgrPlaceDivRep * AddPlaceReplica(const std::vector< G4String > &wl)
const G4String & GetName() const
void AddVisibility(const std::vector< G4String > &wl)
std::vector< G4tgrPlace * > thePlacements
G4GLOB_DLL std::ostream G4cout
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
G4bool GetVisibility() const
const G4String & GetType() const
static G4tgrVolumeMgr * GetInstance()
G4tgrPlaceParameterisation * AddPlaceParam(const std::vector< G4String > &wl)
G4double * GetRGBColour() const