User detector construction class.
More...
#include <Doxymodules_runAndEvent.h>
User detector construction class.
Definition at line 84 of file Doxymodules_runAndEvent.h.
◆ RE04DetectorConstruction()
RE04DetectorConstruction::RE04DetectorConstruction |
( |
| ) |
|
◆ ~RE04DetectorConstruction()
RE04DetectorConstruction::~RE04DetectorConstruction |
( |
| ) |
|
|
virtual |
◆ Construct()
◆ DefineMaterials()
void RE04DetectorConstruction::DefineMaterials |
( |
| ) |
|
|
private |
Definition at line 69 of file RE04DetectorContruction.cc.
70{
71
72
73
74
75
76
77
79 fAir = pNISTman->FindOrBuildMaterial(
"G4_AIR");
80 fWater = pNISTman->FindOrBuildMaterial(
"G4_WATER");
81 fPb = pNISTman->FindOrBuildMaterial(
"G4_Pb");
82
83
84
85 G4cout << G4endl << "The materials defined are : " << G4endl << G4endl;
86 G4cout << *(G4Material::GetMaterialTable()) << G4endl;
87}
◆ SetupGeometry()
void RE04DetectorConstruction::SetupGeometry |
( |
| ) |
|
|
private |
Definition at line 90 of file RE04DetectorContruction.cc.
91{
92
93
94
98 0,false,0);
99
100
101
102
103 G4VSolid* phantomSolid =
new G4Box(
"Phantom",50.*cm,50.*cm,50.*cm);
105 "Phantom");
106 new G4PVPlacement(0,G4ThreeVector(),phantomLogical,
"Phantom",
107 worldLogical,false,0);
108
109
110
111
112 worldLogical->SetVisAttributes(G4VisAttributes::GetInvisible());
114 simpleBoxVisAtt->SetVisibility(true);
115 phantomLogical->SetVisAttributes(simpleBoxVisAtt);
116}
◆ fAir
◆ fWater
◆ fPb
◆ fWorldPhys
◆ fConstructed
G4bool RE04DetectorConstruction::fConstructed |
|
private |
The documentation for this class was generated from the following files: