#ifndef ROO_SEGMENTED_INTEGRATOR_1D
#define ROO_SEGMENTED_INTEGRATOR_1D
#include "RooAbsIntegrator.h"
#include "RooIntegrator1D.h"
#include "RooNumIntConfig.h"
class RooSegmentedIntegrator1D : public RooAbsIntegrator {
public:
RooSegmentedIntegrator1D() ;
RooSegmentedIntegrator1D(const RooAbsFunc& function, const RooNumIntConfig& config) ;
RooSegmentedIntegrator1D(const RooAbsFunc& function, Double_t xmin, Double_t xmax, const RooNumIntConfig& config) ;
virtual RooAbsIntegrator* clone(const RooAbsFunc& function, const RooNumIntConfig& config) const ;
virtual ~RooSegmentedIntegrator1D();
virtual Bool_t checkLimits() const;
virtual Double_t integral(const Double_t *yvec=0) ;
Bool_t setLimits(Double_t xmin, Double_t xmax);
virtual Bool_t setUseIntegrandLimits(Bool_t flag) { _useIntegrandLimits = flag ; return kTRUE ; }
virtual Bool_t canIntegrate1D() const { return kTRUE ; }
virtual Bool_t canIntegrate2D() const { return kFALSE ; }
virtual Bool_t canIntegrateND() const { return kFALSE ; }
virtual Bool_t canIntegrateOpenEnded() const { return kFALSE ; }
protected:
friend class RooNumIntFactory ;
static void registerIntegrator(RooNumIntFactory& fact) ;
mutable Double_t _xmin ;
mutable Double_t _xmax ;
mutable Double_t _range ;
Bool_t _valid ;
Int_t _nseg ;
Bool_t _useIntegrandLimits ;
RooNumIntConfig _config ;
RooIntegrator1D** _array ;
Bool_t initialize();
ClassDef(RooSegmentedIntegrator1D,0)
};
#endif
Last change: Wed Jun 25 08:34:09 2008
Last generated: 2008-06-25 08:34
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.