yadbox package

Subpackages

Submodules

yadbox.export module

Export predictions to PineAPPL.

yadbox.export.dump_pineappl_to_file(output, filename, obsname)[source]

Write output on a PineAPPL grid file.

Parameters:
  • filename (str) – output file name

  • obsname (str) – observable to be dumped

yadbox.kinematics module

yadbox.kinematics.W2(x, Q2, MP=0.0)[source]

Mass squared \(W^2\) of the proton-boson system.

In particular, it is the mass squared of the system X recoiling against the scattered lepton [Z+20].

Parameters:
  • x (float) – Bjorken x

  • Q2 (float) – photon virtuality

  • MP (float) – mass of the proton (default: 0.)

Returns:

\(W^2\) value computed

Return type:

float