# Details are given in the TOPAS User Guide and in
# chapter 4 of the Geant4 Application Developer's Guide
# http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch04.html#sect.Geom.Solids

#--- Graphics
b:Ge/World/Invisible    = "True"
s:Gr/MyGraphic/Type     = "HepRep"
s:Gr/MyGraphic/FileName = "Geometry_02"


# Box
s:Ge/DemoBox/Type                  = "TsBox"
s:Ge/DemoBox/Parent                = "World"
s:Ge/DemoBox/Material              = "Air"
d:Ge/DemoBox/TransX                = 0 cm
d:Ge/DemoBox/TransY                = 0 cm
d:Ge/DemoBox/TransZ                = 0 cm
d:Ge/DemoBox/RotX                  = 0 deg
d:Ge/DemoBox/RotY                  = 0 deg
d:Ge/DemoBox/RotZ                  = 0 deg
d:Ge/DemoBox/HLX                   = 30. mm
d:Ge/DemoBox/HLY                   = 40. mm
d:Ge/DemoBox/HLZ                   = 60. mm
s:Ge/DemoBox/Color                 = "white"

# Cylinder -- Cylindrical section or Tube
s:Ge/DemoTube/Type                   = "TsCylinder"
s:Ge/DemoTube/Parent                 = "World"
s:Ge/DemoTube/Material               = "Air"
d:Ge/DemoTube/TransX                 = 0 cm
d:Ge/DemoTube/TransY                 = 0 cm
d:Ge/DemoTube/TransZ                 = 12 cm
d:Ge/DemoTube/RotX                   = 0 deg
d:Ge/DemoTube/RotY                   = 0 deg
d:Ge/DemoTube/RotZ                   = 0 deg
d:Ge/DemoTube/RMin                   = 10 mm
d:Ge/DemoTube/RMax                   = 15 mm
d:Ge/DemoTube/HL                     = 20 mm
d:Ge/DemoTube/SPhi                   = 1. rad
d:Ge/DemoTube/DPhi                   = 1.5 rad
s:Ge/DemoTube/Color                  = "lightblue"
s:Ge/DemoTube/DrawingStyle           = "FullWireFrame"

# CutTubs -- Cylindrical Cut Section or Cut Tube
s:Ge/DemoCutTubs/Type                = "G4CutTubs"
s:Ge/DemoCutTubs/Parent              = "World"
s:Ge/DemoCutTubs/Material            = "Air"
d:Ge/DemoCutTubs/TransX              = 0 cm
d:Ge/DemoCutTubs/TransY              = 0 cm
d:Ge/DemoCutTubs/TransZ              = 24 cm
d:Ge/DemoCutTubs/RotX                = 0 deg
d:Ge/DemoCutTubs/RotY                = 0 deg
d:Ge/DemoCutTubs/RotZ                = 0 deg
d:Ge/DemoCutTubs/RMin                = 12 mm
d:Ge/DemoCutTubs/RMax                = 20 mm
d:Ge/DemoCutTubs/HL                  = 30 mm
d:Ge/DemoCutTubs/SPhi                = 0 rad
d:Ge/DemoCutTubs/DPhi                = 1.5 rad
uv:Ge/DemoCutTubs/LowNorm            = 3 0. -0.7  -0.71
uv:Ge/DemoCutTubs/HighNorm           = 3 0.7 0. 0.71
s:Ge/DemoCutTubs/Color               = "skyblue"
s:Ge/DemoCutTubs/DrawingStyle        = "FullWireFrame"

