Skip to content

Latest commit

 

History

History
72 lines (57 loc) · 2.17 KB

README.md

File metadata and controls

72 lines (57 loc) · 2.17 KB

DOI

Description

HpT-MON (Higgs pt-distribution in Momentum and N-space) computes the transverse momentum distribution of the Higgs boson in pp collisions at LO and NLO both in momentum and Mellin space.

Install dependencies

For the compilation, the code relies on meson and ninja. To install meson and ninja, just run:

pip install -r requirements.txt

In addition, HpT-MON relies on third party libraries:

  • CUBA: for the Monte Carlo integration. If Cuba is not installed yet on the system, run the following:
    source install-cuba.sh
  • YAML-cpp: for the parsing of the input run card. If it is not installed in the system (make sure that duplicate installations are not present as this might results in an error), run:
    source install-yaml.sh

Compile & run the code

Thanks to meson, compiling the code is straightforward:

meson setup builddir
cd builddir
meson compile

This will generate two executables called higgsfo-pt and higgsfo-n in the builddir directory. To run the code, use one of the run cards in the runcards folder as follows:

./higgsfo-n ../runcards/Higgs-FO-as-N.yaml    (for results as a function of N)
./higgsfo-pt ../runcards/Higgs-FO-as-pt.yaml  (for results as a function of pt)

Every time changes are made, the code can be re-compiled by just running meson compile inside the builddir directory.

System-wide installation

Finally, in case one wants to install the header files and library system-wide, this can be done by running the following:

meson install

This, by default, will install the header files in /{prefix}/include/higgs-fo and add higgsfo.pc to the PKG path.

@misc{
    Rabemananjara_Stegeman_2021,
    title={N3PDF/HpT-MON: HpT-MON-v1.0.1},
    url={https://zenodo.org/record/4903918},
    DOI={10.5281/ZENODO.4903918},
    author={Rabemananjara, Tanjona and Stegeman, Roy}, 
    year={2021}, 
    month={Jun} 
}