61 physicalTreatmentRoom(0),iortDetectorConstruction(0),
65 solidFinalCollimatorIORT(0),
66 physiFinalCollimatorIORT(0),
68 solidGiunz3FinalCollIORT(0),
69 physiGiunz3FinalCollIORT(0),
71 solidGiunz3FinalCollIntIORT(0),
72 physiGiunz3FinalCollIntIORT(0),
74 solidGiunz4FinalCollIORT(0),
75 physiGiunz4FinalCollIORT(0),
77 solidGiunz5FinalCollIORT(0),
78 physiGiunz5FinalCollIORT(0),
89 solidBlocco20mmIORT(0),
90 physiBlocco20mmIORT(0),
164 white -> SetVisibility(
true);
168 blue -> SetVisibility(
true);
172 gray-> SetVisibility(
true);
176 red-> SetVisibility(
true);
180 yellow-> SetVisibility(
true);
184 green -> SetVisibility(
true);
196 skyBlue -> SetVisibility(
true);
203 G4double defaultOuterRadiusFinalCollimatorIORT = 30. *
mm;
206 G4double defaultinnerRadiusFinalCollimatorIORT = 25. *
mm;
236 brass -> AddElement(zincNist, fractionmass = 30 *
perCent);
237 brass -> AddElement(copperNist, fractionmass = 70 *
perCent);
321 G4Box* treatmentRoom =
new G4Box(
"TreatmentRoom",worldX,worldY,worldZ);
324 "logicTreatmentRoom",
328 "physicalTreatmentRoom",
366 const G4double XPositionVSIORT = -862.797 *
mm;
372 spanningAngleVSIORT);
380 logVSIORT -> SetVisAttributes(
green);
402 const G4double XPositionFTIORT = -861.791 *
mm;
408 spanningAngleFTIORT);
416 logFTIORT -> SetVisAttributes(
yellow);
443 const G4double XPositionPFS3IORT = -848.755 *
mm;
449 spanningAnglePFS3IORT);
457 logPFS3IORT -> SetVisAttributes(
white);
469 const G4double XPositionPFS2IORT = -844.255 *
mm;
475 spanningAnglePFS2IORT);
483 logPFS2IORT -> SetVisAttributes(
green);
494 const G4double XPositionPFS1IORT = -841.905 *
mm;
500 spanningAnglePFS1IORT);
508 logPFS1IORT -> SetVisAttributes(
green);
519 const G4double XPositionCCMIORT = -837.0125 *
mm;
525 spanningAngleCCMIORT);
533 logCCMIORT -> SetVisAttributes(
green);
540 const G4double outRadiusCM2_2_2IORT = 20. *
mm;
544 const G4double spanningAngleCM2_2_2IORT = 360.*
deg;
545 const G4double XPositionCM2_2_2IORT = -841. *
mm;
548 outRadiusCM2_2_2IORT,
550 startAngleCM2_2_2IORT,
551 spanningAngleCM2_2_2IORT);
559 logCM2_2_2IORT -> SetVisAttributes(
green);
566 const G4double outRadiusCM2_1_2IORT = 20. *
mm;
570 const G4double spanningAngleCM2_1_2IORT = 360.*
deg;
571 const G4double XPositionCM2_1_2IORT = -839. *
mm;
574 outRadiusCM2_1_2IORT,
576 startAngleCM2_1_2IORT,
577 spanningAngleCM2_1_2IORT);
585 logCM2_1_2IORT -> SetVisAttributes(
yellow);
591 const G4double outRadiusCM1_2_2IORT = 20. *
mm;
595 const G4double spanningAngleCM1_2_2IORT = 360.*
deg;
596 const G4double XPositionCM1_2_2IORT = -837. *
mm;
599 outRadiusCM1_2_2IORT,
601 startAngleCM1_2_2IORT,
602 spanningAngleCM1_2_2IORT);
610 logCM1_2_2IORT -> SetVisAttributes(
yellow);
616 const G4double outRadiusCM1_1_2IORT = 20. *
mm;
620 const G4double spanningAngleCM1_1_2IORT = 360.*
deg;
621 const G4double XPositionCM1_1_2IORT = -835. *
mm;
624 outRadiusCM1_1_2IORT,
626 startAngleCM1_1_2IORT,
627 spanningAngleCM1_1_2IORT);
635 logCM1_1_2IORT -> SetVisAttributes(
yellow);
657 const G4double outRadiusBlocco20mmIORT = 36.5 *
mm;
658 const G4double innRadiusBlocco20mmIORT = 10. *
mm;
661 const G4double spanningAngleBlocco20mmIORT = 360.*
deg;
662 const G4double XPositionBlocco20mmIORT = -830. *
mm;
666 outRadiusBlocco20mmIORT,
668 startAngleBlocco20mmIORT,
669 spanningAngleBlocco20mmIORT);
677 logBlocco20mmIORT -> SetVisAttributes(
green);
684 const G4double outRadiusBlocco3IORT = 36.5 *
mm;
685 const G4double innRadiusBlocco3IORT = 15. *
mm;
688 const G4double spanningAngleBlocco3IORT = 360.*
deg;
689 const G4double XPositionBlocco3IORT = -823.5 *
mm;
692 outRadiusBlocco3IORT,
694 startAngleBlocco3IORT,
695 spanningAngleBlocco3IORT);
703 logBlocco3IORT -> SetVisAttributes(
yellow);
709 const G4double outRadiusBlocco2IORT = 41.5 *
mm;
710 const G4double innRadiusBlocco2IORT = 15. *
mm;
713 const G4double spanningAngleBlocco2IORT = 360.*
deg;
714 const G4double XPositionBlocco2IORT = -812. *
mm;
717 outRadiusBlocco2IORT,
719 startAngleBlocco2IORT,
720 spanningAngleBlocco2IORT);
728 logBlocco2IORT -> SetVisAttributes(
red);
734 const G4double outRadiusBlocco1IORT = 52.0 *
mm;
735 const G4double innRadiusBlocco1IORT = 15. *
mm;
738 const G4double spanningAngleBlocco1IORT = 360.*
deg;
739 const G4double XPositionBlocco1IORT = -795.5*
mm;
742 outRadiusBlocco1IORT,
744 startAngleBlocco1IORT,
745 spanningAngleBlocco1IORT);
753 logBlocco1IORT -> SetVisAttributes(
white);
770 const G4double outRadiusGiunz5FinalCollIORT = 48.25 *
mm;
771 const G4double innRadiusGiunz5FinalCollIORT = 13.75 *
mm;
772 const G4double hightGiunz5FinalCollIORT = 3.5 *
mm;
773 const G4double startAngleGiunz5FinalCollIORT = 0.*
deg;
774 const G4double spanningAngleGiunz5FinalCollIORT = 360.*
deg;
775 const G4double Giunz5FinalCollXPositionIORT = -783.5 *
mm;
778 outRadiusGiunz5FinalCollIORT,
779 hightGiunz5FinalCollIORT,
780 startAngleGiunz5FinalCollIORT,
781 spanningAngleGiunz5FinalCollIORT);
789 logGiunz5FinalCollIORT -> SetVisAttributes(
yellow);
795 const G4double outRadiusGiunz4FinalCollIORT = 42. *
mm;
796 const G4double innRadiusGiunz4FinalCollIORT = 13.75 *
mm;
797 const G4double hightGiunz4FinalCollIORT = 8.5 *
mm;
798 const G4double startAngleGiunz4FinalCollIORT = 0.*
deg;
799 const G4double spanningAngleGiunz4FinalCollIORT = 360.*
deg;
800 const G4double Giunz4FinalCollXPositionIORT = -771.5 *
mm;
803 outRadiusGiunz4FinalCollIORT,
804 hightGiunz4FinalCollIORT,
805 startAngleGiunz4FinalCollIORT,
806 spanningAngleGiunz4FinalCollIORT);
814 logGiunz4FinalCollIORT -> SetVisAttributes(
blue);
822 const G4double outRadiusGiunz3FinalCollIORT = 42. *
mm;
823 const G4double innRadiusGiunz3FinalCollIORT = 0. *
mm;
824 const G4double hightGiunz3FinalCollIORT = 4.25 *
mm;
825 const G4double startAngleGiunz3FinalCollIORT = 0.*
deg;
826 const G4double spanningAngleGiunz3FinalCollIORT = 360.*
deg;
827 const G4double Giunz3FinalCollXPositionIORT = -758.75 *
mm;
830 outRadiusGiunz3FinalCollIORT,
831 hightGiunz3FinalCollIORT,
832 startAngleGiunz3FinalCollIORT,
833 spanningAngleGiunz3FinalCollIORT);
841 logicsolidGiunz3FinalCollIORT -> SetVisAttributes(
yellow);
859 logicsolidGiunz3FinalCollIntIORT -> SetVisAttributes(
yellow);
870 const G4double hightFinalCollimatorIORT = 349.75 *
mm;
871 const G4double startAngleFinalCollimatorIORT = 0.*
deg;
872 const G4double spanningAngleFinalCollimatorIORT = 360.*
deg;
873 const G4double finalCollimatorXPositionIORT = -404.75 *
mm;
884 hightFinalCollimatorIORT,
885 startAngleFinalCollimatorIORT,
886 spanningAngleFinalCollimatorIORT);
895 logFinalCollimatorIORT -> SetVisAttributes(
gray);
907 G4cout<<
"Inner Radius of the final collimator IORT is (mm):"
918 G4cout<<
"Outer Radius of the final collimator IORT is (mm):"
G4VPhysicalVolume * physiBlocco3IORT
G4Tubs * solidBlocco2IORT
G4Tubs * solidCM1_2_2IORT
static G4RunManager * GetRunManager()
G4Tubs * solidGiunz5FinalCollIORT
IORTDetectorConstruction * iortDetectorConstruction
G4Tubs * solidBlocco3IORT
G4VPhysicalVolume * physiBlocco2IORT
CLHEP::Hep3Vector G4ThreeVector
Collimator50BeamLineMessenger * collimatorMessenger
void IortBeamLineVacuumSource()
static constexpr double mm
G4Material * FTIORTMaterialIORT
G4VPhysicalVolume * physiVSIORT
G4Material * finalCollimatorMaterialIORT
static constexpr double perCent
G4Material * Giunz2FinalCollMaterialIORT
G4double OuterRadiusFinalCollimatorIORT
void SetInnerRadiusFinalCollimatorIORT(G4double)
G4VPhysicalVolume * physiGiunz3FinalCollIORT
G4VPhysicalVolume * physiPFS1IORT
G4Material * PFS3IORTMaterialIORT
G4VPhysicalVolume * physiGiunz3FinalCollIntIORT
G4Material * PFS1IORTMaterialIORT
G4VPhysicalVolume * physiCM2_2_2IORT
G4Material * CM1_2_2IORTMaterialIORT
G4Cons * solidGiunz3FinalCollIntIORT
G4Material * CM2_2_2IORTMaterialIORT
G4VPhysicalVolume * physicalTreatmentRoom
G4VPhysicalVolume * physiFinalCollimatorIORT
static const G4VisAttributes & GetInvisible()
G4Element * FindOrBuildElement(G4int Z, G4bool isotopes=true)
void IortBeamLineJunctions()
static constexpr double g
G4Material * Giunz5FinalCollMaterialIORT
G4VPhysicalVolume * physiCM2_1_2IORT
G4Tubs * solidGiunz3FinalCollIORT
const XML_Char int const XML_Char * value
static constexpr double deg
G4Tubs * solidGiunz4FinalCollIORT
G4Tubs * solidBlocco1IORT
void IortBeamLineBlocks()
void IortBeamLineFinalCollimator()
G4Material * VSIORTMaterialIORT
void SetOuterRadiusFinalCollimatorIORT(G4double)
G4VPhysicalVolume * physiFTIORT
G4Tubs * solidCM1_1_2IORT
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4VisAttributes * skyBlue
G4Material * CM1_1_2IORTMaterialIORT
G4Material * Blocco2IORTMaterialIORT
G4VPhysicalVolume * physiBlocco1IORT
G4VPhysicalVolume * physiCM1_1_2IORT
G4Material * Giunz4FinalCollMaterialIORT
G4VisAttributes * darkOrange3
G4Material * CM2_1_2IORTMaterialIORT
G4VPhysicalVolume * physiBlocco20mmIORT
G4Tubs * solidCM2_2_2IORT
void ConstructCollimator50BeamLine()
G4Material * Giunz1FinalCollMaterialIORT
G4Material * Blocco1IORTMaterialIORT
HepRotation & rotateY(double delta)
G4Tubs * solidCM2_1_2IORT
G4Material * PFS2IORTMaterialIORT
G4VPhysicalVolume * physiGiunz5FinalCollIORT
G4VPhysicalVolume * physiPFS3IORT
G4VPhysicalVolume * physiGiunz4FinalCollIORT
G4VPhysicalVolume * Construct()
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
G4VisAttributes * darkGreen
G4Material * Giunz3FinalCollMaterialIntIORT
G4Tubs * solidFinalCollimatorIORT
G4Material * Blocco20mmIORTMaterialIORT
void SetDefaultDimensions()
G4Material * Blocco3IORTMaterialIORT
G4Material * CCMIORTMaterialIORT
void IortBeamLineMonitorChambers()
G4VPhysicalVolume * physiPFS2IORT
static constexpr double cm3
G4Tubs * solidBlocco20mmIORT
G4VPhysicalVolume * physiCM1_2_2IORT
G4Material * Giunz3FinalCollMaterialIORT
G4double innerRadiusFinalCollimatorIORT
void IortBeamLineTitaniumWindows()
G4VPhysicalVolume * physiCCMIORT
static G4NistManager * Instance()