PineAPPL

CLI reference

INPUT/OUTPUT: Grid selection

The parameters INPUT selects which file is being read from, and similarly for subcommands that write grids, OUTPUT determines which file is being written to. The CLI pineappl does not care about file suffixes at all, but typically PineAPPL grids have the file suffix .pineappl, and if they are compressed .pineappl.lz4. If you write a grid and choose a file name with an .lz4 suffix, pineappl will automatically compress the file using an LZ4 compression. If a compressed grid is read by pineappl it will automatically decompress it internally, so that this step does not have to be done by the user.

ORDERS: Selecting perturbative orders

A few convolutional subcommands accept a parameter ORDERS which allows to select a subset of perturbative orders to be taken into account during the convolution. This must be a comma separated list of orders, which are of the form:

where N must be the exponent of the strong coupling (denoted with as) and M must be the exponent of the electroweak coupling (denoted with a). For example, in Drell–Yan lepton-pair production a2,a2as1 selects the leading order (a2) and the next-to-leading order QCD (a2as1).

PDFSET: Specifying PDF members or entire PDF sets

The parameter PDFSET that appears for all convolutional-type subcommands (channels, convolve, etc.) must be one of the following strings:

If an entire PDF set must be given for the calculation of PDF uncertainties, that means for for pdfunc, plot or pull, the member selection using /0, /1 can be used to show specific members instead of the central prediction. For instance pineappl pdfunc ... NNPDF40_nnlo_as_01180 calculates the central value using the average over all replicas, whereas pineappl pdfunc ... NNPDF40_nnlo_as_01180/0 uses the zeroth member. This is especially useful to show different replicas in plots.

Finally, it is possible to re-label PDF sets by adding =label to the specification. This is particularly helpful when plotting predictions with multiple PDF sets. For example, NNPDF31_nnlo_as_0118_luxqed=NNPDF31luxQED instructs to use the the PDF set NNPDF31_nnlo_as_0118_luxqed, but it would be called NNPDF31luxQED.

REMAPPING: Remapping parameter specification

This section specifies the REMAPPING parameter of pineappl remap.

Motivation

For performance/simplicity reasons most Monte Carlo generators neither support

  1. multi-dimensional distributions nor
  2. distributions whose bin sizes are not equally sized

during generation. To work around this problem a grid with a one-dimensional distribution with equally-sized bins can be generated instead, and afterwards the bins can be ‘remapped’ to an N-dimensional distribution using the limits specified with the REMAPPING string.

Reference

The remapping string uses the following special characters to achieve this (note that some of these characters must be escaped in certain shells):

Finally note that the differential cross sections are calculated using the bin sizes (the product of bin widths of each dimension) given by the remapping string. The option --ignore-obs-norm can be used to remove certain dimensions from the bin size determination, for example '0,10,20;0,2,4' --ignore-obs-norm 1 will normalize the bins with a size of 2 because the first dimension (with index 1) will be ignored