RooSegmentedIntegrator1D Class Reference

#include <RooSegmentedIntegrator1D.h>

Inheritance diagram for RooSegmentedIntegrator1D:

RooAbsIntegrator RooAbsIntegrator TObject TObject TObject TObject RooSegmentedIntegrator2D RooSegmentedIntegrator2D List of all members.

Public Member Functions

 RooSegmentedIntegrator1D ()
 RooSegmentedIntegrator1D (const RooAbsFunc &function, const RooNumIntConfig &config)
 RooSegmentedIntegrator1D (const RooAbsFunc &function, Double_t xmin, Double_t xmax, const RooNumIntConfig &config)
virtual RooAbsIntegratorclone (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)
virtual Bool_t canIntegrate1D () const
virtual Bool_t canIntegrate2D () const
virtual Bool_t canIntegrateND () const
virtual Bool_t canIntegrateOpenEnded () const
 RooSegmentedIntegrator1D ()
 RooSegmentedIntegrator1D (const RooAbsFunc &function, const RooNumIntConfig &config)
 RooSegmentedIntegrator1D (const RooAbsFunc &function, Double_t xmin, Double_t xmax, const RooNumIntConfig &config)
virtual RooAbsIntegratorclone (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)
virtual Bool_t canIntegrate1D () const
virtual Bool_t canIntegrate2D () const
virtual Bool_t canIntegrateND () const
virtual Bool_t canIntegrateOpenEnded () const

Protected Member Functions

Bool_t initialize ()
Bool_t initialize ()

Static Protected Member Functions

static void registerIntegrator (RooNumIntFactory &fact)
static void registerIntegrator (RooNumIntFactory &fact)

Protected Attributes

Double_t _xmin
Double_t _xmax
Double_t _range
Bool_t _valid
Int_t _nseg
Bool_t _useIntegrandLimits
RooNumIntConfig _config
RooIntegrator1D ** _array
RooIntegrator1D ** _array

Friends

class RooNumIntFactory

Detailed Description

Definition at line 23 of file RooSegmentedIntegrator1D.h.


Constructor & Destructor Documentation

RooSegmentedIntegrator1D::RooSegmentedIntegrator1D (  ) 

Definition at line 58 of file RooSegmentedIntegrator1D.cxx.

Referenced by clone(), and registerIntegrator().

RooSegmentedIntegrator1D::RooSegmentedIntegrator1D ( const RooAbsFunc function,
const RooNumIntConfig config 
)

Definition at line 68 of file RooSegmentedIntegrator1D.cxx.

References _nseg, _useIntegrandLimits, _valid, TObject::GetName(), initialize(), and kTRUE.

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

Definition at line 83 of file RooSegmentedIntegrator1D.cxx.

References _nseg, _useIntegrandLimits, _valid, _xmax, _xmin, TObject::GetName(), initialize(), and kFALSE.

RooSegmentedIntegrator1D::~RooSegmentedIntegrator1D (  )  [virtual]

Definition at line 143 of file RooSegmentedIntegrator1D.cxx.

RooSegmentedIntegrator1D::RooSegmentedIntegrator1D (  ) 

RooSegmentedIntegrator1D::RooSegmentedIntegrator1D ( const RooAbsFunc function,
const RooNumIntConfig config 
)

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

virtual RooSegmentedIntegrator1D::~RooSegmentedIntegrator1D (  )  [virtual]


Member Function Documentation

RooAbsIntegrator * RooSegmentedIntegrator1D::clone ( const RooAbsFunc function,
const RooNumIntConfig config 
) const [virtual]

Implements RooAbsIntegrator.

Definition at line 101 of file RooSegmentedIntegrator1D.cxx.

References RooSegmentedIntegrator1D().

Bool_t RooSegmentedIntegrator1D::checkLimits (  )  const [virtual]

Reimplemented from RooAbsIntegrator.

Definition at line 169 of file RooSegmentedIntegrator1D.cxx.

