Implementation of RooAbsFunc that represent the integrand of a generic (numeric) convolution A (x) B so that it can be passed to a numeric integrator.
This is a utility class for RooNumConvPdf
Definition at line 26 of file RooConvIntegrandBinding.h.
Public Member Functions | |
| RooConvIntegrandBinding (const RooAbsReal &func, const RooAbsReal &model, RooAbsReal &x, RooAbsReal &xprime, const RooArgSet *nset=nullptr, bool clipInvalid=false) | |
| ~RooConvIntegrandBinding () override | |
| Destructor. | |
| double | getMaxLimit (UInt_t dimension) const override |
| Retrieve upper limit of i-th observable. | |
| double | getMinLimit (UInt_t dimension) const override |
| Retrieve lower limit of i-th observable. | |
| double | operator() (const double xvector[]) const override |
| Evaluate self at given parameter values. | |
| void | setNormalizationSet (const RooArgSet *nset) |
Public Member Functions inherited from RooAbsFunc | |
| RooAbsFunc (const RooAbsFunc &other) | |
| RooAbsFunc (UInt_t dimension) | |
| virtual | ~RooAbsFunc () |
| virtual std::list< double > * | binBoundaries (Int_t) const |
| UInt_t | getDimension () const |
| virtual const char * | getName () const |
| Name of function binding. | |
| virtual TClass * | IsA () const |
| bool | isValid () const |
| Int_t | numCall () const |
| Return number of function calls since last reset. | |
| virtual std::list< double > * | plotSamplingHint (RooAbsRealLValue &, double, double) const |
| Interface for returning an optional hint for initial sampling points when constructing a curve projected on observable. | |
| void | resetNumCall () const |
| Reset function call counter. | |
| virtual void | restoreXVec () const |
| virtual void | saveXVec () const |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Protected Member Functions | |
| void | loadValues (const double xvector[], bool clipInvalid=false) const |
| Load external input values. | |
Protected Attributes | |
| bool | _clipInvalid |
| If true, invalid x values are clipped into their valid range. | |
| const RooAbsReal * | _func |
| Pointer to input function. | |
| const RooAbsReal * | _model |
| Pointer to input resolution model. | |
| const RooArgSet * | _nset |
| Normalization set to be used for function evaluations. | |
| RooAbsRealLValue ** | _vars |
| Array of pointers to variables. | |
| bool | _xvecValid |
| If true _xvec defines a valid point. | |
Protected Attributes inherited from RooAbsFunc | |
| UInt_t | _dimension |
| Number of observables. | |
| Int_t | _ncall |
| Function call counter. | |
| bool | _valid |
| Is binding in valid state? | |
Additional Inherited Members | |
Static Public Member Functions inherited from RooAbsFunc | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
#include </github/home/ROOT-CI/src/roofit/roofitcore/src/RooConvIntegrandBinding.h>
| RooConvIntegrandBinding::RooConvIntegrandBinding | ( | const RooAbsReal & | func, |
| const RooAbsReal & | model, | ||
| RooAbsReal & | x, | ||
| RooAbsReal & | xprime, | ||
| const RooArgSet * | nset = nullptr, | ||
| bool | clipInvalid = false ) |
Definition at line 39 of file RooConvIntegrandBinding.cxx.
|
override |
Destructor.
Definition at line 98 of file RooConvIntegrandBinding.cxx.
Retrieve upper limit of i-th observable.
Implements RooAbsFunc.
Definition at line 164 of file RooConvIntegrandBinding.cxx.
Retrieve lower limit of i-th observable.
Implements RooAbsFunc.
Definition at line 154 of file RooConvIntegrandBinding.cxx.
|
protected |
Load external input values.
Definition at line 107 of file RooConvIntegrandBinding.cxx.
Evaluate self at given parameter values.
Implements RooAbsFunc.
Definition at line 124 of file RooConvIntegrandBinding.cxx.
|
inline |
Definition at line 35 of file RooConvIntegrandBinding.h.
|
protected |
If true, invalid x values are clipped into their valid range.
Definition at line 50 of file RooConvIntegrandBinding.h.
|
protected |
Pointer to input function.
Definition at line 44 of file RooConvIntegrandBinding.h.
|
protected |
Pointer to input resolution model.
Definition at line 45 of file RooConvIntegrandBinding.h.
|
protected |
Normalization set to be used for function evaluations.
Definition at line 48 of file RooConvIntegrandBinding.h.
|
protected |
Array of pointers to variables.
Definition at line 47 of file RooConvIntegrandBinding.h.
|
mutableprotected |
If true _xvec defines a valid point.
Definition at line 49 of file RooConvIntegrandBinding.h.