This repository builds a LQGENEP container image from a Dockefile, which can then be run with singularity.
To build and publish the container:
docker build --platform linux/386 --tag ghcr.io/eic/lqgenep .
docker push ghcr.io/eic/lqgenep
To generate events from an inputfile in the local directory:
singularity run docker://ghcr.io/eic/lqgenep
To convert the generated events into HepMC3 format with eic-smear
(e.g. inside eic-shell
):
BuildTree("LQGENEP_output.txt", "./")
TreeToHepMC("LQGENEP_output.root", "./")
This will write LQGENEP_output.root
and LQGENEP_output.hepmc
.
To add the crossing angles and beam effects, run the afterburner
(e.g. inside eic-shell
):
abconv --preset ip6_hidiv_275x18 --output AB_LQGENEP_output LQGENEP_output.hepmc
The inputfile
parameters are whitespace separate:
- line 1: number of events, leptoquark mass, leptoquark type, lepton beam energy, proton beam energy, minimum Q2, minimum x, maximum x, minimum y, maximum y, initial quark generation, final quark generation
- line 2: output file name
Leptoquark types are defined in the lqgenep.f data block LQCHA
:
- 'S_0L'
- 'S_0R'
- '~S_0R'
- 'S_1L'
- 'V_1/2L'
- 'V_1/2R'
- '~V_1/2L'
- 'V_0L'
- 'V_0R'
- '~V_0R'
- 'V_1L'
- 'S_1/2L'
- 'S_1/2R'
- '~S_1/2L'