CMS 3D CMS Logo

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::degreesOfFreedom
float degreesOfFreedom() const
Definition: ChiSquared.cc:6
ChiSquared::value
float value() const
Definition: ChiSquared.cc:4
ChiSquared::probability
float probability() const
Definition: ChiSquared.cc:8
ChiSquared::theValue
float theValue
Definition: ChiSquared.h:29
ChiSquared
Definition: ChiSquared.h:19
ChiSquared::lnProbability
float lnProbability() const
Definition: ChiSquared.cc:10
value
Definition: value.py:1
ChiSquared::theNDF
float theNDF
Definition: ChiSquared.h:29
ChiSquared::ChiSquared
ChiSquared(float value, float ndf)
Definition: ChiSquared.h:21