Jpp  18.5.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
JCOMPAREHISTOGRAMS::JTestResult Struct Reference

Structure containing the result of the test. More...

#include <JTestResult.hh>

Inheritance diagram for JCOMPAREHISTOGRAMS::JTestResult:
JCOMPAREHISTOGRAMS::JTestSummary

Public Member Functions

 JTestResult ()
 Default constructor. More...
 
 JTestResult (const JTestSummary &summary, const TObject *object)
 Constructor. More...
 
 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. More...
 
JProperties getProperties (const JEquationParameters &equation=JTestSummary::getEquationParameters())
 Get properties of this class. More...
 
JProperties getProperties (const JEquationParameters &equation=JTestSummary::getEquationParameters()) const
 Get properties of this class. More...
 

Static Public Member Functions

static JEquationParametersgetEquationParameters ()
 Get equation parameters. More...
 
static void setEquationParameters (const JEquationParameters &equation)
 Set equation parameters. More...
 

Public Attributes

const TObjectobj
 
std::string testName
 
JRootObjectID histogramA
 
JRootObjectID histogramB
 
std::string parameterName
 
double parameterValue
 
double parameterThreshold
 
bool passed
 
std::string passed_h
 

Detailed Description

Structure containing the result of the test.

Definition at line 28 of file JTestResult.hh.

Constructor & Destructor Documentation

JCOMPAREHISTOGRAMS::JTestResult::JTestResult ( )
inline

Default constructor.

Definition at line 34 of file JTestResult.hh.

34  :
35  JTestSummary(),
36  obj(NULL)
37  {}
JTestSummary()
Default constructor.
Definition: JTestSummary.hh:40
JCOMPAREHISTOGRAMS::JTestResult::JTestResult ( const JTestSummary summary,
const TObject object 
)
inline

Constructor.

Parameters
summarysummary
objectgraphical test output

Definition at line 46 of file JTestResult.hh.

47  :
48  JTestSummary(summary),
49  obj (object)
50  {}
JTestSummary()
Default constructor.
Definition: JTestSummary.hh:40
JCOMPAREHISTOGRAMS::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 
)
inline

Constructor.

Parameters
testtest name
hAhistogram A
hBhistogram B
nameparameter name
valueparameter value
thresholdparameter threshold
objectgraphical test output
passtrue if test is passed; else false

Definition at line 65 of file JTestResult.hh.

72  :
73  JTestSummary(test, hA, hB, name, value, threshold, pass),
74  obj (object)
75  {}
then echo Enter input within $TIMEOUT_S seconds echo n User name
Definition: JCookie.sh:42
JTestSummary()
Default constructor.
Definition: JTestSummary.hh:40

Member Function Documentation

static JEquationParameters& JCOMPAREHISTOGRAMS::JTestSummary::getEquationParameters ( )
inlinestaticinherited

Get equation parameters.

Returns
equation parameters

Definition at line 86 of file JTestSummary.hh.

87  {
88  static JEquationParameters equation("=", "; ", "", "#");
89 
90  return equation;
91  }
Simple data structure to support I/O of equations (see class JLANG::JEquation).
static void JCOMPAREHISTOGRAMS::JTestSummary::setEquationParameters ( const JEquationParameters equation)
inlinestaticinherited

Set equation parameters.

Parameters
equationequation parameters

Definition at line 99 of file JTestSummary.hh.

100  {
101  getEquationParameters() = equation;
102  }
static JEquationParameters & getEquationParameters()
Get equation parameters.
Definition: JTestSummary.hh:86
JProperties JCOMPAREHISTOGRAMS::JTestSummary::getProperties ( const JEquationParameters equation = JTestSummary::getEquationParameters())
inlineinherited

Get properties of this class.

Parameters
equationequation parameters

Definition at line 110 of file JTestSummary.hh.

111  {
112  return JTestSummaryHelper(*this, equation);
113  }
JProperties JCOMPAREHISTOGRAMS::JTestSummary::getProperties ( const JEquationParameters equation = JTestSummary::getEquationParameters()) const
inlineinherited

Get properties of this class.

Parameters
equationequation parameters

Definition at line 121 of file JTestSummary.hh.

122  {
123  return JTestSummaryHelper(*this, equation);
124  }

Member Data Documentation

const TObject* JCOMPAREHISTOGRAMS::JTestResult::obj

Graphical output summarising the test.

Definition at line 78 of file JTestResult.hh.

std::string JCOMPAREHISTOGRAMS::JTestSummary::testName
inherited

Test name.

Definition at line 175 of file JTestSummary.hh.

JRootObjectID JCOMPAREHISTOGRAMS::JTestSummary::histogramA
inherited

First histogram.

Definition at line 176 of file JTestSummary.hh.

JRootObjectID JCOMPAREHISTOGRAMS::JTestSummary::histogramB
inherited

Second histogram.

Definition at line 177 of file JTestSummary.hh.

std::string JCOMPAREHISTOGRAMS::JTestSummary::parameterName
inherited

Parameter evaluated by the test.

Definition at line 178 of file JTestSummary.hh.

double JCOMPAREHISTOGRAMS::JTestSummary::parameterValue
inherited

Value of the parameter evaluated by the test.

Definition at line 179 of file JTestSummary.hh.

double JCOMPAREHISTOGRAMS::JTestSummary::parameterThreshold
inherited

Threshold to evaluate the parameter.

Definition at line 180 of file JTestSummary.hh.

bool JCOMPAREHISTOGRAMS::JTestSummary::passed
inherited

True if the test passed.

Definition at line 181 of file JTestSummary.hh.

std::string JCOMPAREHISTOGRAMS::JTestSummary::passed_h
inherited

Human readable version of passed.

Definition at line 182 of file JTestSummary.hh.


The documentation for this struct was generated from the following file: