Simple python-based program for generating photon spectra for proton-proton collisions. Target centre-of-mass energies are
The program uses Just for task runs and Docker for replicability.
The project is managed by uv and needs just and docker to have been installed on the system
- To build the docker container, run
docker build -t photons_pythia . - To run the docker container in interactive mode, run
docker run -it --rm -v $(pwd):/app photons_pythia /bin/bash. Note that the-v $(pwd):/appis needed to make the directory accessible from outside of the container and make its data persistent after the simulations are done. - To format the code using Ruff, run
uv run ruff format . - To format imports using Ruff, run
uv run ruff check --select I --fix