50 _clipInvalid(clipInvalid)
72 if(
nullptr == _vars) {
79 if(
nullptr == _vars[0]) {
80 oocoutE(&func,InputArguments) <<
"RooConvIntegrandBinding: cannot bind to ";
86 if(
nullptr == _vars[1]) {
87 oocoutE(&func,InputArguments) <<
"RooConvIntegrandBinding: cannot bind to ";
100RooConvIntegrandBinding::~RooConvIntegrandBinding()
102 if(
nullptr != _vars)
delete[] _vars;
109void RooConvIntegrandBinding::loadValues(
const double xvector[],
bool clipInvalid)
const
112 for(
UInt_t index= 0; index < _dimension; index++) {
113 if (clipInvalid && !_vars[index]->isValidReal(xvector[index])) {
117 _vars[index]->setVal(xvector[index]);
126double RooConvIntegrandBinding::operator()(
const double xvector[])
const
133 if (!_xvecValid)
return 0 ;
135 double f_xp = _func->getVal(_nset) ;
138 const double xvec_tmp[2] = { xvector[1]-xvector[0] , xvector[1] } ;
139 loadValues(xvec_tmp,
true);
140 if (!_xvecValid)
return 0 ;
141 double g_xmxp = _model->getVal(_nset) ;
156double RooConvIntegrandBinding::getMinLimit(
UInt_t index)
const
159 return _vars[index]->getMin();
166double RooConvIntegrandBinding::getMaxLimit(
UInt_t index)
const
169 return _vars[index]->getMax();
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
void Print(Option_t *options=nullptr) const override
Print the object to the defaultPrintStream().
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...
Abstract base class for objects that represent a real value that may appear on the left hand side of ...
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgSet is a container object that can hold multiple RooAbsArg objects.