Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User |
RooIntegrator1Dclass description - source file - inheritance tree (.pdf) class RooIntegrator1D : public RooAbsIntegrator
protected: Data Membersprotected: Class DescriptionRooIntegrator1D implements an adaptive one-dimensional numerical integration algorithm. RooIntegrator1D() RooIntegrator1D(const RooAbsFunc& function, SummationRule rule, Int_t maxSteps, Double_t eps) : RooAbsIntegrator(function), _rule(rule), _maxSteps(maxSteps), _minStepsZero(999), _fixSteps(0), _epsAbs(eps), _epsRel(eps), _doExtrap(kTRUE) Use this form of the constructor to integrate over the function's default range. RooIntegrator1D(const RooAbsFunc& function, Double_t xmin, Double_t xmax, SummationRule rule, Int_t maxSteps, Double_t eps) : RooAbsIntegrator(function), _rule(rule), _maxSteps(maxSteps), _minStepsZero(999), _fixSteps(0), _epsAbs(eps), _epsRel(eps), _doExtrap(kTRUE) Use this form of the constructor to override the function's default range. RooIntegrator1D(const RooAbsFunc& function, const RooNumIntConfig& config) : RooAbsIntegrator(function,config.printEvalCounter()), _epsAbs(config.epsAbs()), _epsRel(config.epsRel()) Use this form of the constructor to integrate over the function's default range. RooIntegrator1D(const RooAbsFunc& function, Double_t xmin, Double_t xmax, const RooNumIntConfig& config) : RooAbsIntegrator(function,config.printEvalCounter()), _epsAbs(config.epsAbs()), _epsRel(config.epsRel()) 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() apply defaults if necessary ~RooIntegrator1D() Release integrator workspace 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) Double_t addMidpoints(Int_t n) Calculate the n-th stage of refinement of the Second Euler-Maclaurin summation rule which has the useful property of not evaluating the integrand at either of its endpoints but requires more function evaluations than the trapezoidal rule. This rule can be used with a suitable change of variables to estimate improper integrals. Double_t addTrapezoids(Int_t n) Calculate the n-th stage of refinement of the extended trapezoidal summation rule. This is the most efficient rule for a well behaved integrand that can be evaluated over its entire range, including the endpoints. void extrapolate(Int_t n) Inline FunctionsBool_t setUseIntegrandLimits(Bool_t flag) Bool_t canIntegrate1D() const Bool_t canIntegrate2D() const Bool_t canIntegrateND() const Bool_t canIntegrateOpenEnded() const Double_t* xvec(Double_t& xx) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) RooIntegrator1D RooIntegrator1D(const RooIntegrator1D&)
|
Page maintained by Wouter Verkerke and David Kirkby |