BETAG4 is a simulation of the BETA detector used for inclusive electron scattering experiment, SANE. It is GEANT4 based and has made extensive use of the ROOT analysis framework.

It is currently a work in progress and is being developed by Whitney Armstrong.

The key features of the simulation include:

  • Uva polarized target magnetic field
  • Forward tracker (BETA’s first detector)
  • Gas Cherenkov (second)
  • Lucite Hodoscop (third)
  • BigCal Lead Glass Calorimeter (last)

Code documentation
Download the source (version 0.4.5)

I am not a professional programmer so it is not in perfect C++. Also it is sparsely documented for the most part. Improved code documentation and a user documentation are being developed.

Trackback URL for this entry