|
Jpp
pmt_effective_area_update_2
the software that should make you happy
|
#include <JTestSignificance_t.hh>
Public Member Functions | |
| JTestSignificance_t () | |
| Default constructor. More... | |
| template<class T > | |
| JTestResult | JSignificanceTest (T *h1, T *h2, double threshold, double K, std::string testName, std::string parameterName) |
| Significance test for histograms. More... | |
Compares two histograms
and
by calculating the average bin significance
where:
is the number of bins in
and
.
and
are the contents of bin
in
and
.
is a normalisation parameter. It should be interpreted as the integral of
divided by the integral of 
is calculated assuming that the bin contents follow Poisson distributions.A threshold value for
is used to tag the test as passed or failed.
Definition at line 29 of file JTestSignificance_t.hh.
|
inline |
|
inline |
Significance test for histograms.
| h1 | First object |
| h2 | Second object |
| threshold | |
| K | Normalisation parameter |
| parameterName | Name of the parameter used to test the histograms |
| testName | Name of the test used to compare the histograms |
Definition at line 51 of file JTestSignificance_t.hh.
1.8.5