Function pineappl_capi::pineappl_lumi_entry
source · #[no_mangle]
pub unsafe extern "C" fn pineappl_lumi_entry(
lumi: *const Lumi,
entry: usize,
pdg_ids: *mut i32,
factors: *mut f64
)
Expand description
Read out the channel with index entry
of the luminosity function lumi
. The PDG ids and
factors will be copied into pdg_ids
and factors
.
§Safety
The parameter lumi
must point to a valid Lumi
object created by pineappl_lumi_new
or
pineappl_grid_lumi
. The parameter factors
must point to an array as long as the size
returned by pineappl_lumi_combinations
and pdg_ids
must point to an array that is twice as
long.