Test class for class Vavilov and its subclasses.
For test purposes, the class contains a number of static function that return the tabulated values of the Vavilov pdf given by S.M. Seltzer and M.J. Berger: Energy loss stragglin of protons and mesons: Tabulation of the Vavilov distribution, pp 187-203 in: National Research Council (U.S.), Committee on Nuclear Science: Studies in penetration of charged particles in matter, Nat. Akad. Sci. Publication 1133, Nucl. Sci. Series Report No. 39, Washington (Nat. Akad. Sci.) 1964, 388 pp. Available from Google books
B. List 24.6.2010
Definition at line 64 of file VavilovTest.h.
|
static int | CdfTest (Vavilov &v, std::ostream &os, double maxabsdiff, double maxcdfdiff) |
| Test the cdf values against the integral of the pdf Returns 0 if the test is passed. More...
|
|
static int | CdfTest (Vavilov &v, std::ostream &os) |
| Test the cdf values against the integral of the pdf Returns 0 if the test is passed. More...
|
|
static void | GetCdfTestParams (const Vavilov &v, double &maxabsdiff, double &maxcdfdiff) |
|
static void | GetPdfTestParams (const Vavilov &v, double &maxabsdiff, double &maxdiffmantissa, double &agreefraction, double &agreediffmantissa) |
|
static void | GetQuantileTestParams (const Vavilov &v, double &maxabsdiff) |
|
static double | GetSBBeta2 (int ibeta2) |
| Return the \(\beta^2\) value in the tables of Seltzer and Berger. More...
|
|
static double | GetSBKappa (int ikappa) |
| Return the \(\kappa\) value for ikappa in the tables of Seltzer and Berger. More...
|
|
static double | GetSBLambda (int ikappa, int ilambda) |
| Return the \(\lambda\) value in the tables of Seltzer and Berger. More...
|
|
static int | GetSBNBeta2 () |
| Return the number of \(\beta^2\) values in the tables of Seltzer and Berger. More...
|
|
static int | GetSBNKappa () |
| Return the number of \(\kappa\) values in the tables of Seltzer and Berger. More...
|
|
static int | GetSBNLambda (int ikappa) |
| Return the number of \(\lambda\) values in the tables of Seltzer and Berger. More...
|
|
static double | GetSBVavilovPdf (int ikappa, int ibeta2, int ilambda) |
| Return the value of \(p(\lambda)\) in the tables of Seltzer and Berger. More...
|
|
static int | PdfTest (Vavilov &v, std::ostream &os, double maxabsdiff, double maxdiffmantissa, double agreefraction, double agreediffmantissa) |
| Test the pdf values against the tables of Seltzer and Berger. More...
|
|
static int | PdfTest (Vavilov &v, std::ostream &os) |
| Test the pdf values against the tables of Seltzer and Berger. More...
|
|
static void | PrintPdfTable (Vavilov &v, std::ostream &os, int digits=3) |
| Print a table of the pdf values to stream os. More...
|
|
static int | QuantileTest (Vavilov &v, std::ostream &os, double maxabsdiff) |
| Test the quantile values against the cdf Returns 0 if the test is passed. More...
|
|
static int | QuantileTest (Vavilov &v, std::ostream &os) |
| Test the quantile values against the cdf Returns 0 if the test is passed. More...
|
|