AT.Vavilov.IDF {libamtrack}R Documentation

AT.Vavilov.IDF

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

AT.Vavilov.IDF(rnd, kappa, beta)

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


[Package libamtrack version 0.6.4 Index]