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