Main Page
Namespaces
Classes
Package Documentation
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
{
32
33
public
:
34
explicit
ConstantEvaluator
(
double
iValue) :
m_value
(iValue) {}
35
36
37
// ---------- const member functions ---------------------
38
double
evaluate
(
double
const
* iVariables,
double
const
* iParameters)
const
override
final
;
39
40
private
:
41
ConstantEvaluator
(
const
ConstantEvaluator
&) =
delete
;
42
43
const
ConstantEvaluator
&
operator=
(
const
ConstantEvaluator
&) =
delete
;
44
45
// ---------- member data --------------------------------
46
double
m_value
;
47
};
48
}
49
}
50
51
52
#endif
reco::formula::ConstantEvaluator::evaluate
double evaluate(double const *iVariables, double const *iParameters) const override final
Definition:
formulaConstantEvaluator.cc:21
reco::formula::ConstantEvaluator::operator=
const ConstantEvaluator & operator=(const ConstantEvaluator &)=delete
reco::formula::ConstantEvaluator::m_value
double m_value
Definition:
formulaConstantEvaluator.h:46
reco::formula::ConstantEvaluator::ConstantEvaluator
ConstantEvaluator(double iValue)
Definition:
formulaConstantEvaluator.h:34
EcalElecEmulTccOnlyExample_cfg.formula
formula
Definition:
EcalElecEmulTccOnlyExample_cfg.py:26
reco::formula::ConstantEvaluator
Definition:
formulaConstantEvaluator.h:30
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
formulaEvaluatorBase.h
reco::formula::EvaluatorBase
Definition:
formulaEvaluatorBase.h:31
Generated for CMSSW Reference Manual by
1.8.11