39 std::istream&
read(std::istream&
in) {
40 return in >> outliersThreshold >> threshold;
49 std::ostream&
write(std::ostream& out) {
51 out << scientific << setprecision(2) << (
r->passed ?
GREEN :
RED) <<
r->message << endl;
64 if (!(dynamic_cast<TH2*>(o1) == NULL) && !(dynamic_cast<TH2*>(o2) == NULL)) {
66 TH2D*
h1 =
dynamic_cast<TH2D*
>(o1);
67 TH2D* h2 =
dynamic_cast<TH2D*
>(o2);
69 JTestResult r = JTestZero_2D(h1, h2, outliersThreshold, threshold);
84 if (f -> GetDirectory(path.c_str())==0) f->mkdir(path.c_str());
double outliersThreshold
Fraction of bins allowed to fail.
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
then for HISTOGRAM in h0 h1
virtual void save(TFile *f, string path)
double threshold
threshold p-value to decide if test is passed.
do cat driver txt<< EOFevent ev_configure{RC_EVT%< ev_configure.txt > RC_DWRT path
std::istream & read(std::istream &in)
void test(TObject *o1, TObject *o2)
std::ostream & write(std::ostream &out)
Auxiliary class to define a range between two values.