52 translation = -4.4*
m;
63 pMaterial -> DefineMaterials();
65 ConstructShielding(motherVolume);
70 delete shieldingVisAtt;
82 void RemSimShieldingDecorator::ConstructShielding(
G4VPhysicalVolume* motherVolume)
85 pMaterial -> DefineMaterials();
87 G4Material* water = pMaterial -> GetMaterial(
"Water");
89 shielding =
new G4Box(
"shielding",shieldingX/2.,shieldingY/2.,shieldingZ/2.);
92 "shieldingLog",0,0,0);
96 "shieldingPhys", shieldingLog, motherVolume,
false,0);
101 shieldingVisAtt -> SetVisibility(
true);
102 shieldingVisAtt -> SetForceSolid(
true);
103 shieldingLog -> SetVisAttributes(shieldingVisAtt);
110 shielding -> SetZHalfLength(thick/2.);
112 (0.,0.,translation + thick/2.));
117 G4cout <<
"-----------------------------------------------------------------------"
119 <<
"the shielding is a box whose thickness is: " <<
G4endl
120 << ((shielding -> GetZHalfLength())*2.)/
cm
121 <<
" cm along the Z axis"
123 <<
"material of the shielding: "
124 << shieldingLog -> GetMaterial() -> GetName() <<
G4endl