Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CommonTools
Statistics
src
ChiSquared.cc
Go to the documentation of this file.
1
#include "
CommonTools/Statistics/interface/ChiSquared.h
"
2
#include "
CommonTools/Statistics/interface/ChiSquaredProbability.h
"
3
4
5
float
ChiSquared::value
()
const
6
{
7
return
theValue
;
8
}
9
10
11
float
ChiSquared::degreesOfFreedom
()
const
12
{
13
return
theNDF
;
14
}
15
16
17
float
ChiSquared::probability
()
const
18
{
19
return
ChiSquaredProbability
(
value
(),
degreesOfFreedom
());
20
}
21
22
23
float
ChiSquared::lnProbability
()
const
24
{
25
return
LnChiSquaredProbability
(
value
(),
degreesOfFreedom
());
26
}
ChiSquared::lnProbability
float lnProbability() const
Definition:
ChiSquared.cc:23
ChiSquared::theNDF
float theNDF
Definition:
ChiSquared.h:33
LnChiSquaredProbability
float LnChiSquaredProbability(double chiSquared, double nrDOF)
Definition:
ChiSquaredProbability.cc:16
ChiSquared::degreesOfFreedom
float degreesOfFreedom() const
Definition:
ChiSquared.cc:11
ChiSquared::value
float value() const
Definition:
ChiSquared.cc:5
ChiSquaredProbability
float ChiSquaredProbability(double chiSquared, double nrDOF)
Definition:
ChiSquaredProbability.cc:13
ChiSquaredProbability.h
ChiSquared::probability
float probability() const
Definition:
ChiSquared.cc:17
ChiSquared::theValue
float theValue
Definition:
ChiSquared.h:33
ChiSquared.h
Generated for CMSSW Reference Manual by
1.8.5