Skip to content

cepgen/CepGenEPA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-photon processes matrix elements

This repository introduces a collection of two-photon processes matrix elements to be used, either in C++ or in Python projects (thanks to the Boost.Python library)

Usage

First build the library as for any CMake project:

cmake /path/to/sources
make [-jN]

The requirements are set to be minimal:

  • GSL
  • Python
  • Boost.Python

A ggMatrixElements.so shared library should be produced in your build directory. You may either copy it in your working environment, or set Python to search for it when running your script:

export PYTHONPATH=/path/to/build/directory:$PYTHONPATH

The module can then be imported in your script:

import ggMatrixElements

print(ggMatrixElements.sqme_sm(0.1, -0.1, False))  # s, t, exclude_SM_loops

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published