Generic ComponentsΒΆ

You can create a Geometry Component for any of the standard solids defined in the geometry section of the Geant4 Application Developers Guide.

The ShapeTestWithAllParameters.txt example demonstrates how to build each of the solids.

../../_images/generic.png

Below we list the parameters for each Geant4 solid. Further details about the parameters, along with helpful diagrams, can be found in the Geant4 Application Developers Guide. For most solids, sizes are specified in Half Lengths, denoted with an HL, such as HLX. For a few solids, sizes are specified in full Lengths, denoted with just L, such as LX.

Note

The TsBox, TsCylinder and TsSphere should be used instead of G4Box, G4Tubs and G4Sphere respectively. See Dividable Components.

Some examples of components that can be built just from Generic Components:

  • Scatterer
  • Collimator
  • Mirror
  • Water Tank
  • Rando Phantom (as constructive solid geometry rather than DICOM import)
  • Pin Diode Chamber
  • Flat Panel Imaging Device
  • Standard Ion Chamber
  • Segmented Ion Chamber
  • Faraday Cup

We have built some complex things just from combinations of the Generic Components (such as the STAR radiosurgery beamline at MGH).