Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User |
RooMCIntegratorclass description - source file - inheritance tree (.pdf) class RooMCIntegrator : public RooAbsIntegrator
public: Data Membersprotected: Class DescriptionRooMCIntegrator implements an adaptive multi-dimensional Monte Carlo numerical integration, following the VEGAS algorithm originally described in G. P. Lepage, J. Comp. Phys. 27, 192(1978). This implementation is based on a C version from the 0.9 beta release of the GNU scientific library. RooMCIntegrator() Dummy default ctor RooMCIntegrator(const RooAbsFunc& function, SamplingMode mode, GeneratorType genType, Bool_t verbose) : RooAbsIntegrator(function), _grid(function), _verbose(verbose), _alpha(1.5), _mode(mode), _genType(genType), _nRefineIter(5),_nRefinePerDim(1000),_nIntegratePerDim(5000) check that our grid initialized without errors RooMCIntegrator(const RooAbsFunc& function, const RooNumIntConfig& config) : RooAbsIntegrator(function), _grid(function) RooAbsIntegrator* clone(const RooAbsFunc& function, const RooNumIntConfig& config) const ~RooMCIntegrator() Bool_t checkLimits() const Check if we can integrate over the current domain. Double_t integral(const Double_t* /*yvec*/) Evaluate the integral using a fixed number of calls to evaluate the integrand equal to about 10k per dimension. Use the first 5k calls to refine the grid over 5 iterations of 1k calls each, and the remaining 5k calls for a single high statistics integration. Double_t vegas(Stage stage, UInt_t calls, UInt_t iterations, Double_t *absError) Perform one step of Monte Carlo integration using the specified number of iterations with (approximately) the specified number of integrand evaluation calls per iteration. Use the VEGAS algorithm, starting from the specified stage. Returns the best estimate of the integral. Also sets *absError to the estimated absolute error of the integral estimate if absError is non-zero. Inline FunctionsDouble_t getAlpha() const void setAlpha(Double_t alpha) RooMCIntegrator::GeneratorType getGenType() const void setGenType(RooMCIntegrator::GeneratorType type) const RooGrid& grid() const 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) RooMCIntegrator RooMCIntegrator(const RooMCIntegrator&)
|
Page maintained by Wouter Verkerke and David Kirkby |