| Format | Image |
| box (G4Box) |
| <box | | | | | name = "boxExample" | | | | x = "20" | | | | y = "10" | | | | z = "30" | | | | lunit= "cm" /> | |
| name | Box name | | x | Dimension in X | | y | Dimension in Y | | z | Dimension in Z | | lunit | Unit of x, y and z |
|  |
| cone (G4Cons) |
| <cone | | | | | name = "conExample" | | | | rmin1 = "10" | | | | rmax1 = "15" | | | | rmin2 = "15" | | | | rmax2 = "25" | | | | z = "30" | | | | startphi = "1" | | | | deltaphi = "4" | | | | aunit = "rad" | | | | lunit = "mm" /> | |
| name | Cone name | | rmin1 | Inner radius at base of cone | | rmax1 | Outer radius at base of cone | | rmin2 | Inner radius at top of cone | | rmax2 | Outer radius at top of cone | | z | Height of cone segment | | startphi | Start angle of the segment | | deltaphi | Angle of the segment | | aunit | unit of startphi and deltaphi | | lunit | unit of rmin1, rmax1, rmin2, rmax2 and z |
|  |
| ellipsoid (G4Ellipsoid) |
| <ellipsoid | | | | | name = "ellExample" | | | | ax = "10" | | | | by = "15" | | | | cz = "20" | | | | zcut1 = "0" | | | | zcut2 = "4" | | | | lunit = "mm" /> | |
| name | Ellipsoid name | | ax | x semi axis | | by | y semi axis | | cz | z semi axis | | zcut1 | cutting the bottom part of the shape off | | zcut2 | cutting the upper part of the shape off | | lunit | unit of ax, by, cz, zcut1 and zcut2 |
|  |
| eltube (G4EllipticalTube) |
| <eltube | | | | | name = "eltExample" | | | | dx = "10" | | | | dy = "15" | | | | dz = "20" | | | | lunit = "mm" /> | |
| name | Elliptical tube name | | dx | x semi axis | | dy | y semi axis | | dz | z semi axis | | lunit | unit of dx, dy and dz |
|  |
| elcone (G4EllipticalCone) |
| <elcone | | | | | name = "elcExample" | | | | dx = "5" | | | | dy = "10" | | | | zmax = "2" | | | | zcut = "0.5" | | | | lunit = "mm" /> | |
| name | Ellipsoid Cone name | | dx | Semiaxis in X | | dy | Semiaxis in Y | | zmax | Total z length without cut | | zcut | Upper cut in Z | | lunit | unit of dx, dy, zmax and zcut |
|  |
| orb (G4Orb) |
| <orb | | | | | name = "orbExample" | | | | r = "10" | | | | lunit = "mm" /> | |
| name | Orb name | | r | Outer radius | | lunit | Unit of r |
|  |
| paraboloid (G4Paraboloid) |
| <paraboloid | | | | | name = "parExample" | | | | rlo = "10" | | | | rhi = "15" | | | | dz = "20" | | | | lunit = "mm" /> | |
| name | paraboloid name | | rlo | Radius at -z | | rhi | Radius at +z greater than rlo | | dz | z length | | lunit | unit of rmin1, rmax1, rmin2, rmax2 and z |
|  |
| para (G4Para) |
| <para | | | | | name = "parExample" | | | | x = "10" | | | | y = "15" | | | | z = "20" | | | | alpha = "1" | | | | theta = "0.5" | | | | phi = "1.2" | | | | aunit = "rad" | | | | lunit = "mm" /> | |
| name | parallelepiped name | | x | Length in x | | y | Length in y | | z | Length in z | | alpha | Angle between x and z planes | | theta | Polar angle of the line joining the centres of the faces at –z and +z in z | | phi | Azimuthal angle of the line joining the centres of the faces at -dz and +dz in z | | aunit | unit of alpha, theta and phi | | lunit | unit of x, y and z |
|  |
| polycone (G4Polycone) |
| <polycone | | | | | name = "polExample" | | | | startphi = "1" | | | | deltaphi = "4" | | | | aunit = "rad" | | | | lunit = "mm"> | | | | <zplane rmin="1" rmax="9" z="10" /> | | | | <zplane rmin="3" rmax="5" z="12" /> | | | </polycone> | | |
| name | polycone name | | startphi | Start angle of the segment – if not given 0.0 is defaulted | | deltaphi | Angle of the segment | | aunit | unit of startphi and deltaphi | | lunit | unit of rmin, rmax and z | | z | z coordinate of the plane | | rmin | Inner radius of cone at this point – if not given 0.0 is defaulted | | rmax | Outer radius of cone at this point |
|  |
| polyhedra (G4Polyhedra) |
| <polyhedra | | | | | name = "polExample" | | | | startphi = "1" | | | | deltaphi = "4" | | | | aunit = "rad" | | | | lunit = "mm"> | | | | <zplane rmin="1" rmax="9" z="10" /> | | | | <zplane rmin="3" rmax="5" z="12" /> | | | </polyhedra> | | | | name | polyhedra name | | startphi | Start angle of the segment | | deltaphi | Angle of the segment | | aunit | unit of startphi and deltaphi | | lunit | unit of rmin, rmax and z | | z | z coordinate of the plane | | rmin | Inner radius of cone at this point – if not given 0.0 is defaulted | | rmax | Outer radius of cone at this point |
|  |
| sphere (G4Sphere) |
| <sphere | | | | | name = "polExample" | | | | rmin = "1" | | | | rmax = "4" | | | | deltaphi = "1" | | | | deltatheta = "1" | | | | aunit = "rad" | | | | lunit = "mm" /> | |
| name | sphere name | | rmin | Inner radius | | rmax | Outer radius | | deltaphi | Delta Phi angle of the segment in radians | | deltatheta | Delta Theta angle of the segment in radians | | aunit | Unit of startphi and deltaphi | | lunit | Unit of rmin and rmax |
|  |
| torus (G4Torus) |
| <torus | | | | | name = "torExample" | | | | rmin = "1" | | | | rmax = "4" | | | | deltaphi = "3" | | | | startphi = "1" | | | | aunit = "rad" | | | | lunit = "mm" /> | |
| name | torus name | | rmin | Inner radius | | rmax | Outer radius | | deltaphi | Delta Phi angle of the segment in radians | | startphi | Initial Phi starting angle | | aunit | Unit of startphi and deltaphi | | lunit | Unit of rmin and rmax |
|  |
| trd (G4Trd) |
| <trd | | | | | name = "trdExample" | | | | x1 = "9" | | | | x2 = "8" | | | | y1 = "6" | | | | y2 = "5" | | | | z = "10" | | | lunit | unit of x1, x2, y1, y2 and z |
| name | trapezoid name | | x1 | Length along x at the surface positioned at -z | | x2 | Length along x at the surface positioned at +z | | y1 | Length along y at the surface positioned at -z | | y2 | Length along y at the surface positioned at +z | | z | Length along z axis | | lunit | Unit of rmin and rmax |
|  |
| trap (G4Trap) |
| <trap | | | | | name = "trdExample" | | | | z = "10" | | | | theta = "1" | | | | phi = "2" | | | | y1 = "15" | | | | x1 = "10" | | | | x2 = "10" | | | | alpha1 = "1" | | | | y2 = "15" | | | | x3 = "10" | | | | x4 = "10" | | | | alpha2 = "1" | | | | aunit = "rad" | | | | lunit = "mm" /> | | | name | generic trapezoid name | | z | Length along z axis | | theta | Polar angle of the line joining the centres of the faces at -/+pDz | | phi | Azimuthal angle of the line joining the centre of the face at -pDz to the centre of the face at | | x1 | Length along x at side y = -y1 of the face at -z | | y1 | Length along y at the face -z | | alpha1 | Angle with respect to the y axis from the centre of side at y = -y1 to centre of y = +y1 of the face at -z | | x2 | Length along x at side y = +y1 of the face at -z | | y2 | Length along y at the face +z | | x3 | Length along x at side y = -y1 of the face at +z | | x4 | Length along x at side y = +y1 of the face at +z | | alpha2 | Angle with respect to the y axis from the centre of side at y = -y2 to centre of y = +y2 of the face at +z | | aunit | unit of theta and phi | | lunit | unit of x1, y1, x2, y2, x3 and x4 |
|  |
| hype (G4Hype) |
| <hype | | | | | name = "trdExample" | | | | rmin = "1" | | | | rmax = "2" | | | | z = "20" | | | | inst = "3" | | | | outst = "4" | | | | lunit = "mm" /> | | | name | hyperbolic profile name | | rmin | Inner radius | | rmax | Outer radius | | z | Length in z | | inst | Inner stereo angle in radians | | outst | Outer stereo angle in radians | | lunit | Unit of rmin, rmax and z |
|  |
| twistedbox (G4TwistedBox) |
| <twistedbox | | | | | name = "twiExample" | | | | PhiTwist = "1" | | | | x = "30" | | | | y = "30" | | | | z = "30" | | | | aunit = "rad" | | | | lunit = "mm" /> | | | name | twistedbox name | | PhiTwist | Twist angle | | x | x length | | y | y length | | z | z length | | aunit | Unit of PhiTwist | | lunit | Unit of x, y and z |
|  |
| twistedtrd (G4TwistedTrd) |
| <twistedtrd | | | | | name = "twiExample" | | | | PhiTwist = "1" | | | | x1 = "9" | | | | x2 = "8" | | | | y1 = "6" | | | | y2 = "5" | | | | z = "10" | | | | aunit = "rad" | | | | lunit = "mm" /> | | | name | twistedtrd name | | PhiTwist | Twisted angle | | x1 | x length at the surface positioned at -dz | | x2 | x length at the surface positioned at +dz | | y1 | y length at the surface positioned at -dz | | y2 | y length at the surface positioned at +dz | | z | z length | | aunit | Unit of PhiTwist | | lunit | Unit of x1, x2, y1, y2 and z |
|  |
| twistedtrap (G4TwistedTrap) |
| <twistedtrap | | | | | name = "twiExample" | | | | PhiTwist = "1" | | | | z = "10" | | | | Theta = "1" | | | | Phi = "2" | | | | x1 = "10" | | | | y1 = "15" | | | | x2 = "10" | | | | y2 = "15" | | | | x3 = "10" | | | | x4 = "10" | | | | Alph = "1" | | | | aunit = "rad" | | | | lunit = "mm" /> | | | name | twistedtrd name | | PhiTwist | Twisted angle | | z | Length along z axis | | Theta | Polar angle to faces joining at -/+z | | Phi | Azimuthal angle of line joining centre of –z face to centre of +z face | | x1 | Length along x at side y = -y1 of the face at -z | | y1 | Length along y at the face -z | | x2 | Length along x at side y = +y1 of the face at -z | | y2 | Length along y at the face +z | | x3 | Length along x at side y = -y1 of the face at +z | | x4 | Length along x at side y = +y1 of the face at +z | | Alph | Angle with respect to the y axis from the centre of the side | | aunit | unit of Theta, Phi and Alph | | lunit | unit of z, x1, y1, x2, y2, x3 and x4 |
|  |
| twistedtubs (G4TwistedTubs) |
| <twistedtubs | | | | | name = "twiExample" | | | | endinnerrad = "1" | | | | endouterrad = "4" | | | | zlen = "20" | | | | phi = "3" | | | | twistedangle = "1" | | | | aunit = "rad" | | | | lunit = "mm" /> | | | name | twistedtube name | | endinnerrad | Inner radius at endcap | | endouterrad | Outer radius at endcap | | zlen | z length | | phi | Phi angle of a segment | | twistedangle | Twisted angle | | aunit | unit of phi and twistedangle | | lunit | unit of endinnerrad, endouterrad and zlen |
|  |
| xtru (G4ExtrudedSolid) |
| <xtru | | | | | name = "xtrExample" | | | | lunit = "mm"> | | | | <twoDimVertex x="3" y="9" /> | | | | <twoDimVertex x="1" y="5" /> | | | | <twoDimVertex x="2" y="4" /> | | | | <section zOrder="1" zPosition="2" xOffset="5" yOffset="3" scalingFactor="3"/> | | | | <section zOrder="2" zPosition="5" xOffset="3" yOffset="5" scalingFactor="1"/> | | | </xtru> | | | | name | xtru name | | lunit | unit of x, y, xOffset and yOffset | | x | x coordinate of the vertex | | y | y coordinate of the vertex | | zOrder | Index of the section, must be between 0 and n-1 where n is the number of sections | | zPosition | Distance from the plane z=0 | | xOffset | x offset from centre point of original plane | | yOffset | y offset from centre point of original plane | | scalingFactor | proportion to original blueprint |
|  |