#include <VVIObj.h>
Public Member Functions | |
double | fcn (double x) const |
void | limits (double &xl, double &xu) const |
density (mode=0) or distribution (mode=1) function More... | |
VVIObj (double kappa=0.01, double beta2=1., int mode=0) | |
Constructor. More... | |
Private Attributes | |
double | a_ [155] |
double | b_ [155] |
const int | mode_ |
returns the limits on the non-zero (mode=0) or normalized region (mode=1) More... | |
double | omega_ |
double | t0_ |
double | t1_ |
double | t_ |
double | x0_ |
Port of CERNLIB routines vvidis/vviden (G116) to calculate higher quality Vavilov density and distribution functions
VVIObj::VVIObj | ( | double | kappa = 0.01 , |
double | beta2 = 1. , |
||
int | mode = 0 |
||
) |
Constructor.
Constructor Set Vavilov parameters kappa and beta2 and define whether to calculate density fcn or distribution fcn
kappa | - (input) Vavilov kappa parameter [0.01 (Landau-like) < kappa < 10. (Gaussian-like)] |
beta2 | - (input) Vavilov beta2 parameter (square of particle speed in v/c units) |
mode | - (input) set to 0 to calculate the density function and to 1 to calculate the distribution function |
double VVIObj::fcn | ( | double | x | ) | const |
void VVIObj::limits | ( | double & | xl, |
double & | xu | ||
) | const |
density (mode=0) or distribution (mode=1) function
Vavilov limits method
xl | - (output) Smallest value of the argument for the density and the beginning of the normalized region for the distribution |
xu | - (output) Largest value of the argument for the density and the end of the normalized region for the distribution |
|
private |