51 physicalTreatmentRoom(0),hadrontherapyDetectorConstruction(0),
52 physiBeamLineSupport(0), physiBeamLineCover(0), physiBeamLineCover2(0),
53 physiKaptonWindow(0),PhysiRippleFilter(0),PhysiRippleFilterBase(0),PhysiRippleFilterTrd(0),
54 physiFirstMonitorLayer1(0), physiFirstMonitorLayer2(0),
55 physiFirstMonitorLayer3(0), physiFirstMonitorLayer4(0),
56 physiNozzleSupport(0), physiHoleNozzleSupport(0)
64 static G4String ROGeometryName =
"DetectorROGeometry";
68 G4cout <<
"Going to register Parallel world...";
120 white -> SetVisibility(
true);
121 white -> SetForceSolid(
true);
124 black -> SetVisibility(
true);
125 black -> SetForceSolid(
true);
129 blue -> SetVisibility(
true);
130 blue -> SetForceSolid(
true);
133 gray-> SetVisibility(
true);
134 gray-> SetForceSolid(
true);
137 red-> SetVisibility(
true);
138 red-> SetForceSolid(
true);
141 yellow-> SetVisibility(
true);
142 yellow-> SetForceSolid(
true);
145 green -> SetVisibility(
true);
146 green -> SetForceSolid(
true);
157 skyBlue -> SetVisibility(
true);
158 skyBlue -> SetForceSolid(
true);
164 G4double defaultinnerRadiusFinalCollimator = 12.5 *
mm;
191 brass -> AddElement(zincNist, fractionmass = 30 *
perCent);
192 brass -> AddElement(copperNist, fractionmass = 70 *
perCent);
254 "logicTreatmentRoom",
258 "physicalTreatmentRoom",
402 "FirstScatteringFoil");
447 G4double defaultRippleFilterXPosition = -1638.0*
mm;
448 G4double ripple_position=(defaultRippleFilterXPosition);
502 "LogicRippleFilterBase",
525 "LogicRippleFilterTrd",
530 G4int numberOfTrd =
static_cast<int>(std::floor( RF_y / (RFtrd_bottom+distanceBetweenTrd) ));
532 G4int N =
static_cast<int>( std::floor(numberOfTrd-1)/2 );
534 G4int copyNumber = 0;
536 for(
int i = -N; i <=
N; i++ )
540 i*(RFtrd_bottom+distanceBetweenTrd),
541 -RF_z/2+RFbase_z+RFtrd_z/2),
542 "PhysiRippleFilterTrd",
579 "PMMACollimatorSupport");
582 "PMMACollimatorSupport",
590 yellow-> SetVisibility(
true);
591 yellow-> SetForceWireframe(
true);
664 "FirstMonitorLayer1");
668 "FirstMonitorLayer1",
681 "FirstMonitorLayer2");
684 "FirstMonitorLayer2",
697 "FirstMonitorLayer3");
714 "FirstMonitorLayer4");
717 "FirstMonitorLayer4",
768 yellow-> SetVisibility(
true);
769 yellow-> SetForceWireframe(
true);
953 G4cout <<
"The Ripple Filter is translated to"<< value/
mm <<
"mm along the X axis" <<
G4endl;
962 G4cout<<
"Inner Radius of the final collimator is (mm):"
978 G4cout <<
"The material of the Ripple Filter has been changed to " << materialChoice <<
G4endl;
983 G4cout <<
"WARNING: material \"" << materialChoice <<
"\" doesn't exist in NIST elements/materials"
984 " table [located in $G4INSTALL/source/materials/src/G4NistMaterialBuilder.cc]" <<
G4endl;
985 G4cout <<
"Use command \"/parameter/nist\" to see full materials list!" <<
G4endl;