Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
JTestDictionary.hh
Go to the documentation of this file.
1#ifndef __JCOMPAREHISTOGRAMS__JTESTDICTIONARY__
2#define __JCOMPAREHISTOGRAMS__JTESTDICTIONARY__
3
4#include <istream>
5#include <ostream>
6
21
22
23/**
24 * \author rgruiz, bjung
25 */
26namespace JCOMPAREHISTOGRAMS {}
27namespace JPP { using namespace JCOMPAREHISTOGRAMS; }
28
29namespace JCOMPAREHISTOGRAMS {
30
31 /**
32 * Dictionary to map different tests to unique integer indices.\n
33 * The mapping between the available tests and the integer indices is as follows\n\n
34 *
35 * 0 : JTestChi2()\n
36 * 1 : JTestChi2_Bin()\n
37 * 2 : JTestChi2_Slice2D()\n
38 * 3 : JTestKolmogorov_1D()\n
39 * 4 : JTestKolmogorov_2D()\n
40 * 5 : JTestKolmogorov_Slice2D()\n
41 * 6 : JTestRuns_1D()\n
42 * 7 : JTestRuns_Slice2D()\n
43 * 8 : JTestZero()\n
44 * 9 : JTestIdentical()\n
45 * 10 : JTestSignificance()\n
46 * 11 : JTestPoissonLogLikelihoodRatio()\n
47 * 12 : JTestPoissonLogLikelihoodRatioBeestonBarlow()\n\n
48 *
49 * The tests listed above are derived from the pure virtual interface JTest_t(), where the common I/O functionality is defined.
50 */
52 public std::map<int , JTest_t*>
53 {
54 public:
55 /**
56 * Default constructor.
57 */
59 (*this)[0] = new JTestChi2();
60 (*this)[1] = new JTestChi2_Bin();
61 (*this)[2] = new JTestChi2_Slice2D();
62 (*this)[3] = new JTestKolmogorov_1D();
63 (*this)[4] = new JTestKolmogorov_2D();
64 (*this)[5] = new JTestKolmogorov_Slice2D();
65 (*this)[6] = new JTestRuns_1D();
66 (*this)[7] = new JTestRuns_Slice2D();
67 (*this)[8] = new JTestZero();
68 (*this)[9] = new JTestIdentical();
69 (*this)[10] = new JTestSignificance();
70 (*this)[11] = new JTestPoissonLogLikelihoodRatio();
72 }
73 };
74}
75
76#endif
Implementation of a bin-by-bin Chi2 test for 2D histograms.
Implementation of the Chi2 test for 2D histograms.
Implementation of the Chi2 test for ROOT histograms.
Definition JTestChi2.hh:29
Dictionary to map different tests to unique integer indices.
Implementation of the a test to check if two 1D histograms are the same.
Implementation of the Kolmogorov test for 1D histograms.
Implementation of the Kolmogorov test for 2D histograms.
Implementation of the Kolmogorov test for 2D histograms.
Implementation of the Poisson log-likelihood ratio test.
Implementation of the Runs test for 1D histograms.
Implementation of the Chi2 test for 2D histograms.
Implementation of a bin-by-bin compatibility test for histograms with low bin contents.
Definition JTestZero.hh:46
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).