Go to the source code of this file.
◆ checkVol() [1/2]
Definition at line 109 of file G4BuildGeom.cc.
110{
115}
G4LogicalVolumeStore is a singleton class, acting as container for all logical volumes,...
static G4LogicalVolumeStore * GetInstance()
G4LogicalVolume represents a leaf node or unpositioned subtree in the geometry hierarchy....
Referenced by checkVol(), checkVol(), and G4BuildGeom().
◆ checkVol() [2/2]
Definition at line 117 of file G4BuildGeom.cc.
118{
121 ++level;
122
123 std::size_t ndau = _lvol -> GetNoDaughters();
124
125 G4cout <<
"G44LogicalVolume " << _lvol->
GetName() <<
" at level " << level
126 <<
" contains " << ndau <<
" daughters." <<
G4endl;
127 for (std::size_t idau=0; idau<ndau; ++idau)
128 {
129 _pdvol = _lvol-> GetDaughter(idau);
130 _ldvol = _pdvol -> GetLogicalVolume();
131 G4cout <<
"G4VPhysical volume " << std::setw(5) << _pdvol -> GetName()
132 <<
" (G4LogicalVolume " << std::setw(5) << _ldvol->
GetName() <<
")"
135 }
136 return;
137}
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
G4VPhysicalVolume is an abstract base class for the representation of a positioned volume....
◆ G3CLRead()
| void G3CLRead |
( |
G4String & | fname, |
|
|
char * | select ) |
Definition at line 98 of file clparse.cc.
99{
100
101
102
103
104
105
106
109
110 const char* ofname = "clparse.out";
112 ofile <<
"Output file open\n";
113
115 std::ifstream istr(fname);
116
118 {
120 for (
G4int i=0; i < ntokens; i++)
121 {
123 }
124
125
126
128 }
129}
void G3CLEval(G4String *tokens, char *select)
G4int G3CLTokens(G4String *line, G4String *tokens)
std::istream & readline(std::istream &is, G4String &str, G4bool skipWhite=true)
Read characters into a G4String from an input stream until end-of-line.
Referenced by G4BuildGeom().
◆ G4BuildGeom()
Definition at line 54 of file G4BuildGeom.cc.
54 {
55
58
59 G4cout <<
"Instantiated unit rotation matrix irot=" << irot <<
G4endl;
60
61
62
63 G4cout <<
"Reading the call List file " << inFile <<
"..." <<
G4endl;
64
66
68
70
72
73 G4cout <<
"Call List file read completed. Build geometry" <<
G4endl;
74
75
76
79
80
82
83
84
86
87
88
89
91
92
93
95
96 G4cout <<
"Top-level G3toG4 logical volume " << topLV->
GetName() <<
" "
98
99
100
101 #ifdef G3G4DEBUG
102 G4cout <<
"scan through G4LogicalVolumeStore:" <<
G4endl;
104 #endif
105
106 return topLV;
107}
G3G4DLL_API G3DetTable G3Det
void G4gsrotm(G4int irot, G4double theta1, G4double phi1, G4double theta2, G4double phi2, G4double theta3, G4double phi3)
G3G4DLL_API G3PartTable G3Part
G3G4DLL_API G3VolTable G3Vol
void G3toG4BuildTree(G3VolTableEntry *curVTE, G3VolTableEntry *motherVTE)
void G3CLRead(G4String &, char *)
CLHEP::Hep3Vector G4ThreeVector
G4LogicalVolume * GetLV()
const G4VisAttributes * GetVisAttributes() const
void SetVisAttributes(const G4VisAttributes *pVA)
G4PVPlacement represents a single volume positioned within and relative to a mother volume.
static const G4VisAttributes & GetInvisible()
◆ ofile