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 ;
virtual ~RooBinIntegrator()
Destructor.
Double_t * xvec(Double_t &xx, Double_t &yy)
virtual Bool_t canIntegrateOpenEnded() const
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)
virtual RooAbsIntegrator * clone(const RooAbsFunc &function, const RooNumIntConfig &config) const
Clone integrator with new function binding and configuration. Needed by RooNumIntFactory.
Bool_t _useIntegrandLimits
Size of integration range.
virtual Bool_t checkLimits() const
Check that our integration range is finite and otherwise return kFALSE.
virtual Bool_t canIntegrate2D() const
virtual Bool_t canIntegrate1D() const
Int_t _numBins
list of bin boundaries
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)
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.