49 G4double magnetContainerLength,
50 G4double magnetContainerRadiusIn)
52 G4double zPlanesMagCont[2] = {-magnetContainerLength*0.5, magnetContainerLength*0.5};
53 G4double zPlanesCont[2] = {-length*0.5, length*0.5};
55 G4double zPlanesLong[2] = {-length, length};
58 G4double zeroRadii[2] = {0,0};
60 G4double poleEndRadii[2] = {poleEnd, poleEnd};
61 G4int numberOfSides = (G4int)
factor*2*order;
67 yokeSolid =
new G4Polyhedra(name +
"_yoke_solid",
87 G4double contInnerRadii[2] = {0, 0};
89 G4VSolid* containerOuterSolid =
new G4Polyhedra(name +
"_container_outer_solid",
98 G4VSolid* containerInnerSolid =
new G4Tubs(name +
"_container_solid",
105 allSolids.insert(containerOuterSolid);
106 allSolids.insert(containerInnerSolid);
108 containerSolid =
new G4SubtractionSolid(name +
"_container_solid",
110 containerInnerSolid);
112 G4double magContOuterRadii[2] = {magnetContainerRadiusIn, magnetContainerRadiusIn};
113 magnetContainerSolid =
new G4Polyhedra(name +
"_container_solid",
123 magContExtent =
BDSExtent(magnetContainerRadiusIn,
124 magnetContainerRadiusIn,
125 magnetContainerLength*0.5);
virtual void CreateYokeAndContainerSolid(const G4String &name, G4double length, G4int order, G4double magnetContainerLength, G4double magnetContainerRadiusIn)
Create yoke that connects poles and container to put them in.