Skip to content

alexwenym/G4EMMA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To make and build, simply run the script cmake_script.sh ./cmake_script.sh

Some nominal values for EMMA:

Energy acceptance: +25% -17% m/q acceptance: +/- 3.5% mass dispersion in focal plane: 10 mm/% angular acceptance: +/- 3.6 deg by +/- 3.6 deg (15 msr)

Functionality/Usage changes updates:

Nov. 5 Update: - Energy spectrum reading is implemented. To utilise it, go to UserDir where the rest of the input files are located. The spectrum, energySpectrum.dat, is located there. Note: it is currently configured to ignore the energy input information (beam energy and energy spread) in beam.dat. The energy spectrum reading also only affects beam simulations, and not anything else like alphasource.

Nov. 8 Update: - Now, you can switch between if you read energy from a user-defined spectrum (see above) or use the default gaussian energy that's already implemented in beam.dat. To change this option, simply change the last (9th) line in beam.dat to SPEC or GAUS. It is set to SPEC by default.

Nov. 15 Update: - added a histogram as part of the output data file which displays the energy spectrum that was emitted from the target. Useful for verification purposes.

Nov. 19 Update: - added a histogram in the output file that displays the location of beam emissions at the target plane (in terms of X and Y).

Nov. 21 Update: - added a histogram in the output file that displays the x and y components of the particle direction unit vectors (Target Plane Transverse Emission Components).

About

GEANT4 simulation of the EMMA spectrometer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 26.8%
  • C++ 24.5%
  • C 22.3%
  • Fortran 21.2%
  • PostScript 3.2%
  • CMake 0.7%
  • Other 1.3%