src
HLTrigger
HLTcore
interface
TriggerExpressionConstant.h
Go to the documentation of this file.
1
#ifndef HLTrigger_HLTcore_TriggerExpressionConstant_h
2
#define HLTrigger_HLTcore_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
) :
m_value
(
value
) {}
13
14
bool
operator()
(
const
Data
&
data
)
const override
{
return
m_value
; }
15
16
void
dump
(std::ostream&
out
,
bool
const
ignoreMasks =
false
)
const override
{
out
<< (
m_value
?
"TRUE"
:
"FALSE"
); }
17
18
private
:
19
bool
m_value
;
20
};
21
22
}
// namespace triggerExpression
23
24
#endif // HLTrigger_HLTcore_TriggerExpressionConstant_h
triggerExpression::Constant::Constant
Constant(bool value)
Definition:
TriggerExpressionConstant.h:12
triggerExpression::Constant
Definition:
TriggerExpressionConstant.h:10
value
Definition:
value.py:1
TriggerExpressionEvaluator.h
triggerExpression::Constant::operator()
bool operator()(const Data &data) const override
Definition:
TriggerExpressionConstant.h:14
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
triggerExpression::Constant::dump
void dump(std::ostream &out, bool const ignoreMasks=false) const override
Definition:
TriggerExpressionConstant.h:16
triggerExpression::Data
Definition:
TriggerExpressionData.h:23
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:80
triggerExpression::Constant::m_value
bool m_value
Definition:
TriggerExpressionConstant.h:19
triggerExpression::Evaluator
Definition:
TriggerExpressionEvaluator.h:13
triggerExpression
Definition:
TriggerExpressionConstant.h:6
Generated for CMSSW Reference Manual by
1.8.14