54 RooRealVar numSeg(
"numSeg",
"Number of segments",3) ;
124 if (!limitsOK)
return kFALSE ;
137 for (i=0 ; i<
_nseg ; i++) {
201 for (i=0 ; i<
_nseg ; i++) {
221 for (i=0 ; i<
_nseg ; i++) {
std::string GetName(const std::string &scope_name)
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...
RooNumIntFactory is a factory to instantiate numeric integrators from a given function binding and a ...
const RooArgSet & getConfigSection(const char *name) const
Retrieve configuration information specific to integrator with given name.
virtual RooAbsIntegrator * clone(const RooAbsFunc &function, const RooNumIntConfig &config) const
Virtual constructor with given function and configuration. Needed by RooNumIntFactory.
static Int_t isInfinite(Double_t x)
Return true if x is infinite by RooNumBer internal specification.
virtual Bool_t checkLimits() const
Check that our integration range is finite and otherwise return kFALSE.
Bool_t initialize()
One-time integrator initialization.
static void registerIntegrator(RooNumIntFactory &fact)
Register RooSegmentedIntegrator1D, its parameters, dependencies and capabilities with RooNumIntFactor...
RooSegmentedIntegrator1D implements an adaptive one-dimensional numerical integration algorithm...
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
RooIntegrator1D ** _array
RooSegmentedIntegrator1D()
Constructor.
RooRealVar represents a fundamental (non-derived) real valued object.
virtual Double_t integral(const Double_t *yvec=0)
Calculate numeric integral at given set of function binding parameters.
const RooAbsFunc * _function
virtual ~RooSegmentedIntegrator1D()
Destructor.
virtual Double_t getMinLimit(UInt_t dimension) const =0
Bool_t _useIntegrandLimits
Bool_t setLimits(Double_t *xmin, Double_t *xmax)
Change our integration limits.
RooIntegrator1D * pRooIntegrator1D
const RooAbsFunc * integrand() const
RooIntegrator1D implements an adaptive one-dimensional numerical integration algorithm.
virtual Double_t integral(const Double_t *yvec=0)
Evaluate integral at given function binding parameter values.
virtual Double_t getMaxLimit(UInt_t dimension) const =0
Mother of all ROOT objects.
Double_t getRealValue(const char *name, Double_t defVal=0, Bool_t verbose=kFALSE) const
Get value of a RooAbsReal stored in set with given name.
Bool_t setLimits(Double_t *xmin, Double_t *xmax)
Change our integration limits.
virtual const char * GetName() const
Returns name of object.
void setEpsAbs(Double_t newEpsAbs)
Set absolute convergence criteria (convergence if abs(Err)<newEpsAbs)
Abstract interface for evaluating a real-valued function of one real variable and performing numerica...
void setEpsRel(Double_t newEpsRel)
Set relative convergence criteria (convergence if abs(Err)/abs(Int)<newEpsRel)
Bool_t storeProtoIntegrator(RooAbsIntegrator *proto, const RooArgSet &defConfig, const char *depName="")
Method accepting registration of a prototype numeric integrator along with a RooArgSet of its default...