library: libRooFit #include "RooSegmentedIntegrator1D.h"

# RooSegmentedIntegrator1D

class description - source file - inheritance tree (.pdf)

## class RooSegmentedIntegrator1D : public RooAbsIntegrator

| Inheritance Chart:

`TObject`

<-

`RooAbsIntegrator`

<-

`RooSegmentedIntegrator1D`

<-

`RooSegmentedIntegrator2D` |

        protected:

          Bool_t initialize()

        public:

                                    RooSegmentedIntegrator1D()
                                    RooSegmentedIntegrator1D(const RooAbsFunc& function, const RooNumIntConfig& config)
                                    RooSegmentedIntegrator1D(const RooAbsFunc& function, Double_t xmin, Double_t xmax, const RooNumIntConfig& config)
                            virtual ~RooSegmentedIntegrator1D()
                     virtual Bool_t canIntegrate1D() const
                     virtual Bool_t canIntegrate2D() const
                     virtual Bool_t canIntegrateND() const
                     virtual Bool_t canIntegrateOpenEnded() const
                     virtual Bool_t checkLimits() const
                     static TClass* Class()
          virtual RooAbsIntegrator* clone(const RooAbsFunc& function, const RooNumIntConfig& config) const
                   virtual Double_t integral(const Double_t* yvec = 0)
                    virtual TClass* IsA() const
                     virtual Bool_t setLimits(Double_t xmin, Double_t xmax)
                     virtual Bool_t setUseIntegrandLimits(Bool_t flag)
                       virtual void ShowMembers(TMemberInspector& insp, char* parent)
                       virtual void Streamer(TBuffer& b)
                               void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                   Double_t _xmin
                   Double_t _xmax
                   Double_t _range
                     Bool_t _valid
                      Int_t _nseg                Number of segments
                     Bool_t _useIntegrandLimits
            RooNumIntConfig _config
          RooIntegrator1D** _array               Array of segment integrators

## Class Description

RooSegmentedIntegrator1D()

RooSegmentedIntegrator1D(const RooAbsFunc& function, const RooNumIntConfig& config) : RooAbsIntegrator(function), _config(config)

     Use this form of the constructor to integrate over the function's default range.

RooSegmentedIntegrator1D(const RooAbsFunc& function, Double_t xmin, Double_t xmax, const RooNumIntConfig& config) : RooAbsIntegrator(function), _config(config)

     Use this form of the constructor to override the function's default range.

RooAbsIntegrator* clone(const RooAbsFunc& function, const RooNumIntConfig& config) const

Bool_t initialize()

~RooSegmentedIntegrator1D()

Bool_t setLimits(Double_t xmin, Double_t xmax)

     Change our integration limits. Return kTRUE if the new limits are
     ok, or otherwise kFALSE. Always returns kFALSE and does nothing
     if this object was constructed to always use our integrand's limits.

Bool_t checkLimits() const

     Check that our integration range is finite and otherwise return kFALSE.
     Update the limits from the integrand if requested.

Double_t integral(const Double_t *yvec)

### Inline Functions

                 Bool_t setUseIntegrandLimits(Bool_t flag)
                 Bool_t canIntegrate1D() const
                 Bool_t canIntegrate2D() const
                 Bool_t canIntegrateND() const
                 Bool_t canIntegrateOpenEnded() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Last update: Tue Jun 28 18:15:03 2005
Copyright (c) 2000-2005, Regents of the University of California *