Skip to content

Simple program which will create an output file with particle information in the mkin format for direct use with a2geant.

Notifications You must be signed in to change notification settings

a2wagner/MC-Resolution-Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

To compile the code, ROOT has to be installed. For building use the following command:

g++ -std=gnu++11 -O3 -o simulate simulate.cpp `root-config --cflags --glibs` -lSpectrum

Usage: ./simulate particle_name [output_file]

Possible particles are:

  • photon
  • proton
  • electron (positron)
  • muon (antimuon)

About

Simple program which will create an output file with particle information in the mkin format for direct use with a2geant.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages