Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
CommonTools
Statistics
src
ChiSquared.cc
Go to the documentation of this file.
1
#include "
CommonTools/Statistics/interface/ChiSquared.h
"
2
#include "
CommonTools/Statistics/interface/ChiSquaredProbability.h
"
3
4
float
ChiSquared::value
()
const
{
return
theValue
; }
5
6
float
ChiSquared::degreesOfFreedom
()
const
{
return
theNDF
; }
7
8
float
ChiSquared::probability
()
const
{
return
ChiSquaredProbability
(
value
(),
degreesOfFreedom
()); }
9
10
float
ChiSquared::lnProbability
()
const
{
return
LnChiSquaredProbability
(
value
(),
degreesOfFreedom
()); }
ChiSquared::theNDF
float theNDF
Definition:
ChiSquared.h:29
ChiSquared::lnProbability
float lnProbability() const
Definition:
ChiSquared.cc:10
LnChiSquaredProbability
float LnChiSquaredProbability(double chiSquared, double nrDOF)
Definition:
ChiSquaredProbability.cc:17
ChiSquared::value
float value() const
Definition:
ChiSquared.cc:4
ChiSquaredProbability
float ChiSquaredProbability(double chiSquared, double nrDOF)
Definition:
ChiSquaredProbability.cc:13
ChiSquaredProbability.h
ChiSquared::degreesOfFreedom
float degreesOfFreedom() const
Definition:
ChiSquared.cc:6
ChiSquared::probability
float probability() const
Definition:
ChiSquared.cc:8
ChiSquared::theValue
float theValue
Definition:
ChiSquared.h:29
ChiSquared.h
Generated for CMSSW Reference Manual by
1.8.14