Madgraph - IUHEPandML/DataAnalysis GitHub Wiki
Installation in MAC:
Note: Pay attention avoiding mixed installations, versions, or package manager.. You can create a new environment (e.g. using conda) to make it clean such that your installation will work!
Madgraph It is an automatic meta-code that write the code for computing the cross-section and generating events for any process at colliders.
- You can download it from here: https://launchpad.net/mg5amcnlo
Dependencies to be installed:
-
lhapdf
-
conda install -c conda-forge lhapdf
-
install pythia
-
install Delphes
=> this gives an error about not finding a library.. So instead install it from github page -
Once you compile it.. Modify the path of deplhes in the following madgrpah config file:
input/mg5_configuration.txt
-
Be careful to use updated ROOT version! If you upgrade a newer version of the ROOT after compilation, don't forget to recompile the Delphes with the new ROOT version, to make it compatible with the ROOT version that you run the program.
-
For the reweighting package (To make reweight option available for mad graph), you need to have numpy installed on your machine and lhapdf.
Useful links/twikis/tutorials: