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
PhysicsTools
Utilities
interface
RootVarsAdapter.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_Utilities_RootVarsAdapter_h
2
#define PhysicsTools_Utilities_RootVarsAdapter_h
3
4
namespace
root
{
5
namespace
helper
{
6
7
template
<
typename
F,
unsigned
int
args>
8
struct
RootVarsAdapter
{};
9
10
template
<
typename
F>
11
struct
RootVarsAdapter
<
F
, 1> {
12
static
double
value
(
F
&
f
,
const
double
*
var
) {
return
f
(
var
[0]); }
13
};
14
15
template
<
typename
F>
16
struct
RootVarsAdapter
<
F
, 2> {
17
static
double
value
(
F
&
f
,
const
double
*
var
) {
return
f
(
var
[0],
var
[1]); }
18
};
19
}
// namespace helper
20
}
// namespace root
21
22
#endif
helper
Definition:
helper.py:1
trigObjTnPSource_cfi.var
var
Definition:
trigObjTnPSource_cfi.py:21
root::helper::RootVarsAdapter< F, 2 >::value
static double value(F &f, const double *var)
Definition:
RootVarsAdapter.h:17
f
double f[11][100]
Definition:
MuScleFitUtils.cc:78
root::helper::RootVarsAdapter< F, 1 >::value
static double value(F &f, const double *var)
Definition:
RootVarsAdapter.h:12
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition:
blowfish.cc:163
root::helper::RootVarsAdapter
Definition:
RootVarsAdapter.h:8
root
Definition:
RooFitFunction.h:10
Generated for CMSSW Reference Manual by
1.8.14