References _array, _nseg, _range, _useIntegrandLimits, _xmax, _xmin, RooAbsFunc::getMaxLimit(), RooAbsFunc::getMinLimit(), i, RooFit::InputArguments, RooAbsIntegrator::integrand(), RooNumber::isInfinite(), RooAbsIntegrator::isValid(), kFALSE, kTRUE, oocoutE, and setLimits().

Referenced by initialize(), and setLimits().

Double_t RooSegmentedIntegrator1D::integral ( const Double_t yvec = 0  )  [virtual]

Implements RooAbsIntegrator.

Definition at line 202 of file RooSegmentedIntegrator1D.cxx.

References _array, _nseg, i, RooAbsIntegrator::isValid(), and result().

Bool_t RooSegmentedIntegrator1D::setLimits ( Double_t xmin,
Double_t xmax 
) [virtual]

Reimplemented from RooAbsIntegrator.

Definition at line 151 of file RooSegmentedIntegrator1D.cxx.

References _useIntegrandLimits, _xmax, _xmin, checkLimits(), RooFit::InputArguments, kFALSE, and oocoutE.

Referenced by checkLimits(), and RooSegmentedIntegrator2D::checkLimits().

virtual Bool_t RooSegmentedIntegrator1D::setUseIntegrandLimits ( Bool_t  flag  )  [inline, virtual]

Reimplemented from RooAbsIntegrator.

Definition at line 39 of file RooSegmentedIntegrator1D.h.

References _useIntegrandLimits, and kTRUE.

virtual Bool_t RooSegmentedIntegrator1D::canIntegrate1D (  )  const [inline, virtual]

Implements RooAbsIntegrator.

Definition at line 41 of file RooSegmentedIntegrator1D.h.

References kTRUE.

virtual Bool_t RooSegmentedIntegrator1D::canIntegrate2D (  )  const [inline, virtual]

Implements RooAbsIntegrator.

Definition at line 42 of file RooSegmentedIntegrator1D.h.

References kFALSE.

virtual Bool_t RooSegmentedIntegrator1D::canIntegrateND (  )  const [inline, virtual]

Implements RooAbsIntegrator.

Definition at line 43 of file RooSegmentedIntegrator1D.h.

References kFALSE.

virtual Bool_t RooSegmentedIntegrator1D::canIntegrateOpenEnded (  )  const [inline, virtual]

Implements RooAbsIntegrator.

Definition at line 44 of file RooSegmentedIntegrator1D.h.

References kFALSE.

void RooSegmentedIntegrator1D::registerIntegrator ( RooNumIntFactory fact  )  [static, protected]

Definition at line 47 of file RooSegmentedIntegrator1D.cxx.

References xmlio::Class, TObject::GetName(), RooSegmentedIntegrator1D(), and RooNumIntFactory::storeProtoIntegrator().

Referenced by RooNumIntFactory::RooNumIntFactory().

Bool_t RooSegmentedIntegrator1D::initialize (  )  [protected]

Definition at line 113 of file RooSegmentedIntegrator1D.cxx.

References _array, _config, RooAbsIntegrator::_function, _nseg, _xmax, _xmin, checkLimits(), RooNumIntConfig::epsAbs(), RooNumIntConfig::epsRel(), i, kFALSE, kTRUE, RooNumIntConfig::setEpsAbs(), RooNumIntConfig::setEpsRel(), and sqrt().

Referenced by RooSegmentedIntegrator1D().

virtual RooAbsIntegrator* RooSegmentedIntegrator1D::clone ( const RooAbsFunc function,
const RooNumIntConfig config 
) const [virtual]

Implements RooAbsIntegrator.

virtual Bool_t RooSegmentedIntegrator1D::checkLimits (  )  const [virtual]

Reimplemented from RooAbsIntegrator.

virtual Double_t RooSegmentedIntegrator1D::integral ( const Double_t yvec = 0  )  [virtual]

Implements RooAbsIntegrator.

Bool_t RooSegmentedIntegrator1D::setLimits ( Double_t xmin,
Double_t xmax 
) [virtual]

Reimplemented from RooAbsIntegrator.

