![]() |
Belle II Software release-09-00-03
|


Public Member Functions | |
| def | root_name (self, name) |
| def | setUp (self) |
| def | test_compare_profiles (self) |
| def | test_compare_profiles_identical (self) |
| def | test_compare_identical_profiles_kolmogorov (self) |
| def | test_compare_profiles_almost_equal (self) |
| def | test_compare_zero_error_profiles (self) |
| def | test_compare_histograms (self) |
| def | test_compare_unsupported_object (self) |
| def | test_compare_differing_objects (self) |
| def | test_compare_tefficiencies (self) |
| def | test_compare_tefficiencies_same (self) |
| def | test_compare_differing_bins (self) |
Static Public Member Functions | |
| def | create_profile (name, entries=5000, mu=10, sigma=0.3, max_fill=50, fixed_number=None) |
| def | create_teff (name, bins=20, eff=0.9) |
| def | create_histogram (name, entries=5000, mu=10, sigma=3) |
Public Attributes | |
| call_iteration | |
| if we would at some point later want to implement several runs, we use this as a counter variable to set up different names. | |
| profileA | |
| Profile A. | |
| profileB | |
| Profile B. | |
| profileC | |
| Profile C. | |
| profileZeroErrorBins | |
| Profile with bins with 0 error. | |
| profileZeroErrorBinsTwo | |
| Profile with bins with 0 error. | |
| histogramA | |
| Histogram A. | |
| histogramB | |
| Histogram B (should be almost equal to profile A) | |
| profileAequal | |
| Profile should be almost equal to A. | |
| profileBequal | |
| Profile should be almost equal to B. | |
| profileDifferentBins | |
| Profile with different bins. | |
| teffA | |
| TEfficiemcy A. | |
| teffB | |
| TEfficiency B. | |
Various test cases for the Chi2Test wrapper class
Definition at line 72 of file test_comparison.py.
|
static |
Create a TH1D and fill with random content
Definition at line 110 of file test_comparison.py.
|
static |
Create a TProfile object with various content
Definition at line 78 of file test_comparison.py.
|
static |
Creates and fills a root TEfficiency plot
Definition at line 95 of file test_comparison.py.
| def root_name | ( | self, | |
| name | |||
| ) |
Generates unique names for ROOT objects
Definition at line 119 of file test_comparison.py.
| def setUp | ( | self | ) |
Setup method to generate profiles and histograms for tests
Definition at line 125 of file test_comparison.py.
| def test_compare_differing_bins | ( | self | ) |
Test if the comparison attempt of profiles with differing bin count fails properly
Definition at line 321 of file test_comparison.py.
| def test_compare_differing_objects | ( | self | ) |
Test if the comparison of differing objects is rejected
Definition at line 281 of file test_comparison.py.
| def test_compare_histograms | ( | self | ) |
Test comparison of regular histograms
Definition at line 259 of file test_comparison.py.
| def test_compare_identical_profiles_kolmogorov | ( | self | ) |
Test if comparing to identical TProfiles with Kolmo Test works
Definition at line 214 of file test_comparison.py.
| def test_compare_profiles | ( | self | ) |
Test if comparing two similar TProfiles works
Definition at line 194 of file test_comparison.py.
| def test_compare_profiles_almost_equal | ( | self | ) |
Test if the comparison of two TProfiles with very similar content works
Definition at line 221 of file test_comparison.py.
| def test_compare_profiles_identical | ( | self | ) |
Test if comparing two identical TProfiles works
Definition at line 204 of file test_comparison.py.
| def test_compare_tefficiencies | ( | self | ) |
Test if two TEfficiency objects can be compared. Is a bit tricky as TEfficiency does not support
Definition at line 291 of file test_comparison.py.
| def test_compare_tefficiencies_same | ( | self | ) |
Test if two TEfficiency objects can be compared. Is a bit tricky as TEfficiency does not support Comparing the exact same TEfficiency object should give back 100% agreement
Definition at line 306 of file test_comparison.py.
| def test_compare_unsupported_object | ( | self | ) |
Test if unsupported ROOT objects are treated properly
Definition at line 273 of file test_comparison.py.
| def test_compare_zero_error_profiles | ( | self | ) |
Test if bins with zero error are treated properly
Definition at line 234 of file test_comparison.py.
| call_iteration |
if we would at some point later want to implement several runs, we use this as a counter variable to set up different names.
However not implemented yet.
Definition at line 134 of file test_comparison.py.
| histogramA |
Histogram A.
Definition at line 160 of file test_comparison.py.
| histogramB |
Histogram B (should be almost equal to profile A)
Definition at line 165 of file test_comparison.py.
| profileA |
Profile A.
Definition at line 137 of file test_comparison.py.
| profileAequal |
Profile should be almost equal to A.
Definition at line 170 of file test_comparison.py.
| profileB |
Profile B.
Definition at line 140 of file test_comparison.py.
| profileBequal |
Profile should be almost equal to B.
Definition at line 175 of file test_comparison.py.
| profileC |
Profile C.
Definition at line 143 of file test_comparison.py.
| profileDifferentBins |
Profile with different bins.
Definition at line 180 of file test_comparison.py.
| profileZeroErrorBins |
Profile with bins with 0 error.
Definition at line 148 of file test_comparison.py.
| profileZeroErrorBinsTwo |
Profile with bins with 0 error.
Definition at line 154 of file test_comparison.py.
| teffA |
TEfficiemcy A.
Definition at line 189 of file test_comparison.py.
| teffB |
TEfficiency B.
Definition at line 192 of file test_comparison.py.