# Cons -- Cone or Conical Section
s:Ge/DemoCons/Type                   = "G4Cons"
s:Ge/DemoCons/Parent                 = "World"
s:Ge/DemoCons/Material               = "Air"
d:Ge/DemoCons/TransX                 = 0 cm
d:Ge/DemoCons/TransY                 = 0 cm
d:Ge/DemoCons/TransZ                 = 36 cm
d:Ge/DemoCons/RotX                   = 0 deg
d:Ge/DemoCons/RotY                   = 0 deg
d:Ge/DemoCons/RotZ                   = 0 deg
d:Ge/DemoCons/RMin1                  = 5 mm
d:Ge/DemoCons/RMax1                  = 10 mm
d:Ge/DemoCons/RMin2                  = 20 mm
d:Ge/DemoCons/RMax2                  = 25 mm
d:Ge/DemoCons/HL                     = 40 mm
d:Ge/DemoCons/SPhi                   = 0 rad
d:Ge/DemoCons/DPhi                   = 1.34 rad
s:Ge/DemoCons/Color                  = "red"
s:Ge/DemoCons/DrawingStyle           = "FullWireFrame"

# Para -- Parallelepiped
s:Ge/DemoPara/Type                   = "G4Para"
s:Ge/DemoPara/Parent                 = "World"
s:Ge/DemoPara/Material               = "Air"
d:Ge/DemoPara/TransX                 = 0 cm
d:Ge/DemoPara/TransY                 = 0 cm
d:Ge/DemoPara/TransZ                 = 48 cm
d:Ge/DemoPara/RotX                   = 0 deg
d:Ge/DemoPara/RotY                   = 0 deg
d:Ge/DemoPara/RotZ                   = 0 deg
d:Ge/DemoPara/HLX                    = 30. mm
d:Ge/DemoPara/HLY                    = 40. mm
d:Ge/DemoPara/HLZ                    = 60. mm
d:Ge/DemoPara/Alpha                  = 0.3 rad
d:Ge/DemoPara/Theta                  = 0 rad
d:Ge/DemoPara/Phi                    = 0 rad
s:Ge/DemoPara/Color                  = "magenta"

# Trd -- Trapezoid
s:Ge/DemoTrd/Type                    = "G4Trd"
s:Ge/DemoTrd/Parent                  = "World"
s:Ge/DemoTrd/Material                = "Air"
d:Ge/DemoTrd/TransX                  = 0 cm
d:Ge/DemoTrd/TransY                  = 0 cm
d:Ge/DemoTrd/TransZ                  = 66 cm
d:Ge/DemoTrd/RotX                    = 0 deg
d:Ge/DemoTrd/RotY                    = 0 deg
d:Ge/DemoTrd/RotZ                    = 0 deg
d:Ge/DemoTrd/HLX1                    = 30. mm
d:Ge/DemoTrd/HLX2                    = 10. mm
d:Ge/DemoTrd/HLY1                    = 40. mm
d:Ge/DemoTrd/HLY2                    = 15. mm
d:Ge/DemoTrd/HLZ                     = 60. mm
s:Ge/DemoTrd/Color                   = "violet"

# RTrap - Right Angular Wedge Trapezoid
s:Ge/DemoRTrap/Type                  = "G4RTrap"
s:Ge/DemoRTrap/Parent                = "World"
s:Ge/DemoRTrap/Material              = "Air"
d:Ge/DemoRTrap/TransX                = 0 cm
d:Ge/DemoRTrap/TransY                = 0 cm
d:Ge/DemoRTrap/TransZ                = 84 cm
d:Ge/DemoRTrap/RotX                  = 0 deg
d:Ge/DemoRTrap/RotY                  = 0 deg
d:Ge/DemoRTrap/RotZ                  = 0 deg
d:Ge/DemoRTrap/LZ                    = 120. mm
d:Ge/DemoRTrap/LY                    = 80. mm
d:Ge/DemoRTrap/LX                    = 60. mm
d:Ge/DemoRTrap/LTX                   = 30. mm
s:Ge/DemoRTrap/Color                 = "pink"

# GTrap -- General Trapezoid
s:Ge/DemoGTrap/Type                  = "G4GTrap"
s:Ge/DemoGTrap/Parent                = "World"
s:Ge/DemoGTrap/Material              = "Air"
d:Ge/DemoGTrap/TransX                = 0 cm
d:Ge/DemoGTrap/TransY                = 0 cm
d:Ge/DemoGTrap/TransZ                = 104 cm
d:Ge/DemoGTrap/RotX                  = 0 deg
d:Ge/DemoGTrap/RotY                  = 0 deg
d:Ge/DemoGTrap/RotZ                  = 0 deg
d:Ge/DemoGTrap/HLZ                   = 60. mm
d:Ge/DemoGTrap/Theta                 = 20 deg
d:Ge/DemoGTrap/Phi                   = 5 deg
d:Ge/DemoGTrap/HLY1                  = 40. mm
d:Ge/DemoGTrap/HLX1                  = 30. mm
d:Ge/DemoGTrap/HLX2                  = 40. mm
d:Ge/DemoGTrap/Alp1                  = 10 deg
d:Ge/DemoGTrap/HLY2                  = 16. mm
d:Ge/DemoGTrap/HLX3                  = 10. mm
d:Ge/DemoGTrap/HLX4                  = 14. mm
d:Ge/DemoGTrap/Alp2                  = 10 deg
s:Ge/DemoGTrap/Color                 = "indigo"

# Sphere -- Spherical Shell Section
s:Ge/DemoSphere/Type                 = "TsSphere"
s:Ge/DemoSphere/Parent               = "World"
s:Ge/DemoSphere/Material             = "Air"
d:Ge/DemoSphere/TransX               = 0 cm
d:Ge/DemoSphere/TransY               = 0 cm
d:Ge/DemoSphere/TransZ               = 124 cm
d:Ge/DemoSphere/RotX                 = 0 deg
d:Ge/DemoSphere/RotY                 = 0 deg
d:Ge/DemoSphere/RotZ                 = 0 deg
d:Ge/DemoSphere/RMin                 = 100 mm
d:Ge/DemoSphere/RMax                 = 120 mm
d:Ge/DemoSphere/SPhi                 = 0 deg
d:Ge/DemoSphere/DPhi                 = 180 deg
d:Ge/DemoSphere/STheta               = 0 deg
d:Ge/DemoSphere/DTheta               = 180 deg
s:Ge/DemoSphere/DrawingStyle         = "FullWireFrame"
s:Ge/DemoSphere/Color                = "grass"

# Orb -- Full Solid Sphere
s:Ge/DemoOrb/Type                    = "G4Orb"
s:Ge/DemoOrb/Parent                  = "World"
s:Ge/DemoOrb/Material                = "Air"
d:Ge/DemoOrb/TransX                  = 0 cm
d:Ge/DemoOrb/TransY                  = 0 cm
d:Ge/DemoOrb/TransZ                  = 150 cm
d:Ge/DemoOrb/RotX                    = 0 deg
d:Ge/DemoOrb/RotY                    = 0 deg
d:Ge/DemoOrb/RotZ                    = 0 deg
d:Ge/DemoOrb/R                       = 100 mm
s:Ge/DemoOrb/Color                   = "orange"
s:Ge/DemoOrb/DrawingStyle            = "FullWireFrame"

# Torus
s:Ge/DemoTorus/Type                  = "G4Torus"
s:Ge/DemoTorus/Parent                = "World"
s:Ge/DemoTorus/Material              = "Air"
d:Ge/DemoTorus/TransX                = 0 cm
d:Ge/DemoTorus/TransY                = 0 cm
d:Ge/DemoTorus/TransZ                = 176 cm
d:Ge/DemoTorus/RotX                  = 0 deg
d:Ge/DemoTorus/RotY                  = 0 deg
d:Ge/DemoTorus/RotZ                  = 0 deg
d:Ge/DemoTorus/RMin                  = 40 mm
d:Ge/DemoTorus/RMax                  = 60 mm
d:Ge/DemoTorus/RTor                  = 200 mm
d:Ge/DemoTorus/SPhi                  = 0 deg
d:Ge/DemoTorus/DPhi                  = 90 deg
s:Ge/DemoTorus/Color                 = "purple"
s:Ge/DemoTorus/DrawingStyle          = "FullWireFrame"

