16 #ifndef ROO_BIN_INTEGRATOR 17 #define ROO_BIN_INTEGRATOR 54 mutable std::vector<Double_t>
_xmin;
55 mutable std::vector<Double_t>
_xmax;
56 std::vector<std::list<Double_t>*>
_binb ;
RooAbsIntegrator is the abstract interface for integrators of real-valued functions that implement th...
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooBinIntegrator implements an adaptive one-dimensional numerical integration algorithm.
virtual Bool_t canIntegrate1D() const
virtual ~RooBinIntegrator()
Destructor.
virtual Bool_t checkLimits() const
Check that our integration range is finite and otherwise return kFALSE.
Double_t * xvec(Double_t &xx, Double_t &yy)
RooNumIntFactory is a factory to instantiate numeric integrators from a given function binding and a ...
virtual RooAbsIntegrator * clone(const RooAbsFunc &function, const RooNumIntConfig &config) const
Clone integrator with new function binding and configuration. Needed by RooNumIntFactory.
virtual Bool_t setLimits(Double_t *, Double_t *)
virtual Bool_t canIntegrateND() const
std::vector< std::list< Double_t > * > _binb
Upper integration bound.
#define ClassDef(name, id)
Bool_t _useIntegrandLimits
Size of integration range.
Int_t _numBins
list of bin boundaries
virtual Bool_t canIntegrate2D() const
virtual Bool_t setUseIntegrandLimits(Bool_t flag)
Interface function that allows to defer limit definition to integrand definition. ...
static void registerIntegrator(RooNumIntFactory &fact)
Register RooBinIntegrator, is parameters and capabilities with RooNumIntFactory.
Double_t * xvec(Double_t &xx)
virtual Bool_t canIntegrateOpenEnded() const
std::vector< Double_t > _xmax
Lower integration bound.
Bool_t setLimits(Double_t *xmin, Double_t *xmax)
Change our integration limits.
Double_t * xvec(Double_t &xx, Double_t &yy, Double_t &zz)
std::vector< Double_t > _xmin
RooBinIntegrator()
Default constructor.
virtual Double_t integral(const Double_t *yvec=0)
Calculate numeric integral at given set of function binding parameters.
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...