#include <G4tgrSolidScaled.hh>
Definition at line 45 of file G4tgrSolidScaled.hh.
◆ G4tgrSolidScaled()
G4tgrSolidScaled::G4tgrSolidScaled |
( |
const std::vector< G4String > & | wl | ) |
|
Definition at line 38 of file G4tgrSolidScaled.cc.
39{
40
41 if(wl.size() != 7)
42 {
44 G4Exception(
"G4tgrSolidScaled::G4tgrSolidScaled()",
"InvalidInput",
46 }
47
48
50
53 if(origSolid == nullptr)
54 {
56 }
57
58
61
62
64 for(
G4int ii = 0; ii < (
G4int)wl2.length(); ++ii)
65 {
66 wl2[ii] = (char)std::toupper(wl2[ii]);
67 }
69
70#ifdef G4VERBOSE
72 {
74 }
75#endif
76
78}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
static G4String GetString(const G4String &str)
static void DumpVS(const std::vector< G4String > &wl, const char *msg)
static G4double GetDouble(const G4String &str, G4double unitval=1.)
G4tgrVolume * FindVolume(const G4String &volname, G4bool exists=false)
G4tgrSolid * FindSolid(const G4String &name, G4bool exists=false)
void RegisterMe(G4tgrSolid *vol)
static G4tgrVolumeMgr * GetInstance()
G4tgrSolid * GetSolid() const
◆ ~G4tgrSolidScaled()
G4tgrSolidScaled::~G4tgrSolidScaled |
( |
| ) |
|
◆ GetOrigSolid()
const G4tgrSolid * G4tgrSolidScaled::GetOrigSolid |
( |
| ) |
const |
|
inline |
◆ GetScale3d()
const G4Scale3D G4tgrSolidScaled::GetScale3d |
( |
| ) |
const |
|
inline |
◆ operator<<
Definition at line 86 of file G4tgrSolidScaled.cc.
87{
88 os <<
"G4tgrSolidScaled= " << sol.
theName <<
" of type " << sol.
theType
89 <<
" original solid: " << sol.origSolid->
GetName() <<
" Scale x: " <<
90 sol.scale3d.
xx() <<
" Scale y: " << sol.scale3d.
yy() <<
91 " Scale z: " << sol.scale3d.
zz() <<
G4endl;
92
93 return os;
94}
const G4String & GetName() const
The documentation for this class was generated from the following files: