The Modular Matrix Element Method implementation.
MoMEMta depends on the following libraries and tools:
- LHAPDF (>=6)
- CMake (>=3.2)
- Boost (>=1.54)
- ROOT (>=5.34.09)
- A C++11-capable compiler
Note: MoMEMta has only been tested on GNU/Linux.
Retrieve the code on our github repository. Unpack the
archive and/or go to the MoMEMta
directory. Next, execute the following:
mkdir build
cd build
cmake ..
make -j 4
You can now use the library libmomemta.so
with your own code.
If you have admin rights on your system, you can make MoMEMta (public headers and library) available system-wide using:
make install
The following options are available when configuring the build (when running cmake ..
):
-DCMAKE_INSTALL_PREFIX=(path)
: Install MoMEMta in a specific location when runningmake install
(useful if you don't have admin rights)-DPROFILING=ON
: Generate debugging symbols and profiling information (requiresgperftools
)-DBOOST_ROOT=(path)
: Use specific Boost library installation-DTESTS=ON
: Also compile the test executables-DEXAMPLES=OFF
: Do not compile the example executables
After building according to the above instructions, you can try to run the examples:
./tt_fullyleptonic.exe
./tt_fullyleptonic_NWA.exe
Have a look at the corresponding source and config files located in MoMEMta/examples
!
We also have a dedicated repository with more involved working examples and tutorials.
You can find more details about MoMEMta on our documentations: