test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ChiSquared.h
Go to the documentation of this file.
1 #ifndef ChiSquared_H
2 #define ChiSquared_H
3 
4 
20 class ChiSquared {
21 
22 public:
23 
24  ChiSquared(float value, float ndf) : theValue(value), theNDF(ndf) {}
25 
26  float value() const;
27  float degreesOfFreedom() const;
28  float probability() const;
29  float lnProbability() const;
30 
31 private:
32 
33  float theValue, theNDF;
34 
35 };
36 
37 #endif
float lnProbability() const
Definition: ChiSquared.cc:23
float theNDF
Definition: ChiSquared.h:33
float degreesOfFreedom() const
Definition: ChiSquared.cc:11
ChiSquared(float value, float ndf)
Definition: ChiSquared.h:24
float value() const
Definition: ChiSquared.cc:5
float probability() const
Definition: ChiSquared.cc:17
float theValue
Definition: ChiSquared.h:33