17 TFormula *
formula = compiledFormulas_[resultPos(r)];
21 std::vector<BinningVariables::BinningVariablesType>
t = myBinning();
26 for (std::vector<BinningVariables::BinningVariablesType>::const_iterator it = t.begin(); it != t.end();++it, ++
i){
31 return formula->EvalPar(values);
36 std::vector<BinningVariables::BinningVariablesType>
t = myBinning();
38 for (std::vector<BinningVariables::BinningVariablesType>::const_iterator it = t.begin(); it != t.end();++it){
41 int pos = limitPos(*it);
42 std::pair<float, float> limits = (pl.limits())[pos];
43 if (v<limits.first || v>limits.second)
return false;
53 if ( ! isOk(point))
return false;
59 if (pl.formulas().size() == compiledFormulas_.size())
return;
63 for (
unsigned int i=0;
i< pl.formulas().size(); ++
i){
64 TFormula*
t =
new TFormula(
"rr",(pl.formulas()[
i]).c_str());
66 compiledFormulas_.push_back(t);
76 cout <<
"Warning: result not available!" << endl;
80 TFormula *
formula = 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)
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