![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| ensure_compute (self) | |
| comparison_result (self) | |
| comparison_result_long (self) | |
| can_compare (self) | |
Public Attributes | |
| object_a = object_a | |
| store the first object to compare | |
| object_b = object_b | |
| store the second object to compare | |
| mop = mop | |
| MetaOptionParser. | |
| debug = debug | |
| enable debug? | |
| bool | computed = False |
| used to store, whether the quantities have already been compared | |
Protected Member Functions | |
| _compute (self) | |
| str | _get_comparison_result_long (self) |
| str | _get_comparison_result (self) |
| bool | _has_correct_types (self) |
| None | _raise_has_correct_types (self) |
| bool | _has_compatible_bins (self) |
| None | _raise_has_compatible_bins (self) |
Static Protected Member Functions | |
| _convert_teff_to_hist (teff_a) | |
Protected Attributes | |
| _pvalue = None | |
| pvalue | |
| float | _pvalue_warn = self.mop.pvalue_warn() |
| pvalue below which a warning is issued | |
| float | _pvalue_error = self.mop.pvalue_error() |
| pvalue below which an error is issued | |
| str | _comparison_result = "not_compared" |
| Comparison result, i.e. | |
| str | _comparison_result_long = "" |
| Longer description of the comparison result (e.g. | |
Static Protected Attributes | |
| float | _default_pvalue_warn = 0.99 |
| Default pvalue below which a warning is issued (unless supplied in metaoptions) | |
| float | _default_pvalue_error = 0.01 |
| Default pvalue below which an error is issued (unless supplied in metaoptions) | |
Kolmogorov-Smirnov Test
Definition at line 589 of file validationcomparison.py.
| __init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
Initialize Kolmogorov test. @param args: See arguments of :class:`ComparisonBase` @param kwargs: See arguments of :class:`ComparisonBase`
Definition at line 592 of file validationcomparison.py.
|
protected |
Perform the actual test @return: None
Reimplemented from PvalueTest.
Definition at line 600 of file validationcomparison.py.
|
staticprotectedinherited |
Convert the content of a TEfficiency plot to a histogram and set the bin content and errors
Definition at line 313 of file validationcomparison.py.
|
protectedinherited |
Used to format the value of :attr:`_comparison_result`.
Reimplemented from ComparisonBase.
Definition at line 370 of file validationcomparison.py.
|
protected |
Used to format the value of :attr:`_comparison_result_long`.
Reimplemented from PvalueTest.
Definition at line 624 of file validationcomparison.py.
|
protectedinherited |
Check if both ROOT objects have the same amount of bins @return: True if the bins are equal, otherwise False
Definition at line 275 of file validationcomparison.py.
|
protectedinherited |
@return: True if the two objects have a) a type supported for
comparison and b) can be compared with each other
Definition at line 231 of file validationcomparison.py.
|
protectedinherited |
Raise Exception if not both ROOT objects have the same amount of bins @return: None
Definition at line 293 of file validationcomparison.py.
|
protectedinherited |
Raise Exception if not the two objects have a) a type supported for comparison and b) can be compared with each other @return: None
Definition at line 254 of file validationcomparison.py.
|
inherited |
@return: True if the two objects can be compared, False otherwise
Definition at line 225 of file validationcomparison.py.
|
inherited |
Comparison result, i.e. pass/warning/error
Definition at line 210 of file validationcomparison.py.
|
inherited |
Longer description of the comparison result
Definition at line 216 of file validationcomparison.py.
|
inherited |
Ensure all required quantities get computed and are cached inside the class
Definition at line 159 of file validationcomparison.py.
|
protectedinherited |
|
protectedinherited |
Longer description of the comparison result (e.g.
'performed Chi2 Test ... with chi2 = ...').
Definition at line 157 of file validationcomparison.py.
|
staticprotectedinherited |
Default pvalue below which an error is issued (unless supplied in metaoptions)
Definition at line 348 of file validationcomparison.py.
|
staticprotectedinherited |
Default pvalue below which a warning is issued (unless supplied in metaoptions)
Definition at line 344 of file validationcomparison.py.
|
protectedinherited |
pvalue
Definition at line 359 of file validationcomparison.py.
|
protectedinherited |
pvalue below which an error is issued
Definition at line 363 of file validationcomparison.py.
|
protectedinherited |
pvalue below which a warning is issued
Definition at line 361 of file validationcomparison.py.
|
inherited |
used to store, whether the quantities have already been compared
Definition at line 151 of file validationcomparison.py.
|
inherited |
enable debug?
Definition at line 148 of file validationcomparison.py.
|
inherited |
Definition at line 145 of file validationcomparison.py.
|
inherited |
store the first object to compare
Definition at line 137 of file validationcomparison.py.
|
inherited |
store the second object to compare
Definition at line 140 of file validationcomparison.py.