#include <G4tgrVolume.hh>
Definition at line 60 of file G4tgrVolume.hh.
G4tgrVolume::G4tgrVolume |
( |
| ) |
|
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)
Definition at line 113 of file G4tgrVolume.cc.
const std::vector< G4tgrPlace * > GetPlacements() const
G4bool GetCheckOverlaps() const
G4tgrSolid * GetSolid() const
std::vector< G4tgrPlace * > thePlacements
G4bool GetVisibility() const
const G4String & GetType() const
const G4String & GetName() const
const G4String & GetMaterialName() const
G4double * GetRGBColour() const
G4tgrVolume::~G4tgrVolume |
( |
| ) |
|
|
virtual |
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)
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
const G4String & GetType() const
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
G4GLOB_DLL std::ostream G4cout
void SetVolume(G4tgrVolume *vol)
static G4int GetVerboseLevel()
std::vector< G4tgrPlace * > thePlacements
static G4tgrVolumeMgr * GetInstance()
const G4String & GetParentName() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
unsigned int GetCopyNo() const
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
Definition at line 218 of file G4tgrVolume.cc.
230 <<
" added for Volume " <<
theName
G4GLOB_DLL std::ostream G4cout
void SetVolume(G4tgrVolume *vol)
static G4int GetVerboseLevel()
std::vector< G4tgrPlace * > thePlacements
static G4tgrVolumeMgr * GetInstance()
const G4String & GetParentName() const
void RegisterParentChild(const G4String &parentName, const G4tgrPlace *pl)
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)
void SetType(const G4String &typ)
G4GLOB_DLL std::ostream G4cout
void SetVolume(G4tgrVolume *vol)
static G4int GetVerboseLevel()
std::vector< G4tgrPlace * > thePlacements
static G4tgrVolumeMgr * GetInstance()
const G4String & GetParentName() const
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)
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.)
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)
G4bool G4tgrVolume::GetCheckOverlaps |
( |
| ) |
const |
|
inline |
G4double* G4tgrVolume::GetColour |
( |
| ) |
const |
|
inline |
const G4String& G4tgrVolume::GetMaterialName |
( |
| ) |
const |
|
inline |
const G4String& G4tgrVolume::GetName |
( |
| ) |
const |
|
inline |
const std::vector<G4tgrPlace*> G4tgrVolume::GetPlacements |
( |
| ) |
const |
|
inline |
Definition at line 95 of file G4tgrVolume.hh.
std::vector< G4tgrPlace * > thePlacements
G4double* G4tgrVolume::GetRGBColour |
( |
| ) |
const |
|
inline |
const G4String& G4tgrVolume::GetType |
( |
| ) |
const |
|
inline |
G4bool G4tgrVolume::GetVisibility |
( |
| ) |
const |
|
inline |
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)
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const G4tgrVolume & |
obj |
|
) |
| |
|
friend |
Definition at line 283 of file G4tgrVolume.cc.
std::vector< G4tgrPlace * > thePlacements
G4bool G4tgrVolume::theCheckOverlaps |
|
protected |
std::vector<G4tgrPlace*> G4tgrVolume::thePlacements |
|
protected |
G4bool G4tgrVolume::theVisibility |
|
protected |
The documentation for this class was generated from the following files: