|
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) |
|
Various test cases for the Chi2Test wrapper class
Definition at line 72 of file test_comparison.py.
◆ create_histogram()
def create_histogram |
( |
|
name, |
|
|
|
entries = 5000 , |
|
|
|
mu = 10 , |
|
|
|
sigma = 3 |
|
) |
| |
|
static |
◆ create_profile()
def create_profile |
( |
|
name, |
|
|
|
entries = 5000 , |
|
|
|
mu = 10 , |
|
|
|
sigma = 0.3 , |
|
|
|
max_fill = 50 , |
|
|
|
fixed_number = None |
|
) |
| |
|
static |
◆ create_teff()
def create_teff |
( |
|
name, |
|
|
|
bins = 20 , |
|
|
|
eff = 0.9 |
|
) |
| |
|
static |
◆ root_name()
def root_name |
( |
|
self, |
|
|
|
name |
|
) |
| |
◆ setUp()
Setup method to generate profiles and histograms for tests
Definition at line 125 of file test_comparison.py.
◆ test_compare_differing_bins()
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.
◆ test_compare_differing_objects()
def test_compare_differing_objects |
( |
|
self | ) |
|
Test if the comparison of differing objects is rejected
Definition at line 281 of file test_comparison.py.
◆ test_compare_histograms()
def test_compare_histograms |
( |
|
self | ) |
|
◆ test_compare_identical_profiles_kolmogorov()
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.
◆ test_compare_profiles()
def test_compare_profiles |
( |
|
self | ) |
|
◆ test_compare_profiles_almost_equal()
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.
◆ test_compare_profiles_identical()
def test_compare_profiles_identical |
( |
|
self | ) |
|
◆ test_compare_tefficiencies()
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.
◆ test_compare_tefficiencies_same()
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.
◆ test_compare_unsupported_object()
def test_compare_unsupported_object |
( |
|
self | ) |
|
◆ test_compare_zero_error_profiles()
def test_compare_zero_error_profiles |
( |
|
self | ) |
|
◆ 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.
The documentation for this class was generated from the following file: