1 #ifndef __JCOMPAREHISTOGRAMS__JTESTRUNS_2D__ 
    2 #define __JCOMPAREHISTOGRAMS__JTESTRUNS_2D__ 
   16 namespace JCOMPAREHISTOGRAMS {
 
   43     std::istream& 
read(std::istream& 
in)
 override{
 
   47       if (!(slice == 
'x' || slice == 
'X' || slice == 
'y' || slice == 
'Y')) {
 
   69       if (!(dynamic_cast<TH2*>(o1) == NULL) && !(dynamic_cast<TH2*>(o2) == NULL)) {
 
   71         TH2D* h1 = 
dynamic_cast<TH2D*
>(o1);
 
   72         TH2D* h2 = 
dynamic_cast<TH2D*
>(o2);
 
   78       } 
else if (!(dynamic_cast<TH1*>(o1) == NULL) && !(dynamic_cast<TH1*>(o2) == NULL)) {
 
Interface to read input and write output for TObject tests. 
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
std::vector< JTestResult > results
Buffer to store results of multiple tests.*/. 
 
std::istream & read(std::istream &in) override
Read test parameters from input. 
 
const std::string resultType
result type 
 
double threshold
threshold value to decide if test is passed. 
 
const std::string testName
test name 
 
Implementation of the different Runs-related tests. 
 
Structure containing the result of the test. 
 
Exception for accessing a value in a collection that is outside of its range. 
 
double failuresThreshold
threshold value to decide if test is passed. 
 
JTestResult JRunsTestSlice(TH2 *h1, TH2 *h2, double threshold, double failuresThreshold, std::string testName, std::string parameterName, char slice)
Runs test for sliced 2D histograms. 
 
char slice
Axis to slice. x or X for x-axis, y or Y for y-axis, n or N for None. 
 
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
 
Implementation of the Chi2 test for 2D histograms. 
 
void test(TObject *o1, TObject *o2) override
Tests the statistical compatibility of two ROOT TObjects.