Madflow
References: https://arxiv.org/abs/2105.10529
Install madflow
From PyPI
To be done
From the repository
git clone https://github.com/N3PDF/madflow.git
cd madflow
pip install .
External tools
madflow relies in a number of external tools.
Some of them are just used for convenience and are optional, some are necessary for the proper functioning of the program.
MG5_aMC
A valid installation of MG5_aMC (2.8+) is necessary in order to generate matrix elements.
If you already have a valid installation, please add the following environment variable pointing to the right directory: MADGRAPH_PATH.
Below are the instructions for MG5_aMC 3.1.0, for a more recent release please visit the MG5_aMC@NLO site.
wget https://launchpad.net/mg5amcnlo/3.0/3.1.x/+download/MG5_aMC_v3.1.0.tar.gz
tar xfz MG5_aMC_v3.1.0.tar.gz
export MADGRAPH_PATH=${PWD}/MG5_aMC_v3_1_0
LHAPDF
While LHAPDF is not strictly necessary to use the madflow library or run any of the scripts,
having access to the lhapdf python wrapper can be convenient in order to manage the different PDFsets.
Please install the latest version from the LHAPDF site.
Otherwise, if your installed version of pdfflow is equal or greater than 1.2.1,
you can manually install the PDF sets in a suitable directory
and ensure that either the PDFFLOW_DATA_PATH or LHAPDF_DATA_PATH environment variables are pointing to it.
You can check your installed version of pdfflow with: python -c 'import pdfflow ; print(pdfflow.__version__);'
Install plugin in MG5_aMC
In order to install the madflow plugin in MG5_aMC@NLO, it is necessary to link the madgraph_plugin folder inside the PLUGIN directory of MG5_aMC@NLO.
For instance, if the environment variable $MADGRAPH_PATH is pointing to the MG5_aMC root and you are currently in the repository root.
ln -s ${PWD}/madgraph_plugin ${MADGRAPH_PATH}/PLUGIN/pyout
The link can be performed automagically with the madflow --autolink option.
Use madflow
For a more precise description of what madflow can do please visit the online documentation.
For convenience a script is provided which should have been installed alongside the library.
Using this script is possible to run any process at Leading Order, integrated with a RAMBO-like phasespace.
madflow --help
[-h] [-v] [-p PDF] [--no_pdf] [-c] [--madgraph_process MADGRAPH_PROCESS] [-m MASSIVE_PARTICLES] [-g] [--pt_cut PT_CUT] [--histograms]
optional arguments:
-h, --help show this help message and exit
-v, --verbose Print extra info
-p PDF, --pdf PDF PDF set
--no_pdf Don't use a PDF for the initial state
-c, --enable_cuts Enable the cuts
--madgraph_process MADGRAPH_PROCESS
Set the madgraph process to be run
-m MASSIVE_PARTICLES, --massive_particles MASSIVE_PARTICLES
Number of massive particles
-g, --variable_g Use variable g_s
--pt_cut PT_CUT Minimum pt for the outgoint particles
--histograms Generate LHE files/histograms
Metadata
Release files for madflow 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| madflow-0.9.tar.gz | 57.8 kB | Without provenance | Details for madflow-0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| madflow-0.9-py3-none-any.whl | Python 3 | none | any | Details for madflow-0.9-py3-none-any.whl |
Total release size: 99.7 kB
Release files / madflow-0.9.tar.gz
| Download URL | madflow-0.9.tar.gz |
|---|---|
| Size | 57.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d02f15b6c1391b893a69bee23e244b33ef816f02fc1ccad6db5ba60ae0de1a8
|
|
BLAKE2b-256 checksum How to use checksums |
60dbdc4a7fac548d7618fd5864e892fd7df85f70e082e8aafd91b3c9a6117dfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / madflow-0.9-py3-none-any.whl
| Download URL | madflow-0.9-py3-none-any.whl |
|---|---|
| Size | 41.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d55ebf6b6b84d048ec37ce8d786b559162a5285717703fc520cb5fd54f6d922
|
|
BLAKE2b-256 checksum How to use checksums |
878d371ff81e7cf8b28b309e2f8f4fdaebf69d106b9326812f22fb6bd6cdd743
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Security for madflow 0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.