49 : physicalTreatmentRoom(0),
50 patientPhysicalVolume(0),
51 patientLogicalVolume(0),
88 steel -> AddElement(elFe, 70 *
perCent);
89 steel -> AddElement(elCr, 18 *
perCent);
90 steel -> AddElement(elNi, 12 *
perCent);
101 G4Box* treatmentRoom =
new G4Box(
"TreatmentRoom",worldX,worldY,worldZ);
105 "logicTreatmentRoom",
110 "physicalTreatmentRoom",
121 grayFe -> SetVisibility(
true);
122 grayFe -> SetForceSolid(
true);
125 blueCobalt -> SetVisibility(
true);
126 blueCobalt -> SetForceSolid(
true);
129 graySS -> SetVisibility(
true);
130 graySS -> SetForceSolid(
true);
133 grayAl -> SetVisibility(
true);
134 grayAl -> SetForceSolid(
true);
137 blackLead -> SetVisibility(
true);
138 blackLead -> SetForceSolid(
true);
142 colorTungsten -> SetVisibility(
true);
143 colorTungsten -> SetForceSolid(
true);
152 G4double innerRadiusOfTheTube_source = 0.;
153 G4double outerRadiusOfTheTube_source = 0.5*
mm;
161 innerRadiusOfTheTube_source,
162 outerRadiusOfTheTube_source,
163 hightOfTheTube_source,
165 spanningAngleOfTheTube);
189 innerRadiusOfTheTube,
190 outerRadiusOfTheTube,
193 spanningAngleOfTheTube);
215 innerRadiusOfTheTube_Al,
216 outerRadiusOfTheTube_Al,
219 spanningAngleOfTheTube);
242 innerRadiusOfTheTube_Fe,
243 outerRadiusOfTheTube_Fe,
246 spanningAngleOfTheTube);
265 G4double innerRadiusOfTheTube_post = 0;
272 innerRadiusOfTheTube_post,
273 outerRadiusOfTheTube_post,
276 spanningAngleOfTheTube);
300 innerRadiusOfTheTube_coll,
301 outerRadiusOfTheTube_coll,
304 spanningAngleOfTheTube);
321 G4double innerRadiusOfTheTube_coll_Fe = 15.*
mm;
322 G4double outerRadiusOfTheTube_coll_Fe = 50.*
mm;
328 innerRadiusOfTheTube_coll_Fe,
329 outerRadiusOfTheTube_coll_Fe,
330 hightOfTheTube_coll_Fe,
332 spanningAngleOfTheTube);
335 positionTube_coll_Fe,
365 spanningAngleOfTheTube);
398 spanningAngleOfTheTube);
401 positionColl_fixed_Fe,
428 spanningAngleOfTheTube);
461 spanningAngleOfTheTube);
464 positionColl_helmet_Fe,
481 "patientLog", 0, 0, 0);
491 redWire -> SetVisibility(
true);
492 redWire -> SetForceWireframe(
true);
493 redWire -> SetForceAuxEdgeVisible(
true);
545 G4Exception(
"GammaKnifeDetectorConstruction::SetHelmetSize()",
547 "Error: Invalid helmet size.");
static G4RunManager * GetRunManager()
G4VPhysicalVolume * physiTube_source
CLHEP::Hep3Vector G4ThreeVector
G4LogicalVolume * logicTube
G4LogicalVolume * logicColl_helmet_Fe
static constexpr double mm
G4LogicalVolume * logicTube_Al
G4Cons * solidColl_helmet_Fe
CLHEP::HepRotation G4RotationMatrix
G4Tubs * solidTube_coll_Fe
static constexpr double perCent
G4VPhysicalVolume * physiTube_Al
G4VPhysicalVolume * physiColl_helmet_Fe
G4VPhysicalVolume * physicalTreatmentRoom
static const G4VisAttributes & GetInvisible()
GammaKnifeDetectorConstruction()
G4VPhysicalVolume * physiTube_coll
G4Element * FindOrBuildElement(G4int Z, G4bool isotopes=true)
static constexpr double g
G4LogicalVolume * logicTube_coll_Fe
G4LogicalVolume * patientLogicalVolume
static constexpr double deg
G4LogicalVolume * logicTube_post
void SetHelmetSize(G4int)
G4Tubs * solidTube_source
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4LogicalVolume * logicColl_helmet
G4Cons * solidColl_helmet
G4VPhysicalVolume * physiTube_post
G4VPhysicalVolume * physiColl_helmet
void GeometryHasBeenModified(G4bool prop=true)
~GammaKnifeDetectorConstruction()
G4VPhysicalVolume * patientPhysicalVolume
G4Cons * solidColl_fixed_Fe
G4VPhysicalVolume * physiTube
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4LogicalVolume * logicTube_coll
G4LogicalVolume * logicColl_fixed_Fe
void SetInnerRadiusPlusZ(G4double Rmin2)
G4VPhysicalVolume * physiColl_fixed
G4VPhysicalVolume * physiTube_coll_Fe
void SetInnerRadiusMinusZ(G4double Rmin1)
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
G4LogicalVolume * logicTube_source
G4VPhysicalVolume * Construct()
G4VPhysicalVolume * physiColl_fixed_Fe
static constexpr double cm3
G4LogicalVolume * logicColl_fixed
GammaKnifeDetectorMessenger * detectorMessenger
G4LogicalVolume * logicTube_Fe
static G4NistManager * Instance()
G4VPhysicalVolume * physiTube_Fe