CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 lnProbability() const
Definition: ChiSquared.cc:10
float theNDF
Definition: ChiSquared.h:29
float degreesOfFreedom() const
Definition: ChiSquared.cc:6
ChiSquared(float value, float ndf)
Definition: ChiSquared.h:21
float value() const
Definition: ChiSquared.cc:4
float probability() const
Definition: ChiSquared.cc:8
float theValue
Definition: ChiSquared.h:29