AT.Vavilov.IDF: AT.Vavilov.IDF

Description Usage Arguments Value See Also

View source: R/libamtrack.R

Description

Computes the Vavilov probability density function using CERNLIB (G116) CAVE: CERNLIB functions for the Vavilov distribution work with the Landau definition for lambda, not the Vavilov definition. Use AT_energy_loss_from_lambda_Landau... to convert to energy loss. AT_energy_loss_from_lambda_Vavilov... will only work AFTER converting to the Vavilov definition by AT_lambda_Vavilov_from_lambda_Landau...

Usage

1

Arguments

rnd

random number from uniform distribution between 0 and 1 (array of size n).

kappa

straggling parameter (array of size n).

beta

relativistic speed, between 0 and 1 (array of size n).

Value

lambda.landau

resulting Landau (not Vavilov!) lambda (array of size n)

See Also

View the C source code here: http://sourceforge.net/apps/trac/libamtrack/browser/trunk/src/AT_EnergyLoss.c#L226


libamtrack documentation built on May 2, 2019, 4:55 p.m.