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
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
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
CommonTools
Statistics
src
ChiSquaredProbability.cc
Go to the documentation of this file.
1
#ifndef ChiSquaredProbability_H
2
#define ChiSquaredProbability_H
3
4
#include "
CommonTools/Statistics/src/IncompleteGammaComplement.h
"
5
#include "
CommonTools/Statistics/interface/ChiSquaredProbability.h
"
6
13
float
ChiSquaredProbability
(
double
chiSquared,
double
nrDOF) {
14
return
IncompleteGammaComplement::value
(nrDOF / 2, chiSquared / 2);
15
}
16
17
float
LnChiSquaredProbability
(
double
chiSquared,
double
nrDOF) {
18
return
IncompleteGammaComplement::ln
(nrDOF / 2, chiSquared / 2);
19
}
20
21
#endif
IncompleteGammaComplement::value
static float value(float a, float x)
Definition:
IncompleteGammaComplement.cc:11
LnChiSquaredProbability
float LnChiSquaredProbability(double chiSquared, double nrDOF)
Definition:
ChiSquaredProbability.cc:17
ChiSquaredProbability
float ChiSquaredProbability(double chiSquared, double nrDOF)
Definition:
ChiSquaredProbability.cc:13
ChiSquaredProbability.h
IncompleteGammaComplement.h
IncompleteGammaComplement::ln
static float ln(float a, float x)
Definition:
IncompleteGammaComplement.cc:22
Generated for CMSSW Reference Manual by
1.8.16