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
DataFormats
Math
interface
approx_erf.h
Go to the documentation of this file.
1
#ifndef APPROX_ERF_H
2
#define APPROX_ERF_H
3
#include "
DataFormats/Math/interface/approx_exp.h
"
4
5
constexpr
float
approx_erf
(
float
x
) {
6
auto
xx
=
std::min
(
std::abs
(
x
), 5.
f
);
7
xx
*=
xx
;
8
return
std::copysign(
std::sqrt
(1.
f
- unsafe_expf<4>(-
xx
* (1.
f
+ 0.2733
f
/ (1.
f
+ 0.147
f
*
xx
)))),
x
);
9
// return std::sqrt(1.f- std::exp(-x*x*(1.f+0.2733f/(1.f+0.147f*x*x)) ));
10
}
11
12
#endif
f
double f[11][100]
Definition:
MuScleFitUtils.cc:78
min
T min(T a, T b)
Definition:
MathUtil.h:58
mathSSE::sqrt
T sqrt(T t)
Definition:
SSEVec.h:19
approx_erf
constexpr float approx_erf(float x)
Definition:
approx_erf.h:5
genVertex_cff.x
x
Definition:
genVertex_cff.py:13
funct::abs
Abs< T >::type abs(const T &t)
Definition:
Abs.h:22
approx_exp.h
geometryCSVtoXML.xx
xx
Definition:
geometryCSVtoXML.py:19
Generated for CMSSW Reference Manual by
1.8.16