9 for( std::vector<std::string>::const_iterator
formula = pl.formulas().begin();
formula != pl.formulas().end(); ++
formula ) {
11 boost::shared_ptr<TFormula>
temp(
new TFormula(
"rr",
formula->c_str()));
13 compiledFormulas_.push_back(temp);
26 const boost::shared_ptr<TFormula>&
formula = compiledFormulas_[resultPos(r)];
30 std::vector<BinningVariables::BinningVariablesType>
t = myBinning();
35 for (std::vector<BinningVariables::BinningVariablesType>::const_iterator it = t.begin(); it != t.end();++it, ++
i){
44 return formula->EvalPar(values);
49 std::vector<BinningVariables::BinningVariablesType>
t = myBinning();
51 for (std::vector<BinningVariables::BinningVariablesType>::const_iterator it = t.begin(); it != t.end();++it){
54 int pos = limitPos(*it);
55 std::pair<float, float> limits = (pl.limits())[pos];
56 if (v<limits.first || v>limits.second)
return false;
65 if ( ! isOk(point))
return false;
74 cout <<
"Warning: result not available!" << endl;
79 const boost::shared_ptr<TFormula>&
formula =
80 compiledFormulas_[resultPos(res)];
81 cout <<
"-- Formula: " << formula->GetExpFormula(
"p") << endl;
84 std::vector<BinningVariables::BinningVariablesType>
t = myBinning();
86 for (std::vector<BinningVariables::BinningVariablesType>::const_iterator it = t.begin(); it != t.end();++it){
87 int pos = limitPos(*it);
88 std::pair<float, float> limits = (pl.limits())[pos];
89 cout <<
" Variable: " << *it <<
" with limits: " <<
"from: " << limits.first <<
" to: " << limits.second << endl;
bool isKeyAvailable(BinningVariables::BinningVariablesType)
float value(BinningVariables::BinningVariablesType)
#define TYPELOOKUP_DATA_REG(_dataclass_)
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point