# HPolycone -- Hollow Polycone
s:Ge/DemoHPolycone/Type              = "G4HPolycone"
s:Ge/DemoHPolycone/Parent            = "World"
s:Ge/DemoHPolycone/Material          = "Air"
d:Ge/DemoHPolycone/TransX            = 0 cm
d:Ge/DemoHPolycone/TransY            = 0 cm
d:Ge/DemoHPolycone/TransZ            = 180 cm
d:Ge/DemoHPolycone/RotX              = 0 deg
d:Ge/DemoHPolycone/RotY              = 0 deg
d:Ge/DemoHPolycone/RotZ              = 0 deg
d:Ge/DemoHPolycone/PhiStart          = 0.25 rad
d:Ge/DemoHPolycone/PhiTotal          = 1.5 rad
dv:Ge/DemoHPolycone/RInner           = 9 0 1. 1. 1. 2. 2. 3. .5 .2 mm
dv:Ge/DemoHPolycone/ROuter           = 9 0 10 10 5 5 10 10 2 2 mm
dv:Ge/DemoHPolycone/Z                = 9 5 7 9 11 25 27 29 31 35 mm
s:Ge/DemoHPolycone/Color             = "brown"
s:Ge/DemoHPolycone/DrawingStyle      = "FullWireFrame"

# SPolycone -- Solid Polycone
s:Ge/DemoSPolycone/Type              = "G4SPolycone"
s:Ge/DemoSPolycone/Parent            = "World"
s:Ge/DemoSPolycone/Material          = "Air"
d:Ge/DemoSPolycone/TransX            = 0 cm
d:Ge/DemoSPolycone/TransY            = 0 cm
d:Ge/DemoSPolycone/TransZ            = 186 cm
d:Ge/DemoSPolycone/RotX              = 0 deg
d:Ge/DemoSPolycone/RotY              = 0 deg
d:Ge/DemoSPolycone/RotZ              = 0 deg
d:Ge/DemoSPolycone/PhiStart          = 0.25 rad
d:Ge/DemoSPolycone/PhiTotal          = 1.5 rad
dv:Ge/DemoSPolycone/R                = 9 0 10 10 5 5 10 10 2 2 mm
dv:Ge/DemoSPolycone/Z                = 9 5 7 9 11 25 27 29 31 35 mm
s:Ge/DemoSPolycone/Color             = "grey"
s:Ge/DemoSPolycone/DrawingStyle      = "FullWireFrame"

# HPolyhedra -- Hollow Polyhedra
s:Ge/DemoHPolyhedra/Type             = "G4HPolyhedra"
s:Ge/DemoHPolyhedra/Parent           = "World"
s:Ge/DemoHPolyhedra/Material         = "Air"
d:Ge/DemoHPolyhedra/TransX           = 0 cm
d:Ge/DemoHPolyhedra/TransY           = 0 cm
d:Ge/DemoHPolyhedra/TransZ           = 192 cm
d:Ge/DemoHPolyhedra/RotX             = 0 deg
d:Ge/DemoHPolyhedra/RotY             = 0 deg
d:Ge/DemoHPolyhedra/RotZ             = 0 deg
d:Ge/DemoHPolyhedra/PhiStart         = -0.25 rad
d:Ge/DemoHPolyhedra/PhiTotal         = 1.25 rad
i:Ge/DemoHPolyhedra/NSides           = 3
dv:Ge/DemoHPolyhedra/Z               = 7 0 5 8 13 30 32 35 mm
dv:Ge/DemoHPolyhedra/RInner          = 7 0 2 2 3 1 1 2 mm
dv:Ge/DemoHPolyhedra/ROuter          = 7 0 15 15 4 4 10 10 mm
s:Ge/DemoHPolyhedra/Color            = "blue"

