60 physicalTreatmentRoom(0),iortDetectorConstruction(0),
64 solidFinalCollimatorIORT(0),
65 physiFinalCollimatorIORT(0),
67 solidGiunz3FinalCollIORT(0),
68 physiGiunz3FinalCollIORT(0),
70 solidGiunz3FinalCollIntIORT(0),
71 physiGiunz3FinalCollIntIORT(0),
73 solidGiunz4FinalCollIORT(0),
74 physiGiunz4FinalCollIORT(0),
76 solidGiunz5FinalCollIORT(0),
77 physiGiunz5FinalCollIORT(0),
88 solidBlocco20mmIORT(0),
89 physiBlocco20mmIORT(0),
163 white -> SetVisibility(
true);
167 blue -> SetVisibility(
true);
171 gray-> SetVisibility(
true);
175 red-> SetVisibility(
true);
179 yellow-> SetVisibility(
true);
183 green -> SetVisibility(
true);
195 skyBlue -> SetVisibility(
true);
202 G4double defaultOuterRadiusFinalCollimatorIORT = 25. *
mm;
205 G4double defaultinnerRadiusFinalCollimatorIORT = 20. *
mm;
234 brass -> AddElement(zincNist, fractionmass = 30 *
perCent);
235 brass -> AddElement(copperNist, fractionmass = 70 *
perCent);
318 G4Box* treatmentRoom =
new G4Box(
"TreatmentRoom",worldX,worldY,worldZ);
321 "logicTreatmentRoom",
325 "physicalTreatmentRoom",
363 const G4double XPositionVSIORT = -862.797 *
mm;
369 spanningAngleVSIORT);
377 logVSIORT -> SetVisAttributes(
green);
398 const G4double XPositionFTIORT = -861.791 *
mm;
404 spanningAngleFTIORT);
412 logFTIORT -> SetVisAttributes(
yellow);
440 const G4double XPositionPFS3IORT = -848.755 *
mm;
446 spanningAnglePFS3IORT);
454 logPFS3IORT -> SetVisAttributes(
white);
466 const G4double XPositionPFS2IORT = -844.255 *
mm;
473 spanningAnglePFS2IORT);
481 logPFS2IORT -> SetVisAttributes(
green);
492 const G4double XPositionPFS1IORT = -841.905 *
mm;
499 spanningAnglePFS1IORT);
507 logPFS1IORT -> SetVisAttributes(
green);
518 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;
549 outRadiusCM2_2_2IORT,
551 startAngleCM2_2_2IORT,
552 spanningAngleCM2_2_2IORT);
560 logCM2_2_2IORT -> SetVisAttributes(
green);
567 const G4double outRadiusCM2_1_2IORT = 20. *
mm;
571 const G4double spanningAngleCM2_1_2IORT = 360.*
deg;
572 const G4double XPositionCM2_1_2IORT = -839. *
mm;
576 outRadiusCM2_1_2IORT,
578 startAngleCM2_1_2IORT,
579 spanningAngleCM2_1_2IORT);
587 logCM2_1_2IORT -> SetVisAttributes(
yellow);
593 const G4double outRadiusCM1_2_2IORT = 20. *
mm;
597 const G4double spanningAngleCM1_2_2IORT = 360.*
deg;
598 const G4double XPositionCM1_2_2IORT = -837. *
mm;
601 outRadiusCM1_2_2IORT,
603 startAngleCM1_2_2IORT,
604 spanningAngleCM1_2_2IORT);
612 logCM1_2_2IORT -> SetVisAttributes(
yellow);
618 const G4double outRadiusCM1_1_2IORT = 20. *
mm;
622 const G4double spanningAngleCM1_1_2IORT = 360.*
deg;
623 const G4double XPositionCM1_1_2IORT = -835. *
mm;
628 outRadiusCM1_1_2IORT,
630 startAngleCM1_1_2IORT,
631 spanningAngleCM1_1_2IORT);
639 logCM1_1_2IORT -> SetVisAttributes(
yellow);
661 const G4double outRadiusBlocco20mmIORT = 36.5 *
mm;
662 const G4double innRadiusBlocco20mmIORT = 10. *
mm;
665 const G4double spanningAngleBlocco20mmIORT = 360.*
deg;
666 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;
697 outRadiusBlocco3IORT,
699 startAngleBlocco3IORT,
700 spanningAngleBlocco3IORT);
708 logBlocco3IORT -> SetVisAttributes(
yellow);
714 const G4double outRadiusBlocco2IORT = 41.5 *
mm;
715 const G4double innRadiusBlocco2IORT = 15. *
mm;
718 const G4double spanningAngleBlocco2IORT = 360.*
deg;
719 const G4double XPositionBlocco2IORT = -812. *
mm;
723 outRadiusBlocco2IORT,
725 startAngleBlocco2IORT,
726 spanningAngleBlocco2IORT);
734 logBlocco2IORT -> SetVisAttributes(
red);
740 const G4double outRadiusBlocco1IORT = 52.0 *
mm;
741 const G4double innRadiusBlocco1IORT = 15. *
mm;
744 const G4double spanningAngleBlocco1IORT = 360.*
deg;
745 const G4double XPositionBlocco1IORT = -795.5*
mm;
749 outRadiusBlocco1IORT,
751 startAngleBlocco1IORT,
752 spanningAngleBlocco1IORT);
760 logBlocco1IORT -> SetVisAttributes(
white);
776 const G4double outRadiusGiunz5FinalCollIORT = 48.25 *
mm;
777 const G4double innRadiusGiunz5FinalCollIORT = 13.75 *
mm;
778 const G4double hightGiunz5FinalCollIORT = 3.5 *
mm;
779 const G4double startAngleGiunz5FinalCollIORT = 0.*
deg;
780 const G4double spanningAngleGiunz5FinalCollIORT = 360.*
deg;
781 const G4double Giunz5FinalCollXPositionIORT = -783.5 *
mm;
784 outRadiusGiunz5FinalCollIORT,
785 hightGiunz5FinalCollIORT,
786 startAngleGiunz5FinalCollIORT,
787 spanningAngleGiunz5FinalCollIORT);
795 logGiunz5FinalCollIORT -> SetVisAttributes(
yellow);
801 const G4double outRadiusGiunz4FinalCollIORT = 42. *
mm;
802 const G4double innRadiusGiunz4FinalCollIORT = 13.75 *
mm;
803 const G4double hightGiunz4FinalCollIORT = 8.5 *
mm;
804 const G4double startAngleGiunz4FinalCollIORT = 0.*
deg;
805 const G4double spanningAngleGiunz4FinalCollIORT = 360.*
deg;
806 const G4double Giunz4FinalCollXPositionIORT = -771.5 *
mm;
811 outRadiusGiunz4FinalCollIORT,
812 hightGiunz4FinalCollIORT,
813 startAngleGiunz4FinalCollIORT,
814 spanningAngleGiunz4FinalCollIORT);
822 logGiunz4FinalCollIORT -> SetVisAttributes(
blue);
830 const G4double outRadiusGiunz3FinalCollIORT = 42. *
mm;
831 const G4double innRadiusGiunz3FinalCollIORT = 0. *
mm;
832 const G4double hightGiunz3FinalCollIORT = 4.25 *
mm;
833 const G4double startAngleGiunz3FinalCollIORT = 0.*
deg;
834 const G4double spanningAngleGiunz3FinalCollIORT = 360.*
deg;
835 const G4double Giunz3FinalCollXPositionIORT = -758.75 *
mm;
839 outRadiusGiunz3FinalCollIORT,
840 hightGiunz3FinalCollIORT,
841 startAngleGiunz3FinalCollIORT,
842 spanningAngleGiunz3FinalCollIORT);
850 logicsolidGiunz3FinalCollIORT -> SetVisAttributes(
yellow);
868 logicsolidGiunz3FinalCollIntIORT -> SetVisAttributes(
yellow);
879 const G4double hightFinalCollimatorIORT = 349.75 *
mm;
880 const G4double startAngleFinalCollimatorIORT = 0.*
deg;
881 const G4double spanningAngleFinalCollimatorIORT = 360.*
deg;
882 const G4double finalCollimatorXPositionIORT = -404.75 *
mm;
893 hightFinalCollimatorIORT,
894 startAngleFinalCollimatorIORT,
895 spanningAngleFinalCollimatorIORT);
904 logFinalCollimatorIORT -> SetVisAttributes(
green);
917 G4cout<<
"Inner Radius of the final collimator IORT is (mm):"
928 G4cout<<
"Outer Radius of the final collimator IORT is (mm):"
Collimator40BeamLineMessenger * collimatorMessenger
void IortBeamLineBlocks()
void ConstructCollimator40BeamLine()
static G4RunManager * GetRunManager()
G4double OuterRadiusFinalCollimatorIORT
CLHEP::Hep3Vector G4ThreeVector
G4VPhysicalVolume * physiBlocco1IORT
void SetDefaultDimensions()
G4Material * Giunz1FinalCollMaterialIORT
G4VPhysicalVolume * physiBlocco2IORT
G4VPhysicalVolume * physiGiunz3FinalCollIORT
static constexpr double mm
G4Material * VSIORTMaterialIORT
G4Tubs * solidBlocco3IORT
static constexpr double perCent
G4Tubs * solidFinalCollimatorIORT
G4VPhysicalVolume * physiGiunz3FinalCollIntIORT
G4Tubs * solidCM1_1_2IORT
G4VisAttributes * darkOrange3
G4VPhysicalVolume * physiVSIORT
G4Tubs * solidBlocco20mmIORT
G4VPhysicalVolume * physiGiunz5FinalCollIORT
G4VPhysicalVolume * physiBlocco3IORT
static const G4VisAttributes & GetInvisible()
G4Material * CCMIORTMaterialIORT
G4VPhysicalVolume * physiCM1_1_2IORT
G4Element * FindOrBuildElement(G4int Z, G4bool isotopes=true)
G4Tubs * solidGiunz3FinalCollIORT
static constexpr double g
G4Material * Blocco3IORTMaterialIORT
G4Tubs * solidBlocco1IORT
void IortBeamLineTitaniumWindows()
G4Material * Blocco1IORTMaterialIORT
G4Material * Giunz5FinalCollMaterialIORT
const XML_Char int const XML_Char * value
G4Cons * solidGiunz3FinalCollIntIORT
G4Material * Giunz3FinalCollMaterialIntIORT
static constexpr double deg
void IortBeamLineJunctions()
G4Tubs * solidCM2_1_2IORT
G4Material * Giunz3FinalCollMaterialIORT
G4Material * Blocco2IORTMaterialIORT
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4VPhysicalVolume * Construct()
G4VPhysicalVolume * physiFinalCollimatorIORT
G4VPhysicalVolume * physicalTreatmentRoom
G4double innerRadiusFinalCollimatorIORT
G4Tubs * solidCM1_2_2IORT
void IortBeamLineVacuumSource()
IORTDetectorConstruction * iortDetectorConstruction
G4VisAttributes * darkGreen
G4VPhysicalVolume * physiFTIORT
G4Material * PFS2IORTMaterialIORT
G4Material * CM2_1_2IORTMaterialIORT
G4VPhysicalVolume * physiBlocco20mmIORT
HepRotation & rotateY(double delta)
G4Material * FTIORTMaterialIORT
void IortBeamLineMonitorChambers()
G4VPhysicalVolume * physiCM1_2_2IORT
G4Material * CM2_2_2IORTMaterialIORT
G4Material * Giunz2FinalCollMaterialIORT
G4Tubs * solidBlocco2IORT
G4Material * finalCollimatorMaterialIORT
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
G4Material * Blocco20mmIORTMaterialIORT
G4VPhysicalVolume * physiCCMIORT
void IortBeamLineFinalCollimator()
G4VPhysicalVolume * physiPFS3IORT
G4VPhysicalVolume * physiCM2_2_2IORT
G4VPhysicalVolume * physiPFS1IORT
G4VisAttributes * skyBlue
void SetOuterRadiusFinalCollimatorIORT(G4double)
G4Tubs * solidCM2_2_2IORT
G4VPhysicalVolume * physiGiunz4FinalCollIORT
G4Tubs * solidGiunz5FinalCollIORT
static constexpr double cm3
G4VPhysicalVolume * physiPFS2IORT
G4Tubs * solidGiunz4FinalCollIORT
G4VPhysicalVolume * physiCM2_1_2IORT
void SetInnerRadiusFinalCollimatorIORT(G4double)
G4Material * PFS3IORTMaterialIORT
G4Material * Giunz4FinalCollMaterialIORT
G4Material * CM1_1_2IORTMaterialIORT
G4Material * CM1_2_2IORTMaterialIORT
static G4NistManager * Instance()
G4Material * PFS1IORTMaterialIORT