818 const G4double firstCollimatorYSize = 100.*
mm;
819 const G4double firstCollimatorZSize = 100.*
mm;
821 const G4double firstCollimatorXPosition = -2673.00*
mm;
822 const G4double firstCollimatorYPosition = 0.*
mm;
823 const G4double firstCollimatorZPosition = 0.*
mm;
825 G4Box* solidFirstCollimator =
new G4Box(
"FirstCollimator",
826 firstCollimatorXSize,
827 firstCollimatorYSize,
828 firstCollimatorZSize);
831 firstCollimatorMaterial,
835 firstCollimatorYPosition,
836 firstCollimatorZPosition),
838 logicFirstCollimator,
839 physicalTreatmentRoom,
845 G4double innerRadiusHoleFirstCollimator = 0.*
mm;
846 G4double outerRadiusHoleFirstCollimator = 15.*
mm;
849 G4double spanningAngleHoleFirstCollimator = 360.*
deg;
851 G4Tubs* solidHoleFirstCollimator =
new G4Tubs(
"HoleFirstCollimator",
852 innerRadiusHoleFirstCollimator,
853 outerRadiusHoleFirstCollimator,
854 hightHoleFirstCollimator,
855 startAngleHoleFirstCollimator,
856 spanningAngleHoleFirstCollimator);
859 holeFirstCollimatorMaterial,
860 "HoleFirstCollimator",
868 "HoleFirstCollimator",
869 logicHoleFirstCollimator,
870 physiFirstCollimator,
877 const G4double secondCollimatorXPosition = -1900.00*
mm;
878 const G4double secondCollimatorYPosition = 0*
mm;
879 const G4double secondCollimatorZPosition = 0*
mm;
882 secondCollimatorYPosition,
883 secondCollimatorZPosition),
885 logicFirstCollimator,
886 physicalTreatmentRoom,
894 "HoleSecondCollimator",
895 logicHoleFirstCollimator,
896 physiSecondCollimator,
909 const G4double firstCollimatorModulatorXSize = 10.*
mm;
910 const G4double firstCollimatorModulatorYSize = 200.*
mm;
911 const G4double firstCollimatorModulatorZSize = 200.*
mm;
913 const G4double firstCollimatorModulatorXPosition = -2523.00*
mm;
914 const G4double firstCollimatorModulatorYPosition = 0.*
mm;
915 const G4double firstCollimatorModulatorZPosition = 0.*
mm;
917 G4Box* solidFirstCollimatorModulatorBox =
new G4Box(
"FirstCollimatorModulatorBox",
918 firstCollimatorModulatorXSize,
919 firstCollimatorModulatorYSize,
920 firstCollimatorModulatorZSize);
923 modulatorBoxMaterial,
924 "FirstCollimatorModulatorBox");
927 firstCollimatorModulatorYPosition,
928 firstCollimatorModulatorZPosition),
929 "FirstCollimatorModulatorBox",
930 logicFirstCollimatorModulatorBox,
931 physicalTreatmentRoom,
false, 0);
936 const G4double innerRadiusHoleFirstCollimatorModulatorBox = 0.*
mm;
937 const G4double outerRadiusHoleFirstCollimatorModulatorBox = 31.*
mm;
938 const G4double hightHoleFirstCollimatorModulatorBox = 10.*
mm;
939 const G4double startAngleHoleFirstCollimatorModulatorBox = 0.*
deg;
940 const G4double spanningAngleHoleFirstCollimatorModulatorBox = 360.*
deg;
942 G4Tubs* solidHoleFirstCollimatorModulatorBox =
new G4Tubs(
"HoleFirstCollimatorModulatorBox",
943 innerRadiusHoleFirstCollimatorModulatorBox,
944 outerRadiusHoleFirstCollimatorModulatorBox,
945 hightHoleFirstCollimatorModulatorBox ,
946 startAngleHoleFirstCollimatorModulatorBox,
947 spanningAngleHoleFirstCollimatorModulatorBox);
950 holeModulatorBoxMaterial,
951 "HoleFirstCollimatorModulatorBox",
955 "HoleFirstCollimatorModulatorBox",
956 logicHoleFirstCollimatorModulatorBox,
957 physiFirstCollimatorModulatorBox,
false, 0);
962 const G4double secondCollimatorModulatorXSize = 10.*
mm;
963 const G4double secondCollimatorModulatorYSize = 200.*
mm;
964 const G4double secondCollimatorModulatorZSize = 200.*
mm;
966 const G4double secondCollimatorModulatorXPosition = -1953.00 *
mm;
968 const G4double secondCollimatorModulatorYPosition = 0.*
mm;
969 const G4double secondCollimatorModulatorZPosition = 0.*
mm;
971 G4Box* solidSecondCollimatorModulatorBox =
new G4Box(
"SecondCollimatorModulatorBox",
972 secondCollimatorModulatorXSize,
973 secondCollimatorModulatorYSize,
974 secondCollimatorModulatorZSize);
977 modulatorBoxMaterial,
978 "SecondCollimatorModulatorBox");
981 secondCollimatorModulatorYPosition,
982 secondCollimatorModulatorZPosition),
983 "SecondCollimatorModulatorBox",
984 logicSecondCollimatorModulatorBox,
985 physicalTreatmentRoom,
false, 0);
990 const G4double innerRadiusHoleSecondCollimatorModulatorBox = 0.*
mm;
991 const G4double outerRadiusHoleSecondCollimatorModulatorBox = 31.*
mm;
992 const G4double hightHoleSecondCollimatorModulatorBox = 10.*
mm;
993 const G4double startAngleHoleSecondCollimatorModulatorBox = 0.*
deg;
994 const G4double spanningAngleHoleSecondCollimatorModulatorBox = 360.*
deg;
996 G4Tubs* solidHoleSecondCollimatorModulatorBox =
new G4Tubs(
"HoleSecondCollimatorModulatorBox",
997 innerRadiusHoleSecondCollimatorModulatorBox,
998 outerRadiusHoleSecondCollimatorModulatorBox,
999 hightHoleSecondCollimatorModulatorBox ,
1000 startAngleHoleSecondCollimatorModulatorBox,
1001 spanningAngleHoleSecondCollimatorModulatorBox);
1004 holeModulatorBoxMaterial,
1005 "HoleSecondCollimatorModulatorBox",
1009 "HoleSecondCollimatorModulatorBox",
1010 logicHoleSecondCollimatorModulatorBox,
1011 physiSecondCollimatorModulatorBox,
false, 0);
1013 logicFirstCollimator -> SetVisAttributes(yellow);
1014 logicFirstCollimatorModulatorBox -> SetVisAttributes(blue);
1015 logicSecondCollimatorModulatorBox -> SetVisAttributes(blue);
static constexpr double mm
CLHEP::Hep3Vector G4ThreeVector
HepRotation & rotateY(double delta)
static constexpr double deg