test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
HLTcore
interface
TriggerExpressionConstant.h
Go to the documentation of this file.
1
#ifndef HLTrigger_HLTfilters_TriggerExpressionConstant_h
2
#define HLTrigger_HLTfilters_TriggerExpressionConstant_h
3
4
#include "
HLTrigger/HLTcore/interface/TriggerExpressionEvaluator.h
"
5
6
namespace
triggerExpression {
7
8
class
Data
;
9
10
class
Constant
:
public
Evaluator
{
11
public
:
12
Constant
(
bool
value
) :
13
m_value
(value)
14
{ }
15
16
bool
operator()
(
const
Data
&
data
)
const
{
17
return
m_value
;
18
}
19
20
void
init
(
const
Data
&
data
) {
21
}
22
23
void
dump
(std::ostream &
out
)
const
{
24
out << (
m_value
?
"TRUE"
:
"FALSE"
);
25
}
26
27
private
:
28
bool
m_value
;
29
};
30
31
}
// namespace triggerExpression
32
33
#endif // HLTrigger_HLTfilters_TriggerExpressionConstant_h
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
triggerExpression::Constant::Constant
Constant(bool value)
Definition:
TriggerExpressionConstant.h:12
triggerExpression::Constant::operator()
bool operator()(const Data &data) const
Definition:
TriggerExpressionConstant.h:16
triggerExpression::Constant::init
void init(const Data &data)
Definition:
TriggerExpressionConstant.h:20
triggerExpression::Constant
Definition:
TriggerExpressionConstant.h:10
TriggerExpressionEvaluator.h
dbtoconf.out
tuple out
Definition:
dbtoconf.py:99
triggerExpression::Constant::dump
void dump(std::ostream &out) const
Definition:
TriggerExpressionConstant.h:23
triggerExpression::Data
Definition:
TriggerExpressionData.h:23
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
triggerExpression::Constant::m_value
bool m_value
Definition:
TriggerExpressionConstant.h:28
triggerExpression::Evaluator
Definition:
TriggerExpressionEvaluator.h:10
Generated for CMSSW Reference Manual by
1.8.5