#include <G4tgrVolume.hh>
Definition at line 60 of file G4tgrVolume.hh.
◆ G4tgrVolume() [1/3]
G4tgrVolume::G4tgrVolume |
( |
| ) |
|
◆ G4tgrVolume() [2/3]
G4tgrVolume::G4tgrVolume |
( |
const std::vector< G4String > & |
wl | ) |
|
Definition at line 65 of file G4tgrVolume.cc.
89 G4cout <<
"Created from new solid: " 104 G4cout <<
"Created from existing solid: " G4tgrSolid * FindSolid(const G4String &name, G4bool exists=false)
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
static G4tgrVolumeMgr * GetInstance()
static G4String GetString(const G4String &str)
G4tgrSolid * CreateSolid(const std::vector< G4String > &wl, G4bool bVOLUtag)
◆ G4tgrVolume() [3/3]
Definition at line 113 of file G4tgrVolume.cc.
G4bool GetVisibility() const
G4double * GetRGBColour() const
std::vector< G4tgrPlace * > thePlacements
const std::vector< G4tgrPlace * > GetPlacements() const
const G4String & GetMaterialName() const
G4bool GetCheckOverlaps() const
const G4String & GetType() const
const G4String & GetName() const
G4tgrSolid * GetSolid() const
◆ ~G4tgrVolume()
G4tgrVolume::~G4tgrVolume |
( |
| ) |
|
|
virtual |
◆ AddCheckOverlaps()
void G4tgrVolume::AddCheckOverlaps |
( |
const std::vector< G4String > & |
wl | ) |
|
------— Set check overlaps
Definition at line 271 of file G4tgrVolume.cc.
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
static G4bool GetBool(const G4String &str)
◆ AddPlace()
Reimplemented in G4tgrVolumeAssembly.
Definition at line 138 of file G4tgrVolume.cc.
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
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
const G4String & GetParentName() const
G4GLOB_DLL std::ostream G4cout
void SetVolume(G4tgrVolume *vol)
static G4int GetVerboseLevel()
std::vector< G4tgrPlace * > thePlacements
static G4tgrVolumeMgr * GetInstance()
unsigned int GetCopyNo() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
const G4String & GetType() const
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
◆ AddPlaceParam()
Definition at line 218 of file G4tgrVolume.cc.
230 <<
" added for Volume " <<
theName
const G4String & GetParentName() const
G4GLOB_DLL std::ostream G4cout
void SetVolume(G4tgrVolume *vol)
static G4int GetVerboseLevel()
std::vector< G4tgrPlace * > thePlacements
static G4tgrVolumeMgr * GetInstance()
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
◆ AddPlaceReplica()
Definition at line 180 of file G4tgrVolume.cc.
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
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
const G4String & GetParentName() const
void SetType(const G4String &typ)
G4GLOB_DLL std::ostream G4cout
void SetVolume(G4tgrVolume *vol)
static G4int GetVerboseLevel()
std::vector< G4tgrPlace * > thePlacements
static G4tgrVolumeMgr * GetInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
◆ AddRGBColour()
void G4tgrVolume::AddRGBColour |
( |
const std::vector< G4String > & |
wl | ) |
|
------— Set transparency
Definition at line 253 of file G4tgrVolume.cc.
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
◆ AddVisibility()
void G4tgrVolume::AddVisibility |
( |
const std::vector< G4String > & |
wl | ) |
|
Definition at line 242 of file G4tgrVolume.cc.
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
static G4bool GetBool(const G4String &str)
◆ GetCheckOverlaps()
G4bool G4tgrVolume::GetCheckOverlaps |
( |
| ) |
const |
|
inline |
◆ GetColour()
G4double* G4tgrVolume::GetColour |
( |
| ) |
const |
|
inline |
◆ GetMaterialName()
const G4String& G4tgrVolume::GetMaterialName |
( |
| ) |
const |
|
inline |
◆ GetName()
const G4String& G4tgrVolume::GetName |
( |
void |
| ) |
const |
|
inline |
◆ GetPlacements()
const std::vector<G4tgrPlace*> G4tgrVolume::GetPlacements |
( |
| ) |
const |
|
inline |
Definition at line 95 of file G4tgrVolume.hh.
std::vector< G4tgrPlace * > thePlacements
◆ GetRGBColour()
G4double* G4tgrVolume::GetRGBColour |
( |
| ) |
const |
|
inline |
◆ GetSolid()
◆ GetType()
const G4String& G4tgrVolume::GetType |
( |
| ) |
const |
|
inline |
◆ GetVisibility()
G4bool G4tgrVolume::GetVisibility |
( |
| ) |
const |
|
inline |
◆ GetVolume()
Definition at line 127 of file G4tgrVolume.cc.
129 G4String ErrMessage =
"Should only be called for composite solids... " 131 G4Exception(
"G4tgrVolume::GetVolume()",
"InvalidCall",
static G4String ConvertToString(G4bool boolVal)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ SetName()
void G4tgrVolume::SetName |
( |
const G4String & |
name | ) |
|
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const G4tgrVolume & |
obj |
|
) |
| |
|
friend |
Definition at line 283 of file G4tgrVolume.cc.
std::vector< G4tgrPlace * > thePlacements
◆ theCheckOverlaps
G4bool G4tgrVolume::theCheckOverlaps |
|
protected |
◆ theMaterialName
◆ theName
◆ thePlacements
std::vector<G4tgrPlace*> G4tgrVolume::thePlacements |
|
protected |
◆ theRGBColour
◆ theSolid
◆ theType
◆ theVisibility
G4bool G4tgrVolume::theVisibility |
|
protected |
The documentation for this class was generated from the following files: