75 G4Box * aWorldBox =
new G4Box(
"WorldBox", halfDim, halfDim, halfDim);
82 G4double childRad = std::sqrt(3.*childDim*childDim);
83 G4Box * aChildBox =
new G4Box(
"ChildBox", childDim, childDim, childDim);
103 r1 = inner - childRad/3.;
107 r1 = inner - childRad - childRad/5.;
110 r2 = inner - childRad - childRad/5.;
118 G4ThreeVector tr1( r1*std::cos(p1)*std::sin(t1), r1*std::sin(p1)*std::sin(t1), r1*std::cos(t1));
119 G4ThreeVector tr2( r2*std::cos(p2)*std::sin(t2), r2*std::sin(p2)*std::sin(t2), r2*std::cos(t2));
121 new G4PVPlacement(rm1,tr1,child1,
"Child_1",aWorldLV,
false,1);
122 new G4PVPlacement(rm2,tr2,child2,
"Child_2",aWorldLV,
false,2);