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
Utils
src
CutBinaryOperatorSetter.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_CutBinaryOperatorSetter_h
2
#define CommonTools_Utils_CutBinaryOperatorSetter_h
3
/* \class reco::parser::CutBinaryOperator
4
*
5
* Binary operator expression setter
6
*
7
* \author original version: Chris Jones, Cornell,
8
* adapted by Luca Lista, INFN
9
*
10
* \version $Revision: 1.2 $
11
*
12
*/
13
#include "
CommonTools/Utils/src/CutBinaryOperator.h
"
14
#include "CommonTools/Utils/src/CutStack.h"
15
#include <cmath>
16
17
namespace
reco
{
18
namespace
parser
{
19
20
template
<
typename
T>
21
struct
power_of
{
22
T
operator()
(
T
lhs,
T
rhs)
const
{
return
pow
(lhs, rhs); }
23
};
24
25
template
<
typename
Op>
26
struct
CutBinaryOperatorSetter
{
27
CutBinaryOperatorSetter
(CutStack &
stack
) :
stack_
(
stack
) { }
28
void
operator()
(
const
char
*,
const
char
*)
const
{
29
stack_
.push_back(CutPtr(
new
CutBinaryOperator<Op>
(
stack_
)));
30
}
31
private
:
32
CutStack &
stack_
;
33
};
34
}
35
}
36
37
#endif
reco::parser::power_of
Definition:
CutBinaryOperatorSetter.h:21
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
CutBinaryOperator.h
svgfig.stack
stack
Definition:
svgfig.py:559
reco::parser::CutBinaryOperatorSetter::CutBinaryOperatorSetter
CutBinaryOperatorSetter(CutStack &stack)
Definition:
CutBinaryOperatorSetter.h:27
reco::parser::CutBinaryOperatorSetter::operator()
void operator()(const char *, const char *) const
Definition:
CutBinaryOperatorSetter.h:28
reco::parser::CutBinaryOperatorSetter
Definition:
CutBinaryOperatorSetter.h:26
reco::parser::CutBinaryOperatorSetter::stack_
CutStack & stack_
Definition:
CutBinaryOperatorSetter.h:32
reco::parser::power_of::operator()
T operator()(T lhs, T rhs) const
Definition:
CutBinaryOperatorSetter.h:22
T
long double T
Definition:
Basic3DVectorLD.h:48
reco::parser::CutBinaryOperator
Definition:
CutBinaryOperator.h:19
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition:
Power.h:29
Generated for CMSSW Reference Manual by
1.8.16