# SPolyhedra -- Solid Polyhedra
s:Ge/DemoSPolyhedra/Type             = "G4SPolyhedra"
s:Ge/DemoSPolyhedra/Parent           = "World"
s:Ge/DemoSPolyhedra/Material         = "Air"
d:Ge/DemoSPolyhedra/TransX           = 0 cm
d:Ge/DemoSPolyhedra/TransY           = 0 cm
d:Ge/DemoSPolyhedra/TransZ           = 198 cm
d:Ge/DemoSPolyhedra/RotX             = 0 deg
d:Ge/DemoSPolyhedra/RotY             = 0 deg
d:Ge/DemoSPolyhedra/RotZ             = 0 deg
d:Ge/DemoSPolyhedra/PhiStart         = -0.25 rad
d:Ge/DemoSPolyhedra/PhiTotal         = 1.25 rad
i:Ge/DemoSPolyhedra/NSides           = 100
dv:Ge/DemoSPolyhedra/R               = 5 0 4 12 8 0 mm
dv:Ge/DemoSPolyhedra/Z               = 5 0 0 8 16 16 mm
s:Ge/DemoSPolyhedra/Color            = "green"

# EllipticalTube -- Tube with an Elliptical Cross Section
s:Ge/DemoEllipticalTube/Type         = "G4EllipticalTube"
s:Ge/DemoEllipticalTube/Parent       = "World"
s:Ge/DemoEllipticalTube/Material     = "Air"
d:Ge/DemoEllipticalTube/TransX       = 0 cm
d:Ge/DemoEllipticalTube/TransY       = 0 cm
d:Ge/DemoEllipticalTube/TransZ       = 204 cm
d:Ge/DemoEllipticalTube/RotX         = 0 deg
d:Ge/DemoEllipticalTube/RotY         = 0 deg
d:Ge/DemoEllipticalTube/RotZ         = 0 deg
d:Ge/DemoEllipticalTube/HLX          = 5 mm
d:Ge/DemoEllipticalTube/HLY          = 10 mm
d:Ge/DemoEllipticalTube/HLZ          = 20 mm
s:Ge/DemoEllipticalTube/Color        = "yellow"
s:Ge/DemoEllipticalTube/DrawingStyle = "FullWireFrame"

# Ellipsoid
s:Ge/DemoEllipsoid/Type              = "G4Ellipsoid"
s:Ge/DemoEllipsoid/Parent            = "World"
s:Ge/DemoEllipsoid/Material          = "Air"
d:Ge/DemoEllipsoid/TransX            = 0 cm
d:Ge/DemoEllipsoid/TransY            = 0 cm
d:Ge/DemoEllipsoid/TransZ            = 210 cm
d:Ge/DemoEllipsoid/RotX              = 0 deg
d:Ge/DemoEllipsoid/RotY              = 0 deg
d:Ge/DemoEllipsoid/RotZ              = 0 deg
d:Ge/DemoEllipsoid/HLX               = 10 mm
d:Ge/DemoEllipsoid/HLY               = 20 mm
d:Ge/DemoEllipsoid/HLZ               = 50 mm
d:Ge/DemoEllipsoid/ZBottom           = -10 mm
d:Ge/DemoEllipsoid/ZTop              = 40 mm
s:Ge/DemoEllipsoid/Color             = "white"
s:Ge/DemoEllipsoid/DrawingStyle      = "FullWireFrame"

# EllipticalCone -- Cone with an Elliptical Cross Section
s:Ge/DemoEllipticalCone/Type         = "G4EllipticalCone"
s:Ge/DemoEllipticalCone/Parent       = "World"
s:Ge/DemoEllipticalCone/Material     = "Air"
d:Ge/DemoEllipticalCone/TransX       = 0 cm
d:Ge/DemoEllipticalCone/TransY       = 0 cm
d:Ge/DemoEllipticalCone/TransZ       = 222 cm
d:Ge/DemoEllipticalCone/RotX         = 0 deg
d:Ge/DemoEllipticalCone/RotY         = 0 deg
d:Ge/DemoEllipticalCone/RotZ         = 0 deg
d:Ge/DemoEllipticalCone/RMin         = 10 mm
d:Ge/DemoEllipticalCone/RMax         = 15 mm
d:Ge/DemoEllipticalCone/HLX          = .4 mm
d:Ge/DemoEllipticalCone/HLY          = .8 mm
d:Ge/DemoEllipticalCone/ZMax         = 50 mm
d:Ge/DemoEllipticalCone/ZTop         = 25 mm
s:Ge/DemoEllipticalCone/Color        = "lightblue"
s:Ge/DemoEllipticalCone/DrawingStyle = "FullWireFrame"

