Jpp
test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
software
JCompareHistograms
JTestResult.hh
Go to the documentation of this file.
1
#ifndef __JCOMPAREHISTOGRAMS__JTESTRESULT__
2
#define __JCOMPAREHISTOGRAMS__JTESTRESULT__
3
4
#include <string>
5
6
#include "
JGizmo/JRootObjectID.hh
"
7
8
#include "
JCompareHistograms/JTestSummary.hh
"
9
10
#include "TObject.h"
11
12
13
/**
14
* \author rgruiz, bjung
15
*/
16
17
namespace
JCOMPAREHISTOGRAMS
{}
18
namespace
JPP
{
using namespace
JCOMPAREHISTOGRAMS
; }
19
20
namespace
JCOMPAREHISTOGRAMS
{
21
22
using
JGIZMO::JRootObjectID
;
23
24
25
/**
26
* Structure containing the result of the test.
27
*/
28
struct
JTestResult
:
29
public
JTestSummary
30
{
31
/**
32
* Default constructor.
33
*/
34
JTestResult
() :
35
JTestSummary
(),
36
obj
(NULL)
37
{}
38
39
40
/**
41
* Constructor.
42
*
43
* \param summary summary
44
* \param object graphical test output
45
*/
46
JTestResult
(
const
JTestSummary
& summary,
47
const
TObject
*
object
) :
48
JTestSummary
(summary),
49
obj
(object)
50
{}
51
52
53
/**
54
* Constructor.
55
*
56
* \param test test name
57
* \param hA histogram A
58
* \param hB histogram B
59
* \param name parameter name
60
* \param value parameter value
61
* \param threshold parameter threshold
62
* \param object graphical test output
63
* \param pass true if test is passed; else false
64
*/
65
JTestResult
(
const
std::string& test,
66
const
JRootObjectID
& hA,
67
const
JRootObjectID
& hB,
68
const
std::string& name,
69
const
double
value,
70
const
double
threshold,
71
const
TObject
*
object
,
72
const
bool
pass) :
73
JTestSummary
(test, hA, hB, name, value, threshold, pass),
74
obj
(object)
75
{}
76
77
78
const
TObject
*
obj
;
/*!< Graphical output summarising the test. */
79
};
80
}
81
82
#endif
JRootObjectID.hh
JTestSummary.hh
JCOMPAREHISTOGRAMS::JTestSummary
Class dedicated to standardize the title of the graphical objects produced by the JTest_t() derived c...
Definition
JTestSummary.hh:35
JGIZMO::JRootObjectID
Auxiliary class to handle file name, ROOT directory and object name.
Definition
JRootObjectID.hh:37
JCOMPAREHISTOGRAMS
Definition
JResultTitle.hh:14
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition
JAAnetToolkit.hh:43
JCOMPAREHISTOGRAMS::JTestResult
Structure containing the result of the test.
Definition
JTestResult.hh:30
JCOMPAREHISTOGRAMS::JTestResult::JTestResult
JTestResult(const JTestSummary &summary, const TObject *object)
Constructor.
Definition
JTestResult.hh:46
JCOMPAREHISTOGRAMS::JTestResult::obj
const TObject * obj
Definition
JTestResult.hh:78
JCOMPAREHISTOGRAMS::JTestResult::JTestResult
JTestResult(const std::string &test, const JRootObjectID &hA, const JRootObjectID &hB, const std::string &name, const double value, const double threshold, const TObject *object, const bool pass)
Constructor.
Definition
JTestResult.hh:65
JCOMPAREHISTOGRAMS::JTestResult::JTestResult
JTestResult()
Default constructor.
Definition
JTestResult.hh:34
TObject
Definition
JROOT_t.hh:19
Generated by
1.12.0