60 physicalTreatmentRoom(0),iortDetectorConstruction(0),
64 solidFinalCollimatorIORT(0),
65 physiFinalCollimatorIORT(0),
67 solidGiunz1FinalCollIORT(0),
68 physiGiunz1FinalCollIORT(0),
70 solidGiunz2FinalCollIORT(0),
71 physiGiunz2FinalCollIORT(0),
73 solidGiunz3FinalCollIORT(0),
74 physiGiunz3FinalCollIORT(0),
76 solidGiunz3FinalCollIntIORT(0),
77 physiGiunz3FinalCollIntIORT(0),
79 solidGiunz4FinalCollIORT(0),
80 physiGiunz4FinalCollIORT(0),
82 solidGiunz5FinalCollIORT(0),
83 physiGiunz5FinalCollIORT(0),
94 solidBlocco20mmIORT(0),
95 physiBlocco20mmIORT(0),
170 white -> SetVisibility(
true);
174 blue -> SetVisibility(
true);
178 gray-> SetVisibility(
true);
182 red-> SetVisibility(
true);
186 yellow-> SetVisibility(
true);
190 green -> SetVisibility(
true);
202 skyBlue -> SetVisibility(
true);
209 G4double defaultOuterRadiusFinalCollimatorIORT = 45. *
mm;
212 G4double defaultinnerRadiusFinalCollimatorIORT = 40. *
mm;
327 G4Box* treatmentRoom =
new G4Box(
"TreatmentRoom",worldX,worldY,worldZ);
330 "logicTreatmentRoom",
334 "physicalTreatmentRoom",
372 const G4double XPositionVSIORT = -862.797 *
mm;
378 spanningAngleVSIORT);
386 logVSIORT -> SetVisAttributes(
green);
407 const G4double XPositionFTIORT = -861.791 *
mm;
413 spanningAngleFTIORT);
421 logFTIORT -> SetVisAttributes(
yellow);
448 const G4double XPositionPFS3IORT = -848.755 *
mm;
454 spanningAnglePFS3IORT);
462 logPFS3IORT -> SetVisAttributes(
white);
474 const G4double XPositionPFS2IORT = -844.255 *
mm;
480 spanningAnglePFS2IORT);
488 logPFS2IORT -> SetVisAttributes(
green);
499 const G4double XPositionPFS1IORT = -841.905 *
mm;
505 spanningAnglePFS1IORT);
513 logPFS1IORT -> SetVisAttributes(
green);
524 const G4double XPositionCCMIORT = -837.0125 *
mm;
530 spanningAngleCCMIORT);
538 logCCMIORT -> SetVisAttributes(
green);
545 const G4double outRadiusCM2_2_2IORT = 20. *
mm;
549 const G4double spanningAngleCM2_2_2IORT = 360.*
deg;
550 const G4double XPositionCM2_2_2IORT = -841. *
mm;
553 outRadiusCM2_2_2IORT,
555 startAngleCM2_2_2IORT,
556 spanningAngleCM2_2_2IORT);
564 logCM2_2_2IORT -> SetVisAttributes(
green);
571 const G4double outRadiusCM2_1_2IORT = 20. *
mm;
575 const G4double spanningAngleCM2_1_2IORT = 360.*
deg;
576 const G4double XPositionCM2_1_2IORT = -839. *
mm;
579 outRadiusCM2_1_2IORT,
581 startAngleCM2_1_2IORT,
582 spanningAngleCM2_1_2IORT);
590 logCM2_1_2IORT -> SetVisAttributes(
yellow);
596 const G4double outRadiusCM1_2_2IORT = 20. *
mm;
600 const G4double spanningAngleCM1_2_2IORT = 360.*
deg;
601 const G4double XPositionCM1_2_2IORT = -837. *
mm;
604 outRadiusCM1_2_2IORT,
606 startAngleCM1_2_2IORT,
607 spanningAngleCM1_2_2IORT);
615 logCM1_2_2IORT -> SetVisAttributes(
yellow);
621 const G4double outRadiusCM1_1_2IORT = 20. *
mm;
625 const G4double spanningAngleCM1_1_2IORT = 360.*
deg;
626 const G4double XPositionCM1_1_2IORT = -835. *
mm;
629 outRadiusCM1_1_2IORT,
631 startAngleCM1_1_2IORT,
632 spanningAngleCM1_1_2IORT);
640 logCM1_1_2IORT -> SetVisAttributes(
yellow);
662 const G4double outRadiusBlocco20mmIORT = 36.5 *
mm;
663 const G4double innRadiusBlocco20mmIORT = 10. *
mm;
666 const G4double spanningAngleBlocco20mmIORT = 360.*
deg;
667 const G4double XPositionBlocco20mmIORT = -830. *
mm;
670 outRadiusBlocco20mmIORT,
672 startAngleBlocco20mmIORT,
673 spanningAngleBlocco20mmIORT);
681 logBlocco20mmIORT -> SetVisAttributes(
green);
688 const G4double outRadiusBlocco3IORT = 36.5 *
mm;
689 const G4double innRadiusBlocco3IORT = 15. *
mm;
692 const G4double spanningAngleBlocco3IORT = 360.*
deg;
693 const G4double XPositionBlocco3IORT = -823.5 *
mm;
696 outRadiusBlocco3IORT,
698 startAngleBlocco3IORT,
699 spanningAngleBlocco3IORT);
707 logBlocco3IORT -> SetVisAttributes(
yellow);
713 const G4double outRadiusBlocco2IORT = 41.5 *
mm;
714 const G4double innRadiusBlocco2IORT = 15. *
mm;
717 const G4double spanningAngleBlocco2IORT = 360.*
deg;
718 const G4double XPositionBlocco2IORT = -812. *
mm;
721 outRadiusBlocco2IORT,
723 startAngleBlocco2IORT,
724 spanningAngleBlocco2IORT);
732 logBlocco2IORT -> SetVisAttributes(
red);
738 const G4double outRadiusBlocco1IORT = 52.0 *
mm;
739 const G4double innRadiusBlocco1IORT = 15. *
mm;
742 const G4double spanningAngleBlocco1IORT = 360.*
deg;
743 const G4double XPositionBlocco1IORT = -795.5*
mm;
746 outRadiusBlocco1IORT,
748 startAngleBlocco1IORT,
749 spanningAngleBlocco1IORT);
757 logBlocco1IORT -> SetVisAttributes(
white);
773 const G4double outRadiusGiunz5FinalCollIORT = 48.25 *
mm;
774 const G4double innRadiusGiunz5FinalCollIORT = 13.75 *
mm;
775 const G4double hightGiunz5FinalCollIORT = 3.5 *
mm;
776 const G4double startAngleGiunz5FinalCollIORT = 0.*
deg;
777 const G4double spanningAngleGiunz5FinalCollIORT = 360.*
deg;
778 const G4double Giunz5FinalCollXPositionIORT = -783.5 *
mm;
781 outRadiusGiunz5FinalCollIORT,
782 hightGiunz5FinalCollIORT,
783 startAngleGiunz5FinalCollIORT,
784 spanningAngleGiunz5FinalCollIORT);
792 logGiunz5FinalCollIORT -> SetVisAttributes(
yellow);
798 const G4double outRadiusGiunz4FinalCollIORT = 42. *
mm;
799 const G4double innRadiusGiunz4FinalCollIORT = 13.75 *
mm;
800 const G4double hightGiunz4FinalCollIORT = 8.5 *
mm;
801 const G4double startAngleGiunz4FinalCollIORT = 0.*
deg;
802 const G4double spanningAngleGiunz4FinalCollIORT = 360.*
deg;
803 const G4double Giunz4FinalCollXPositionIORT = -771.5 *
mm;
806 outRadiusGiunz4FinalCollIORT,
807 hightGiunz4FinalCollIORT,
808 startAngleGiunz4FinalCollIORT,
809 spanningAngleGiunz4FinalCollIORT);
817 logGiunz4FinalCollIORT -> SetVisAttributes(
blue);
825 const G4double outRadiusGiunz3FinalCollIORT = 42. *
mm;
826 const G4double innRadiusGiunz3FinalCollIORT = 0. *
mm;
827 const G4double hightGiunz3FinalCollIORT = 4.25 *
mm;
828 const G4double startAngleGiunz3FinalCollIORT = 0.*
deg;
829 const G4double spanningAngleGiunz3FinalCollIORT = 360.*
deg;
830 const G4double Giunz3FinalCollXPositionIORT = -758.75 *
mm;
833 outRadiusGiunz3FinalCollIORT,
834 hightGiunz3FinalCollIORT,
835 startAngleGiunz3FinalCollIORT,
836 spanningAngleGiunz3FinalCollIORT);
844 logicsolidGiunz3FinalCollIORT -> SetVisAttributes(
yellow);
862 logicsolidGiunz3FinalCollIntIORT -> SetVisAttributes(
yellow);
869 const G4double outRadiusGiunz2FinalCollIORT = 42. *
mm;
870 const G4double innRadiusGiunz2FinalCollIORT = 22.25 *
mm;
871 const G4double hightGiunz2FinalCollIORT = 5.75 *
mm;
872 const G4double startAngleGiunz2FinalCollIORT = 0.*
deg;
873 const G4double spanningAngleGiunz2FinalCollIORT = 360.*
deg;
874 const G4double Giunz2FinalCollXPositionIORT = -748.75 *
mm;
877 outRadiusGiunz2FinalCollIORT,
878 hightGiunz2FinalCollIORT,
879 startAngleGiunz2FinalCollIORT,
880 spanningAngleGiunz2FinalCollIORT);
888 logGiunz2FinalCollIORT -> SetVisAttributes(
red);
894 const G4double outRadiusGiunz1FinalCollIORT = 55. *
mm;
895 const G4double innRadiusGiunz1FinalCollIORT = 22.25 *
mm;
896 const G4double hightGiunz1FinalCollIORT = 10. *
mm;
897 const G4double startAngleGiunz1FinalCollIORT = 0.*
deg;
898 const G4double spanningAngleGiunz1FinalCollIORT = 360.*
deg;
899 const G4double Giunz1FinalCollXPositionIORT = -733.*
mm;
902 outRadiusGiunz1FinalCollIORT,
903 hightGiunz1FinalCollIORT,
904 startAngleGiunz1FinalCollIORT,
905 spanningAngleGiunz1FinalCollIORT);
913 logGiunz1FinalCollIORT -> SetVisAttributes(
gray);
924 const G4double hightFinalCollimatorIORT = 334. *
mm;
925 const G4double startAngleFinalCollimatorIORT = 0.*
deg;
926 const G4double spanningAngleFinalCollimatorIORT = 360.*
deg;
927 const G4double finalCollimatorXPositionIORT = -389.*
mm;
941 hightFinalCollimatorIORT,
942 startAngleFinalCollimatorIORT,
943 spanningAngleFinalCollimatorIORT);
952 logFinalCollimatorIORT -> SetVisAttributes(
red);
964 G4cout<<
"Inner Radius of the final collimator IORT is (mm):"
975 G4cout<<
"Outer Radius of the final collimator IORT is (mm):"
G4Material * Giunz1FinalCollMaterialIORT
G4Material * CCMIORTMaterialIORT
G4Material * CM2_2_2IORTMaterialIORT
G4Material * PFS1IORTMaterialIORT
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4VPhysicalVolume * physiCCMIORT
G4Material * CM2_1_2IORTMaterialIORT
G4Material * FTIORTMaterialIORT
G4VPhysicalVolume * physiFTIORT
G4Material * Blocco1IORTMaterialIORT
G4Material * finalCollimatorMaterialIORT
G4Tubs * solidBlocco20mmIORT
G4double OuterRadiusFinalCollimatorIORT
G4VPhysicalVolume * physiBlocco1IORT
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
void IortBeamLineMonitorChambers()
G4VPhysicalVolume * physiBlocco20mmIORT
G4VPhysicalVolume * physiBlocco3IORT
G4VPhysicalVolume * physiGiunz4FinalCollIORT
void SetDefaultDimensions()
void IortBeamLineVacuumSource()
G4VPhysicalVolume * physiGiunz5FinalCollIORT
G4VPhysicalVolume * physiPFS1IORT
G4Tubs * solidGiunz3FinalCollIORT
G4VPhysicalVolume * physiGiunz2FinalCollIORT
G4VisAttributes * darkOrange3
G4Material * Giunz2FinalCollMaterialIORT
G4Tubs * solidCM1_2_2IORT
G4VPhysicalVolume * physiBlocco2IORT
G4VPhysicalVolume * physiGiunz3FinalCollIORT
static G4NistManager * Instance()
G4Material * CM1_1_2IORTMaterialIORT
G4Tubs * solidBlocco1IORT
G4VPhysicalVolume * physicalTreatmentRoom
void IortBeamLineFinalCollimator()
G4Material * Blocco2IORTMaterialIORT
G4Tubs * solidBlocco3IORT
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * physiCM1_1_2IORT
IORTDetectorConstruction * iortDetectorConstruction
G4VPhysicalVolume * physiVSIORT
G4Material * PFS3IORTMaterialIORT
Collimator80BeamLineMessenger * collimatorMessenger
static const double perCent
G4VPhysicalVolume * physiGiunz3FinalCollIntIORT
G4Tubs * solidGiunz5FinalCollIORT
G4VPhysicalVolume * physiCM1_2_2IORT
void ConstructCollimator80BeamLine()
G4VisAttributes * darkGreen
void SetInnerRadiusFinalCollimatorIORT(G4double)
G4Material * Blocco20mmIORTMaterialIORT
G4Tubs * solidGiunz2FinalCollIORT
static G4RunManager * GetRunManager()
G4Tubs * solidBlocco2IORT
G4Tubs * solidGiunz4FinalCollIORT
G4Material * Giunz3FinalCollMaterialIORT
G4VPhysicalVolume * physiCM2_1_2IORT
G4Tubs * solidGiunz1FinalCollIORT
G4double innerRadiusFinalCollimatorIORT
G4VPhysicalVolume * physiFinalCollimatorIORT
void IortBeamLineJunctions()
static const G4VisAttributes Invisible
G4Tubs * solidCM1_1_2IORT
G4Material * Giunz4FinalCollMaterialIORT
void IortBeamLineBlocks()
G4Tubs * solidFinalCollimatorIORT
G4VPhysicalVolume * physiPFS3IORT
G4Tubs * solidCM2_2_2IORT
G4VPhysicalVolume * physiPFS2IORT
G4Cons * solidGiunz3FinalCollIntIORT
G4Material * VSIORTMaterialIORT
G4VPhysicalVolume * physiCM2_2_2IORT
G4Material * CM1_2_2IORTMaterialIORT
G4Element * FindOrBuildElement(G4int Z, G4bool isotopes=true)
G4Tubs * solidCM2_1_2IORT
G4VPhysicalVolume * physiGiunz1FinalCollIORT
G4VisAttributes * skyBlue
G4Material * PFS2IORTMaterialIORT
void SetOuterRadiusFinalCollimatorIORT(G4double)
G4Material * Giunz3FinalCollMaterialIntIORT
G4VPhysicalVolume * Construct()
G4Material * Giunz5FinalCollMaterialIORT
void IortBeamLineTitaniumWindows()
G4Material * Blocco3IORTMaterialIORT