Main Page
Namespaces
Classes
Package Documentation
CommonTools
Utils
src
formulaParameterEvaluator.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: CommonTools/Utils
4
// Class : reco::formula::ParameterEvaluator
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author: Christopher Jones
10
// Created: Wed, 23 Sep 2015 18:06:29 GMT
11
//
12
13
// system include files
14
15
// user include files
16
#include "
formulaParameterEvaluator.h
"
17
18
19
namespace
reco
{
20
namespace
formula
{
21
double
ParameterEvaluator::evaluate
(
double
const
*
/*iVariables*/
,
double
const
* iParameters)
const
{
22
return
iParameters[
m_index
];
23
}
24
std::vector<std::string>
ParameterEvaluator::abstractSyntaxTree
()
const
{
25
return
std::vector<std::string>{1,
std::string
(
"par["
)+std::to_string(
m_index
)+
"]"
};
26
}
27
}
28
}
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
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
formulaParameterEvaluator.h
reco::formula::ParameterEvaluator::abstractSyntaxTree
std::vector< std::string > abstractSyntaxTree() const final
Definition:
formulaParameterEvaluator.cc:24
Generated for CMSSW Reference Manual by
1.8.11