Grid generation
===============
Grids play a crucial role in NNPDF fits. This is because they enable otherwise very time consuming
computations to be computed on the fly during an NNPDF fit. The guiding principle behind producing
grids is that the maximum possible amount of information should be computed before a PDF fit, so
that the smallest possible number of operations has to be carried out during a fit. There are two
particularly important types of grid: APPLgrids and FK ('Fast Kernel') tables. APPLgrids contain
information on the partonic cross section (otherwise known as hard cross sections or coefficient
functions) while FK tables combine APPLgrids with DGLAP evolution kernels from APFEL. This therefore
means that FK tables can simply be combined with PDFs at the fitting scale to produce predictions
for observables at the scale of the process.
`APPLgrid `_ is a C++ programme that allows the user to change certain
settings within observable calculations a posteriori. Most importantly, the user can change the PDF
set used, but they can also alter the renormalisation scale, factorisation scale and the strong
coupling constant. Without APPLgrids, such changes would usually require a full rerun of the code,
which is very time consuming. Moreover, these features are crucial for PDF fits, where hard cross
sections must be convolved with different PDFs on the fly many times. APPLgrid works for hadron
collider processes up to NLO in QCD, although work is ongoing to also include NLO electroweak
corrections in the APPLgrid format. In addition to the standard version of APPLgrid, a modified
version of APPLgrid exists which includes photon channels. This is known as APPLgridphoton.
APFELcomb generates FK tables for NNPDF fits. You can read about the mechanism behind APFELcomb
`here `_ and find more information about the theory behind FK tables
in the :ref:`Theory section `.
Other codes
-----------
`fastNLO `_ is an alternative code to APPLgrid, which is currently not
used by NNPDF, since the grids produced by fastNLO are not interfaced with the NNPDF code.