49 : physicalTreatmentRoom(0),
50 patientPhysicalVolume(0),
51 patientLogicalVolume(0),
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.");
void GeometryHasBeenModified(G4bool prop=true)
G4LogicalVolume * logicColl_fixed_Fe
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4LogicalVolume * logicTube
G4LogicalVolume * logicTube_Al
void SetInnerRadiusMinusZ(G4double Rmin1)
CLHEP::Hep3Vector G4ThreeVector
G4LogicalVolume * logicColl_helmet_Fe
CLHEP::HepRotation G4RotationMatrix
G4Cons * solidColl_helmet_Fe
G4VPhysicalVolume * physiTube_Al
G4VPhysicalVolume * Construct()
G4VPhysicalVolume * physiTube_Fe
static G4NistManager * Instance()
GammaKnifeDetectorConstruction()
G4VPhysicalVolume * physiTube_source
G4VPhysicalVolume * physiColl_fixed_Fe
G4VPhysicalVolume * physiColl_helmet_Fe
G4LogicalVolume * logicColl_fixed
G4GLOB_DLL std::ostream G4cout
void SetHelmetSize(G4int)
G4VPhysicalVolume * physiColl_fixed
G4Tubs * solidTube_coll_Fe
static const double perCent
GammaKnifeDetectorMessenger * detectorMessenger
G4Tubs * solidTube_source
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4VPhysicalVolume * physiTube_coll_Fe
static G4RunManager * GetRunManager()
G4LogicalVolume * patientLogicalVolume
G4VPhysicalVolume * physicalTreatmentRoom
G4LogicalVolume * logicTube_coll_Fe
G4LogicalVolume * logicTube_source
G4LogicalVolume * logicTube_post
G4Cons * solidColl_helmet
static const G4VisAttributes Invisible
G4LogicalVolume * logicTube_Fe
G4VPhysicalVolume * patientPhysicalVolume
G4LogicalVolume * logicTube_coll
G4VPhysicalVolume * physiTube_post
G4LogicalVolume * logicColl_helmet
G4VPhysicalVolume * physiTube
G4Cons * solidColl_fixed_Fe
G4Element * FindOrBuildElement(G4int Z, G4bool isotopes=true)
void SetInnerRadiusPlusZ(G4double Rmin2)
~GammaKnifeDetectorConstruction()
G4VPhysicalVolume * physiColl_helmet
G4VPhysicalVolume * physiTube_coll