virtual Bool_t RooSegmentedIntegrator1D::setUseIntegrandLimits ( Bool_t  flag  )  [inline, virtual]

Reimplemented from RooAbsIntegrator.

Definition at line 39 of file RooSegmentedIntegrator1D.h.

References _useIntegrandLimits, and kTRUE.

virtual Bool_t RooSegmentedIntegrator1D::canIntegrate1D (  )  const [inline, virtual]

Implements RooAbsIntegrator.

Definition at line 41 of file RooSegmentedIntegrator1D.h.

References kTRUE.

virtual Bool_t RooSegmentedIntegrator1D::canIntegrate2D (  )  const [inline, virtual]

Implements RooAbsIntegrator.

Definition at line 42 of file RooSegmentedIntegrator1D.h.

References kFALSE.

virtual Bool_t RooSegmentedIntegrator1D::canIntegrateND (  )  const [inline, virtual]

Implements RooAbsIntegrator.

Definition at line 43 of file RooSegmentedIntegrator1D.h.

References kFALSE.

virtual Bool_t RooSegmentedIntegrator1D::canIntegrateOpenEnded (  )  const [inline, virtual]

Implements RooAbsIntegrator.

Definition at line 44 of file RooSegmentedIntegrator1D.h.

References kFALSE.

static void RooSegmentedIntegrator1D::registerIntegrator ( RooNumIntFactory fact  )  [static, protected]

Bool_t RooSegmentedIntegrator1D::initialize (  )  [protected]


Friends And Related Function Documentation

RooNumIntFactory [friend]

Definition at line 48 of file RooSegmentedIntegrator1D.h.


Member Data Documentation

Double_t RooSegmentedIntegrator1D::_xmin [mutable, protected]

Definition at line 51 of file RooSegmentedIntegrator1D.h.

Referenced by checkLimits(), RooSegmentedIntegrator2D::checkLimits(), initialize(), RooSegmentedIntegrator1D(), and setLimits().

Double_t RooSegmentedIntegrator1D::_xmax [mutable, protected]

Definition at line 52 of file RooSegmentedIntegrator1D.h.

Referenced by checkLimits(), RooSegmentedIntegrator2D::checkLimits(), initialize(), RooSegmentedIntegrator1D(), and setLimits().

Double_t RooSegmentedIntegrator1D::_range [mutable, protected]

Definition at line 53 of file RooSegmentedIntegrator1D.h.

Referenced by checkLimits(), and RooSegmentedIntegrator2D::checkLimits().

Bool_t RooSegmentedIntegrator1D::_valid [protected]

Reimplemented from RooAbsIntegrator.

Definition at line 54 of file RooSegmentedIntegrator1D.h.

Referenced by RooSegmentedIntegrator1D().

Int_t RooSegmentedIntegrator1D::_nseg [protected]

Definition at line 55 of file RooSegmentedIntegrator1D.h.

Referenced by checkLimits(), RooSegmentedIntegrator2D::checkLimits(), initialize(), integral(), and RooSegmentedIntegrator1D().

Bool_t RooSegmentedIntegrator1D::_useIntegrandLimits [protected]

Definition at line 56 of file RooSegmentedIntegrator1D.h.

Referenced by checkLimits(), RooSegmentedIntegrator2D::checkLimits(), RooSegmentedIntegrator1D(), setLimits(), and setUseIntegrandLimits().

RooNumIntConfig RooSegmentedIntegrator1D::_config [protected]

Definition at line 58 of file RooSegmentedIntegrator1D.h.

Referenced by initialize().

RooIntegrator1D** RooSegmentedIntegrator1D::_array [protected]

Definition at line 59 of file RooSegmentedIntegrator1D.h.

Referenced by checkLimits(), RooSegmentedIntegrator2D::checkLimits(), initialize(), and integral().

RooIntegrator1D** RooSegmentedIntegrator1D::_array [protected]

Definition at line 59 of file RooSegmentedIntegrator1D.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:01 2011 for ROOT_528-00b_version by  doxygen 1.5.1