CustomPdf

struct CustomPdf

A user-supplied parton density, loaded as a UMAMI library.

Passed in place of a PdfGrid. The library receives the momentum fraction, the factorization scale, the parton PDG id and the beam index. It returns \(x f(x, q)\) under UMAMI_OUT_PDF.

Public Functions

inline CustomPdf(std::size_t function_index)
Parameters:

function_index – Index of the loaded library in the context.

inline CustomPdf(const MatrixElementApi &function_api)
Parameters:

function_api – The loaded library.

Public Members

std::size_t function_index

Index of the loaded library in the context.