# Paraboloid -- Solid with a Parabolic Profile
s:Ge/DemoParaboloid/Type             = "G4Paraboloid"
s:Ge/DemoParaboloid/Parent           = "World"
s:Ge/DemoParaboloid/Material         = "Air"
d:Ge/DemoParaboloid/TransX           = 0 cm
d:Ge/DemoParaboloid/TransY           = 0 cm
d:Ge/DemoParaboloid/TransZ           = 234 cm
d:Ge/DemoParaboloid/RotX             = 0 deg
d:Ge/DemoParaboloid/RotY             = 0 deg
d:Ge/DemoParaboloid/RotZ             = 0 deg
d:Ge/DemoParaboloid/HLZ              = 20 mm
d:Ge/DemoParaboloid/R1               = 20 mm
d:Ge/DemoParaboloid/R2               = 35 mm
s:Ge/DemoParaboloid/Color            = "skyblue"
s:Ge/DemoParaboloid/DrawingStyle     = "FullWireFrame"

# Hype -- Solid with a Hyperbolic Profile
s:Ge/DemoHype/Type                   = "G4Hype"
s:Ge/DemoHype/Parent                 = "World"
s:Ge/DemoHype/Material               = "Air"
d:Ge/DemoHype/TransX                 = 0 cm
d:Ge/DemoHype/TransY                 = 0 cm
d:Ge/DemoHype/TransZ                 = 248 cm
d:Ge/DemoHype/RotX                   = 0 deg
d:Ge/DemoHype/RotY                   = 0 deg
d:Ge/DemoHype/RotZ                   = 0 deg
d:Ge/DemoHype/IR                     = 20 mm
d:Ge/DemoHype/OR                     = 30 mm
d:Ge/DemoHype/IS                     = .7 rad
d:Ge/DemoHype/OS                     = .7 rad
d:Ge/DemoHype/HLZ                    = 50 mm
s:Ge/DemoHype/Color                  = "red"
s:Ge/DemoHype/DrawingStyle           = "FullWireFrame"

# Tet -- Tetrahedra
s:Ge/DemoTet/Type                    = "G4Tet"
s:Ge/DemoTet/Parent                  = "World"
s:Ge/DemoTet/Material                = "Air"
d:Ge/DemoTet/TransX                  = 0 cm
d:Ge/DemoTet/TransY                  = 0 cm
d:Ge/DemoTet/TransZ                  = 262 cm
d:Ge/DemoTet/RotX                    = 0 deg
d:Ge/DemoTet/RotY                    = 0 deg
d:Ge/DemoTet/RotZ                    = 0 deg
dv:Ge/DemoTet/Anchor                 = 3 0 0 17.3 mm
dv:Ge/DemoTet/P2                     = 3 0 16.3 -5.8 mm
dv:Ge/DemoTet/P3                     = 3 -14.1 -8.2 -5.8 mm
dv:Ge/DemoTet/P4                     = 3 14.1 -8.2 -5.8 mm
s:Ge/DemoTet/Color                   = "magenta"

# ExtrudedSolid
s:Ge/DemoExtrudedSolid/Type          = "G4ExtrudedSolid"
s:Ge/DemoExtrudedSolid/Parent        = "World"
s:Ge/DemoExtrudedSolid/Material      = "Air"
d:Ge/DemoExtrudedSolid/TransX        = 0 cm
d:Ge/DemoExtrudedSolid/TransY        = 0 cm
d:Ge/DemoExtrudedSolid/TransZ        = 270 cm
d:Ge/DemoExtrudedSolid/RotX          = 0 deg
d:Ge/DemoExtrudedSolid/RotY          = 0 deg
d:Ge/DemoExtrudedSolid/RotZ          = 0 deg
dv:Ge/DemoExtrudedSolid/Polygons     = 16 -30 -30 -30 30 30 30 30 -30 15 -30 15 15 -15 15 -15 -30 mm
d:Ge/DemoExtrudedSolid/HLZ           = 20 mm
dv:Ge/DemoExtrudedSolid/Off1         = 2 10. 10. mm
u:Ge/DemoExtrudedSolid/Scale1        = 1.
dv:Ge/DemoExtrudedSolid/Off2         = 2 -10. -10. mm
u:Ge/DemoExtrudedSolid/Scale2        = 0.6
s:Ge/DemoExtrudedSolid/Color         = "violet"

# TwistedBox
s:Ge/DemoG4TwistedBox/Type           = "G4TwistedBox"
s:Ge/DemoG4TwistedBox/Parent         = "World"
s:Ge/DemoG4TwistedBox/Material       = "Air"
d:Ge/DemoG4TwistedBox/TransX         = 0 cm
d:Ge/DemoG4TwistedBox/TransY         = 0 cm
d:Ge/DemoG4TwistedBox/TransZ         = 284 cm
d:Ge/DemoG4TwistedBox/RotX           = 0 deg
d:Ge/DemoG4TwistedBox/RotY           = 0 deg
d:Ge/DemoG4TwistedBox/RotZ           = 0 deg
d:Ge/DemoG4TwistedBox/Twist          = 30 deg
d:Ge/DemoG4TwistedBox/HLX            = 30. mm
d:Ge/DemoG4TwistedBox/HLY            = 40. mm
d:Ge/DemoG4TwistedBox/HLZ            = 60. mm
s:Ge/DemoG4TwistedBox/Color          = "pink"
s:Ge/DemoG4TwistedBox/DrawingStyle   = "FullWireFrame"

# RTwistedTrap -- Right Angular Wedge Twisted Trapezoid
s:Ge/DemoRTwistedTrap/Type           = "G4RTwistedTrap"
s:Ge/DemoRTwistedTrap/Parent         = "World"
s:Ge/DemoRTwistedTrap/Material       = "Air"
d:Ge/DemoRTwistedTrap/TransX         = 0 cm
d:Ge/DemoRTwistedTrap/TransY         = 0 cm
d:Ge/DemoRTwistedTrap/TransZ         = 302 cm
d:Ge/DemoRTwistedTrap/RotX           = 0 deg
d:Ge/DemoRTwistedTrap/RotY           = 0 deg
d:Ge/DemoRTwistedTrap/RotZ           = 0 deg
d:Ge/DemoRTwistedTrap/Twist          = 30 deg
d:Ge/DemoRTwistedTrap/HLX1           = 30. mm
d:Ge/DemoRTwistedTrap/HLX2           = 40. mm
d:Ge/DemoRTwistedTrap/HLY            = 40. mm
d:Ge/DemoRTwistedTrap/HLZ            = 60. mm
s:Ge/DemoRTwistedTrap/Color          = "indigo"
s:Ge/DemoRTwistedTrap/DrawingStyle   = "FullWireFrame"

# GTwistedTrap -- General Twisted Trapezoid
s:Ge/DemoGTwistedTrap/Type           = "G4GTwistedTrap"
s:Ge/DemoGTwistedTrap/Parent         = "World"
s:Ge/DemoGTwistedTrap/Material       = "Air"
d:Ge/DemoGTwistedTrap/TransX         = 0 cm
d:Ge/DemoGTwistedTrap/TransY         = 0 cm
d:Ge/DemoGTwistedTrap/TransZ         = 320 cm
d:Ge/DemoGTwistedTrap/RotX           = 0 deg
d:Ge/DemoGTwistedTrap/RotY           = 0 deg
d:Ge/DemoGTwistedTrap/RotZ           = 0 deg
d:Ge/DemoGTwistedTrap/Twist          = 30 deg
d:Ge/DemoGTwistedTrap/HLZ            = 60. mm
d:Ge/DemoGTwistedTrap/Theta          = 20 deg
d:Ge/DemoGTwistedTrap/Phi            = 5 deg
d:Ge/DemoGTwistedTrap/HLY1           = 40. mm
d:Ge/DemoGTwistedTrap/HLX1           = 30. mm
d:Ge/DemoGTwistedTrap/HLX2           = 40. mm
d:Ge/DemoGTwistedTrap/HLY2           = 16. mm
d:Ge/DemoGTwistedTrap/HLX3           = 10. mm
d:Ge/DemoGTwistedTrap/HLX4           = 14. mm
d:Ge/DemoGTwistedTrap/Alpha          = 10 deg
s:Ge/DemoGTwistedTrap/Color          = "grass"
s:Ge/DemoGTwistedTrap/DrawingStyle   = "FullWireFrame"

