Main Page
Namespaces
Classes
Package Documentation
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
float
ChiSquared::value
()
const
{
return
theValue
; }
5
6
float
ChiSquared::degreesOfFreedom
()
const
{
return
theNDF
; }
7
8
float
ChiSquared::probability
()
const
{
return
ChiSquaredProbability
(
value
(),
degreesOfFreedom
()); }
9
10
float
ChiSquared::lnProbability
()
const
{
return
LnChiSquaredProbability
(
value
(),
degreesOfFreedom
()); }
ChiSquared::lnProbability
float lnProbability() const
Definition:
ChiSquared.cc:10
ChiSquared::theNDF
float theNDF
Definition:
ChiSquared.h:29
LnChiSquaredProbability
float LnChiSquaredProbability(double chiSquared, double nrDOF)
Definition:
ChiSquaredProbability.cc:17
ChiSquared::degreesOfFreedom
float degreesOfFreedom() const
Definition:
ChiSquared.cc:6
ChiSquared::value
float value() const
Definition:
ChiSquared.cc:4
ChiSquaredProbability
float ChiSquaredProbability(double chiSquared, double nrDOF)
Definition:
ChiSquaredProbability.cc:13
ChiSquaredProbability.h
ChiSquared::probability
float probability() const
Definition:
ChiSquared.cc:8
ChiSquared::theValue
float theValue
Definition:
ChiSquared.h:29
ChiSquared.h
Generated for CMSSW Reference Manual by
1.8.11