CepGen 1.2.5
Central exclusive processes event generator
|
Go to the source code of this file.
Namespaces | |
namespace | cepgen |
Common namespace for this Monte Carlo generator. | |
namespace | cepgen::test |
Macros | |
#define | CG_FAILED(name) |
#define | CG_PASSED(name) CG_LOG << cepgen::utils::colourise("Passed ", cepgen::utils::Colour::green) << name << "." |
#define | CG_TEST_DEBUG(debugging) cepgen::test::debug = debugging |
#define | CG_TEST_SET_FAILURE_TOLERANCE_RATE(tolerance) cepgen::test::failure_tolerance = tolerance |
#define | CG_TEST_SET_PRECISION(precis) cepgen::test::precision = precis |
#define | CG_TEST_RESET_PRECISION() cepgen::test::precision = cepgen::test::base_precision |
#define | CG_TEST(test_cond, name) |
#define | CG_TEST_EQUAL(var1, var2, name) |
#define | CG_TEST_EQUIV(var1, var2, name) |
#define | CG_TEST_UNCERT(diff, unc, nsigma, name) |
#define | CG_TEST_VALUES(val1, val2, nsigma, name) |
#define | CG_TEST_EXCEPT(sequence, name) |
#define | CG_TEST_SUMMARY |
Variables | |
bool | debug = false |
double | failure_tolerance = 0. |
const double | base_precision = 1.e-3 |
double | precision = base_precision |
size_t | num_total = 0 |
size_t | num_passed = 0 |
#define CG_FAILED | ( | name | ) |
#define CG_PASSED | ( | name | ) | CG_LOG << cepgen::utils::colourise("Passed ", cepgen::utils::Colour::green) << name << "." |
#define CG_TEST | ( | test_cond, | |
name | |||
) |
#define CG_TEST_DEBUG | ( | debugging | ) | cepgen::test::debug = debugging |
#define CG_TEST_EQUAL | ( | var1, | |
var2, | |||
name | |||
) |
#define CG_TEST_EQUIV | ( | var1, | |
var2, | |||
name | |||
) |
#define CG_TEST_EXCEPT | ( | sequence, | |
name | |||
) |
#define CG_TEST_RESET_PRECISION | ( | ) | cepgen::test::precision = cepgen::test::base_precision |
#define CG_TEST_SET_FAILURE_TOLERANCE_RATE | ( | tolerance | ) | cepgen::test::failure_tolerance = tolerance |
#define CG_TEST_SET_PRECISION | ( | precis | ) | cepgen::test::precision = precis |
#define CG_TEST_SUMMARY |
#define CG_TEST_UNCERT | ( | diff, | |
unc, | |||
nsigma, | |||
name | |||
) |
#define CG_TEST_VALUES | ( | val1, | |
val2, | |||
nsigma, | |||
name | |||
) |