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
PhysicsTools
Utilities
interface
Exponential.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_Utilities_Exponential_h
2
#define PhysicsTools_Utilities_Exponential_h
3
#include "
PhysicsTools/Utilities/interface/Parameter.h
"
4
5
#include <cmath>
6
7
namespace
funct
{
8
9
struct
Exponential
{
10
Exponential
(
const
Parameter
&
l
) :
lambda
(
l
.ptr()) {}
11
Exponential
(std::shared_ptr<double>
l
) :
lambda
(
l
) {}
12
Exponential
(
double
l
) :
lambda
(new double(
l
)) {}
13
double
operator()
(
double
x)
const
{
return
std::exp
((*
lambda
) *
x
); }
14
std::shared_ptr<double>
lambda
;
15
};
16
17
}
// namespace funct
18
19
#endif
funct
Definition:
Abs.h:5
funct::Exponential::Exponential
Exponential(const Parameter &l)
Definition:
Exponential.h:10
funct::Exponential
Definition:
Exponential.h:9
funct::Parameter
Definition:
Parameter.h:8
funct::Exponential::Exponential
Exponential(std::shared_ptr< double > l)
Definition:
Exponential.h:11
Parameter.h
funct::Exponential::lambda
std::shared_ptr< double > lambda
Definition:
Exponential.h:14
x
float x
Definition:
beamSpotDipStandalone.cc:55
JetChargeProducer_cfi.exp
exp
Definition:
JetChargeProducer_cfi.py:6
funct::Exponential::Exponential
Exponential(double l)
Definition:
Exponential.h:12
MainPageGenerator.l
l
Definition:
MainPageGenerator.py:429
funct::Exponential::operator()
double operator()(double x) const
Definition:
Exponential.h:13
Generated for CMSSW Reference Manual by
1.8.14