Main Page
Namespaces
Classes
Package Documentation
CommonTools
Utils
src
formulaParameterEvaluator.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_formulaParameterEvaluator_h
2
#define CommonTools_Utils_formulaParameterEvaluator_h
3
// -*- C++ -*-
4
//
5
// Package: CommonTools/Utils
6
// Class : reco::formula::ParameterEvaluator
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
ParameterEvaluator
:
public
EvaluatorBase
31
{
32
33
public
:
34
explicit
ParameterEvaluator
(
unsigned
int
iIndex) :
m_index
(iIndex) {}
35
36
37
// ---------- const member functions ---------------------
38
double
evaluate
(
double
const
* iVariables,
double
const
* iParameters)
const
final
;
39
std::vector<std::string>
abstractSyntaxTree
()
const
final
;
40
41
private
:
42
ParameterEvaluator
(
const
ParameterEvaluator
&) =
delete
;
43
44
const
ParameterEvaluator
&
operator=
(
const
ParameterEvaluator
&) =
delete
;
45
46
// ---------- member data --------------------------------
47
unsigned
int
m_index
;
48
};
49
}
50
}
51
52
53
#endif
reco::formula::ParameterEvaluator::ParameterEvaluator
ParameterEvaluator(unsigned int iIndex)
Definition:
formulaParameterEvaluator.h:34
reco::formula::ParameterEvaluator::operator=
const ParameterEvaluator & operator=(const ParameterEvaluator &)=delete
reco::formula::ParameterEvaluator::evaluate
double evaluate(double const *iVariables, double const *iParameters) const final
Definition:
formulaParameterEvaluator.cc:21
reco::formula::ParameterEvaluator::m_index
unsigned int m_index
Definition:
formulaParameterEvaluator.h:47
EcalElecEmulTccOnlyExample_cfg.formula
formula
Definition:
EcalElecEmulTccOnlyExample_cfg.py:26
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
reco::formula::ParameterEvaluator
Definition:
formulaParameterEvaluator.h:30
formulaEvaluatorBase.h
reco::formula::ParameterEvaluator::abstractSyntaxTree
std::vector< std::string > abstractSyntaxTree() const final
Definition:
formulaParameterEvaluator.cc:24
reco::formula::EvaluatorBase
Definition:
formulaEvaluatorBase.h:34
Generated for CMSSW Reference Manual by
1.8.11