![]() |
ROOT 6.08/07 Reference Guide |
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 Public Member Functions | |
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... | |
|
static |
Test the cdf values against the integral of the pdf Returns 0 if the test is passed.
v | The Vavilov test object |
os | Output stream |
Definition at line 698 of file VavilovTest.cxx.
|
static |
Test the cdf values against the integral of the pdf Returns 0 if the test is passed.
v | The Vavilov test object |
os | Output stream |
Definition at line 692 of file VavilovTest.cxx.
|
static |
Definition at line 882 of file VavilovTest.cxx.
|
static |
Definition at line 867 of file VavilovTest.cxx.
|
static |
Definition at line 893 of file VavilovTest.cxx.
|
static |
Return the \beta^2 value in the tables of Seltzer and Berger.
Definition at line 415 of file VavilovTest.cxx.
|
static |
Return the \kappa value for ikappa in the tables of Seltzer and Berger.
Definition at line 406 of file VavilovTest.cxx.
|
static |
Return the \lambda value in the tables of Seltzer and Berger.
Definition at line 425 of file VavilovTest.cxx.
|
static |
Return the number of \beta^2 values in the tables of Seltzer and Berger.
Definition at line 411 of file VavilovTest.cxx.
|
static |
Return the number of \kappa values in the tables of Seltzer and Berger.
Definition at line 402 of file VavilovTest.cxx.
|
static |
Return the number of \lambda values in the tables of Seltzer and Berger.
Definition at line 420 of file VavilovTest.cxx.
|
static |
Return the value of p(\lambda) in the tables of Seltzer and Berger.
Definition at line 431 of file VavilovTest.cxx.
|
static |
Test the pdf values against the tables of Seltzer and Berger.
Returns 0 if the test is passed
v | The Vavilov test object |
os | Output stream |
Definition at line 490 of file VavilovTest.cxx.
|
static |
Test the pdf values against the tables of Seltzer and Berger.
Returns 0 if the test is passed
v | The Vavilov test object |
os | Output stream |
Definition at line 484 of file VavilovTest.cxx.
|
static |
Print a table of the pdf values to stream os.
v | The Vavilov object |
os | Output stream |
digits | Number of digits to be printed |
Definition at line 602 of file VavilovTest.cxx.
|
static |
Test the quantile values against the cdf Returns 0 if the test is passed.
v | The Vavilov test object |
os | Output stream |
Definition at line 775 of file VavilovTest.cxx.
|
static |
Test the quantile values against the cdf Returns 0 if the test is passed.
v | The Vavilov test object |
os | Output stream |
Definition at line 769 of file VavilovTest.cxx.