16 TFormula *
formula = compiledFormulas_[resultPos(r)];
20 std::vector<BinningVariables::BinningVariablesType>
t = myBinning();
25 for (std::vector<BinningVariables::BinningVariablesType>::const_iterator it = t.begin(); it != t.end();++it, ++
i){
30 return formula->EvalPar(values);
35 std::vector<BinningVariables::BinningVariablesType>
t = myBinning();
37 for (std::vector<BinningVariables::BinningVariablesType>::const_iterator it = t.begin(); it != t.end();++it){
40 int pos = limitPos(*it);
41 std::pair<float, float> limits = (pl.limits())[pos];
42 if (v<limits.first || v>limits.second)
return false;
52 if ( ! isOk(point))
return false;
58 if (pl.formulas().size() == compiledFormulas_.size())
return;
62 for (
unsigned int i=0;
i< pl.formulas().size(); ++
i){
63 TFormula*
t =
new TFormula(
"rr",(pl.formulas()[
i]).c_str());
65 compiledFormulas_.push_back(t);
75 cout <<
"Warning: result not available!" << endl;
79 TFormula *
formula = compiledFormulas_[resultPos(res)];
80 cout <<
"-- Formula: " << formula->GetExpFormula(
"p") << endl;
83 std::vector<BinningVariables::BinningVariablesType>
t = myBinning();
85 for (std::vector<BinningVariables::BinningVariablesType>::const_iterator it = t.begin(); it != t.end();++it){
86 int pos = limitPos(*it);
87 std::pair<float, float> limits = (pl.limits())[pos];
88 cout <<
" Variable: " << *it <<
" with limits: " <<
"from: " << limits.first <<
" to: " << limits.second << endl;
bool isKeyAvailable(BinningVariables::BinningVariablesType)
bool check(const DataFrame &df, bool capcheck, bool dvercheck)
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