Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:06

0001 #include "CommonTools/Statistics/interface/ChiSquared.h"
0002 #include "CommonTools/Statistics/interface/ChiSquaredProbability.h"
0003 
0004 float ChiSquared::value() const { return theValue; }
0005 
0006 float ChiSquared::degreesOfFreedom() const { return theNDF; }
0007 
0008 float ChiSquared::probability() const { return ChiSquaredProbability(value(), degreesOfFreedom()); }
0009 
0010 float ChiSquared::lnProbability() const { return LnChiSquaredProbability(value(), degreesOfFreedom()); }