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