#include <FormulaEvaluator.h>
Public Member Functions | |
std::vector< std::string > | abstractSyntaxTree () const |
template<typename V , typename P > | |
double | evaluate (V const &iVariables, P const &iParameters) const |
FormulaEvaluator (std::string const &iFormula) | |
unsigned int | numberOfParameters () const |
unsigned int | numberOfVariables () const |
Private Member Functions | |
double | evaluate (double const *iVariables, double const *iParameters) const |
void | throwWrongNumberOfParameters (size_t) const |
void | throwWrongNumberOfVariables (size_t) const |
Private Attributes | |
std::shared_ptr< formula::EvaluatorBase const > | m_evaluator |
unsigned int | m_nParameters = 0 |
unsigned int | m_nVariables = 0 |
Definition at line 67 of file FormulaEvaluator.h.
|
explicit |
Definition at line 902 of file FormulaEvaluator.cc.
References DEBUG_STATE, Exception, pfMETCorrectionType0_cfi::formula, info(), lastIndex, eostools::move(), or, and AlCaHLTBitMon_QueryRunRegistry::string.
std::vector< std::string > FormulaEvaluator::abstractSyntaxTree | ( | ) | const |
Definition at line 951 of file FormulaEvaluator.cc.
|
inline |
Definition at line 73 of file FormulaEvaluator.h.
References reco::formula::startingAddress().
Referenced by SimpleJetCorrector::correctionBin(), SimpleJetCorrector::invert(), main(), CTPPSTimingTrackRecognition< TRACK_TYPE, HIT_TYPE >::producePartialTracks(), ETLElectronicsSim::run(), and TotemTimingConversions::voltSamples().
|
private |
Definition at line 938 of file FormulaEvaluator.cc.
|
inline |
Definition at line 83 of file FormulaEvaluator.h.
Referenced by CTPPSTimingTrackRecognition< CTPPSDiamondLocalTrack, CTPPSDiamondRecHit >::CTPPSTimingTrackRecognition(), SimpleJetCorrector::invert(), and TotemTimingConversions::voltSamples().
|
inline |
Definition at line 84 of file FormulaEvaluator.h.
Referenced by TotemTimingConversions::voltSamples().
|
private |
Definition at line 946 of file FormulaEvaluator.cc.
References Exception.
|
private |
Definition at line 942 of file FormulaEvaluator.cc.
References Exception.
|
private |
Definition at line 94 of file FormulaEvaluator.h.
|
private |
Definition at line 96 of file FormulaEvaluator.h.
|
private |
Definition at line 95 of file FormulaEvaluator.h.