# TwistedTrd -- Twisted Trapezoid with x and y dimensions varying along z
s:Ge/DemoTwistedTrd/Type             = "G4TwistedTrd"
s:Ge/DemoTwistedTrd/Parent           = "World"
s:Ge/DemoTwistedTrd/Material         = "Air"
d:Ge/DemoTwistedTrd/TransX           = 0 cm
d:Ge/DemoTwistedTrd/TransY           = 0 cm
d:Ge/DemoTwistedTrd/TransZ           = 336 cm
d:Ge/DemoTwistedTrd/RotX             = 0 deg
d:Ge/DemoTwistedTrd/RotY             = 0 deg
d:Ge/DemoTwistedTrd/RotZ             = 0 deg
d:Ge/DemoTwistedTrd/HLX1             = 30. mm
d:Ge/DemoTwistedTrd/HLX2             = 10. mm
d:Ge/DemoTwistedTrd/HLY1             = 40. mm
d:Ge/DemoTwistedTrd/HLY2             = 15. mm
d:Ge/DemoTwistedTrd/HLZ              = 60. mm
d:Ge/DemoTwistedTrd/Twist            = 30 deg
s:Ge/DemoTwistedTrd/Color            = "orange"
s:Ge/DemoTwistedTrd/DrawingStyle     = "FullWireFrame"

# GenericTrap -- Generic Trapezoid with optionally collapsing vertices
s:Ge/DemoGenericTrap/Type            = "G4GenericTrap"
s:Ge/DemoGenericTrap/Parent          = "World"
s:Ge/DemoGenericTrap/Material        = "Air"
d:Ge/DemoGenericTrap/TransX          = 0 cm
d:Ge/DemoGenericTrap/TransY          = 0 cm
d:Ge/DemoGenericTrap/TransZ          = 350 cm
d:Ge/DemoGenericTrap/RotX            = 0 deg
d:Ge/DemoGenericTrap/RotY            = 0 deg
d:Ge/DemoGenericTrap/RotZ            = 0 deg
d:Ge/DemoGenericTrap/HLZ             = 25 mm
dv:Ge/DemoGenericTrap/Vertices       = 16 -30 -30 -30 30 30 30 30 -30 -5 -20 -20 20 20 20 20 -20 mm
s:Ge/DemoGenericTrap/Color           = "purple"
s:Ge/DemoGenericTrap/DrawingStyle    = "FullWireFrame"

# TwistedTubs -- Tube Section Twisted along its axis
s:Ge/DemoTwistedTubs/Type            = "G4TwistedTubs"
s:Ge/DemoTwistedTubs/Parent          = "World"
s:Ge/DemoTwistedTubs/Material        = "Air"
d:Ge/DemoTwistedTubs/TransX          = 0 cm
d:Ge/DemoTwistedTubs/TransY          = 0 cm
d:Ge/DemoTwistedTubs/TransZ          = 358 cm
d:Ge/DemoTwistedTubs/RotX            = 0 deg
d:Ge/DemoTwistedTubs/RotY            = 0 deg
d:Ge/DemoTwistedTubs/RotZ            = 0 deg
d:Ge/DemoTwistedTubs/Twist           = 60 deg
d:Ge/DemoTwistedTubs/EndInnerRad     = 10 mm
d:Ge/DemoTwistedTubs/EndOuterRad     = 15 mm
d:Ge/DemoTwistedTubs/HLZ             = 20 mm
d:Ge/DemoTwistedTubs/Phi             = 90 deg
s:Ge/DemoTwistedTubs/Color           = "brown"
s:Ge/DemoTwistedTubs/DrawingStyle    = "FullWireFrame"
