Main Page
Namespaces
Classes
Package Documentation
src
CommonTools
Utils
bin
runFormulaEvaluator.cc
Go to the documentation of this file.
1
#include "
CommonTools/Utils/interface/FormulaEvaluator.h
"
2
#include <iostream>
3
#include <vector>
4
5
int
main
(
int
argc
,
char
**
argv
) {
6
7
while
(
true
) {
8
std::cout
<<
">type in formula\n>"
<<std::flush;
9
10
std::string
form;
11
std::cin >> form;
12
13
reco::FormulaEvaluator
eval(form);
14
15
std::vector<double>
x
;
16
std::vector<double>
v
;
17
18
std::cout
<< eval.
evaluate
(x,v)<<std::endl;
19
}
20
21
return
0;
22
}
FormulaEvaluator.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
cmsBatch.argv
argv
Definition:
cmsBatch.py:279
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
main
int main(int argc, char **argv)
Definition:
runFormulaEvaluator.cc:5
reco::FormulaEvaluator::evaluate
double evaluate(V const &iVariables, P const &iParameters) const
Definition:
FormulaEvaluator.h:75
genVertex_cff.x
x
Definition:
genVertex_cff.py:12
dir2webdir.argc
argc
Definition:
dir2webdir.py:39
reco::FormulaEvaluator
Definition:
FormulaEvaluator.h:67
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
Generated for CMSSW Reference Manual by
1.8.11