Basic Elastic generator using TGenPhaseSpace to generate events and output to LUND format for input into the clas12 simulation chain.
git clone https://github.com/uofscphysics/PhaseSpaceGen.git
mkdir -p PhaseSpaceGen/build
cd PhaseSpaceGen/build
cmake ..
make
# ElasticGen | outputfile | num of event | beam energy | min Q2 | max Q2
./ElasticGen outputfile.lund 10000 10.6 0.0 20
-
Add Radiative Corrections option
-
Add options as command line arguments with clipp
-
Add cross section information into generator