Jpp  17.3.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JTestResult.hh
Go to the documentation of this file.
1 #ifndef __JCOMPAREHISTOGRAMS__JTESTRESULT_T__
2 #define __JCOMPAREHISTOGRAMS__JTESTRESULT_T__
3 
4 #include <string>
5 
7 
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 
23 
24  /**
25  * Structure containing the result of the test.
26  */
27  struct JTestResult :
28  public JTestSummary
29  {
30  /**
31  * Default constructor.
32  */
34  JTestSummary(),
35  obj(NULL)
36  {}
37 
38 
39  /**
40  * Constructor.
41  *
42  * \param summary summary
43  * \param object graphical test output
44  */
45  JTestResult(const JTestSummary& summary,
46  const TObject* object) :
47  JTestSummary(summary),
48  obj (object)
49  {}
50 
51 
52  /**
53  * Constructor.
54  *
55  * \param test test name
56  * \param hA histogram A
57  * \param hB histogram B
58  * \param name parameter name
59  * \param value parameter value
60  * \param threshold parameter threshold
61  * \param object graphical test output
62  * \param pass true if test is passed; else false
63  */
64  JTestResult(const std::string& test,
65  const JRootObjectID& hA,
66  const JRootObjectID& hB,
67  const std::string& name,
68  const double value,
69  const double threshold,
70  const TObject* object,
71  const bool pass) :
72  JTestSummary(test, hA, hB, name, value, threshold, pass),
73  obj (object)
74  {}
75 
76  const TObject* obj; /*!< Graphical output summarising the test. */
77  };
78 }
79 
80 #endif
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:64
then echo Enter input within $TIMEOUT_S seconds echo n User name
Definition: JCookie.sh:42
Definition: JRoot.hh:19
Auxiliary class to handle file name, ROOT directory and object name.
JTestResult(const JTestSummary &summary, const TObject *object)
Constructor.
Definition: JTestResult.hh:45
then awk string
Class dedicated to standardize the title of the graphical objects produced by the JTest_t() derived c...
Definition: JTestSummary.hh:33
Structure containing the result of the test.
Definition: JTestResult.hh:27
JTestResult()
Default constructor.
Definition: JTestResult.hh:33