Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
CommonTools
Utils
src
formulaConstantEvaluator.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_formulaConstantEvaluator_h
2
#define CommonTools_Utils_formulaConstantEvaluator_h
3
// -*- C++ -*-
4
//
5
// Package: CommonTools/Utils
6
// Class : reco::formula::ConstantEvaluator
7
//
16
//
17
// Original Author: Christopher Jones
18
// Created: Wed, 23 Sep 2015 18:06:27 GMT
19
//
20
21
// system include files
22
23
// user include files
24
#include "
formulaEvaluatorBase.h
"
25
26
// forward declarations
27
28
namespace
reco
{
29
namespace
formula
{
30
class
ConstantEvaluator
:
public
EvaluatorBase
{
31
public
:
32
explicit
ConstantEvaluator
(
double
iValue) :
m_value
(iValue) {}
33
34
// ---------- const member functions ---------------------
35
double
evaluate
(
double
const
* iVariables,
double
const
* iParameters)
const
final
;
36
std::vector<std::string>
abstractSyntaxTree
()
const
final;
37
38
ConstantEvaluator
(
const
ConstantEvaluator
&) = delete;
39
40
const
ConstantEvaluator
&
operator
=(
const
ConstantEvaluator
&) = delete;
41
42
private:
43
// ---------- member data --------------------------------
44
double
m_value
;
45
};
46
}
// namespace formula
47
}
// namespace reco
48
49
#endif
reco::formula::ConstantEvaluator::evaluate
double evaluate(double const *iVariables, double const *iParameters) const final
Definition:
formulaConstantEvaluator.cc:20
reco::formula::ConstantEvaluator::m_value
double m_value
Definition:
formulaConstantEvaluator.h:44
reco::formula::ConstantEvaluator::ConstantEvaluator
ConstantEvaluator(double iValue)
Definition:
formulaConstantEvaluator.h:32
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
EcalElecEmulTccOnlyExample_cfg.formula
tuple formula
Definition:
EcalElecEmulTccOnlyExample_cfg.py:26
reco::formula::ConstantEvaluator::abstractSyntaxTree
std::vector< std::string > abstractSyntaxTree() const final
Definition:
formulaConstantEvaluator.cc:24
Utilities.operator
operator
Definition:
Utilities.py:24
reco::formula::ConstantEvaluator
Definition:
formulaConstantEvaluator.h:30
formulaEvaluatorBase.h
runTheMatrix.const
string const
Definition:
runTheMatrix.py:336
reco::formula::EvaluatorBase
Definition:
formulaEvaluatorBase.h:34
Generated for CMSSW Reference Manual by
1.8.5