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
ComparisonSetter.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_ComparisonSetter_h
2
#define CommonTools_Utils_ComparisonSetter_h
3
/* \class reco::parser::ComparisonSetter
4
*
5
* Comparison 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/ComparisonStack.h
"
14
#include "
CommonTools/Utils/src/Comparison.h
"
15
#ifdef BOOST_SPIRIT_DEBUG
16
#include <iostream>
17
#include <string>
18
#endif
19
#include <memory>
20
21
namespace
reco
{
22
namespace
parser
{
23
#ifdef BOOST_SPIRIT_DEBUG
24
template
<
typename
Op>
25
struct
cmp_out {
26
static
const
std::string
value
;
27
};
28
#endif
29
30
template
<
class
CompT>
31
struct
ComparisonSetter
{
32
ComparisonSetter
(
ComparisonStack
&
stack
) :
stack_
(
stack
) {}
33
void
operator()
(
const
char
)
const
{
34
#ifdef BOOST_SPIRIT_DEBUG
35
BOOST_SPIRIT_DEBUG_OUT <<
"pushing comparison: "
<<
cmp_out<CompT>::value
<< std::endl;
36
#endif
37
stack_
.push_back(std::shared_ptr<ComparisonBase>(
new
Comparison<CompT>
()));
38
}
39
40
private
:
41
ComparisonStack
&
stack_
;
42
};
43
}
// namespace parser
44
}
// namespace reco
45
46
#endif
reco::parser::ComparisonSetter::ComparisonSetter
ComparisonSetter(ComparisonStack &stack)
Definition:
ComparisonSetter.h:32
reco::parser::ComparisonSetter::stack_
ComparisonStack & stack_
Definition:
ComparisonSetter.h:41
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
svgfig.stack
stack
Definition:
svgfig.py:559
ComparisonStack.h
reco::parser::Comparison
Definition:
Comparison.h:18
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
reco::parser::ComparisonStack
std::vector< std::shared_ptr< ComparisonBase > > ComparisonStack
Definition:
ComparisonStack.h:19
Comparison.h
reco::parser::ComparisonSetter
Definition:
ComparisonSetter.h:31
reco::parser::ComparisonSetter::operator()
void operator()(const char) const
Definition:
ComparisonSetter.h:33
Generated for CMSSW Reference Manual by
1.8.16