pub struct LumiCache<'a> { /* private fields */ }
Expand description

A cache for evaluating PDFs. Methods like Grid::convolute accept instances of this struct instead of the PDFs themselves.

Implementations

Construct a luminosity cache with two PDFs, xfx1 and xfx2. The types of hadrons the PDFs correspond to must be given as pdg1 and pdg2. The function to evaluate the strong coupling must be given as alphas. The grid that the cache will be used with must be given as grid; this parameter determines which of the initial states are hadronic, and if an initial states is not hadronic the corresponding ‘PDF’ is set to xfx = x. If some of the PDFs must be charge-conjugated, this is automatically done in this function.

Construct a luminosity cache with a single PDF xfx. The type of hadron the PDF corresponds to must be given as pdg. The function to evaluate the strong coupling must be given as alphas. The grid that the cache should be used with must be given as grid; this parameter determines which of the initial states are hadronic, and if an initial states is not hadronic the corresponding ‘PDF’ is set to xfx = x. If some of the PDFs must be charge-conjugated, this is automatically done in this function.

Return the PDF (multiplied with x) for the first initial state.

Return the PDF (multiplied with x) for the second initial state.

Return the strong coupling for the renormalization scale set with LumiCache::set_grids, in the grid mu2_grid at the index imu2.

Clears the cache.

Set the grids.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.