Jpp 20.0.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JTestRuns_Slice2D.hh
Go to the documentation of this file.
1#ifndef __JCOMPAREHISTOGRAMS__JTESTRUNS_SLICE2D__
2#define __JCOMPAREHISTOGRAMS__JTESTRUNS_SLICE2D__
3
4#include <iostream>
5
6#include "TH1.h"
7#include "TH2.h"
8
9#include "JLang/JException.hh"
10
14
15
16/**
17 * \author rgruiz, bjung
18 */
19namespace JCOMPAREHISTOGRAMS {}
20namespace JPP { using namespace JCOMPAREHISTOGRAMS; }
21
22namespace JCOMPAREHISTOGRAMS {
23
24 /**
25 * Implementation of the Wald-Wolfowitz runs test for 2D histograms.\n
26 * This class is derived from the abstract class JTest_t(). For a general description of the implementation of this and other tests derived from JTest_t(), see its documentation.\n
27 * The parameter `slice` can have the values x, X, y or Y. The histograms are sliced along the corresponding axis, and the runs test is applied to each slice.\n
28 * This test uses the input parameter `threshold` to evaluate whether the test is passed or failed for each slice.\n
29 * The evaluation is done by comparing the threshold value with the result of the runs test.\n
30 * The results for each slice are stored in the results buffer (see JTest_t())
31 */
33 public JTestSlice2D
34 {
35 public:
36
37 /**
38 * Default constructor.
39 */
41 JTestSlice2D("Runs_2D", "#sigma", new JTestRuns_1D())
42 {}
43 };
44}
45
46#endif
Exceptions.
Implementation of the Wald-Wolfowitz runs test for 1D histograms.
Implementation of the Wald-Wolfowitz runs test for 2D histograms.
Abstract base class for 2D slice tests.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).