CommonTools
Statistics
interface
ChiSquared.h
Go to the documentation of this file.
1
#ifndef ChiSquared_H
2
#define ChiSquared_H
3
19
class
ChiSquared
{
20
public
:
21
ChiSquared
(
float
value
,
float
ndf) :
theValue
(
value
),
theNDF
(ndf) {}
22
23
float
value
()
const
;
24
float
degreesOfFreedom
()
const
;
25
float
probability
()
const
;
26
float
lnProbability
()
const
;
27
28
private
:
29
float
theValue
,
theNDF
;
30
};
31
32
#endif
ChiSquared::theNDF
float theNDF
Definition:
ChiSquared.h:29
ChiSquared::lnProbability
float lnProbability() const
Definition:
ChiSquared.cc:10
ChiSquared::ChiSquared
ChiSquared(float value, float ndf)
Definition:
ChiSquared.h:21
ChiSquared::value
float value() const
Definition:
ChiSquared.cc:4
value
Definition:
value.py:1
ChiSquared::degreesOfFreedom
float degreesOfFreedom() const
Definition:
ChiSquared.cc:6
ChiSquared::probability
float probability() const
Definition:
ChiSquared.cc:8
ChiSquared
Definition:
ChiSquared.h:19
ChiSquared::theValue
float theValue
Definition:
ChiSquared.h:29
Generated for CMSSW Reference Manual by
1.8.14