#include <RooMCIntegrator.h>
Inheritance diagram for RooMCIntegrator:
Definition at line 24 of file RooMCIntegrator.h.
Definition at line 28 of file RooMCIntegrator.h.
Definition at line 29 of file RooMCIntegrator.h.
Definition at line 40 of file RooMCIntegrator.h.
Definition at line 28 of file RooMCIntegrator.h.
Definition at line 29 of file RooMCIntegrator.h.
Definition at line 40 of file RooMCIntegrator.h.
RooMCIntegrator::RooMCIntegrator | ( | ) |
RooMCIntegrator::RooMCIntegrator | ( | const RooAbsFunc & | function, | |
SamplingMode | mode = Importance , |
|||
GeneratorType | genType = QuasiRandom , |
|||
Bool_t | verbose = kFALSE | |||
) |
Definition at line 102 of file RooMCIntegrator.cxx.
References _grid, RooAbsIntegrator::_valid, _verbose, RooGrid::isValid(), and RooGrid::Print().
RooMCIntegrator::RooMCIntegrator | ( | const RooAbsFunc & | function, | |
const RooNumIntConfig & | config | |||
) |
Definition at line 122 of file RooMCIntegrator.cxx.
References _alpha, _genType, _grid, _mode, _nIntegratePerDim, _nRefineIter, _nRefinePerDim, RooAbsIntegrator::_valid, _verbose, RooArgSet::getCatIndex(), TObject::GetName(), RooArgSet::getRealValue(), Importance, RooGrid::isValid(), RooGrid::Print(), and QuasiRandom.
RooMCIntegrator::~RooMCIntegrator | ( | ) | [virtual] |
Definition at line 156 of file RooMCIntegrator.cxx.
RooMCIntegrator::RooMCIntegrator | ( | ) |
RooMCIntegrator::RooMCIntegrator | ( | const RooAbsFunc & | function, | |
SamplingMode | mode = Importance , |
|||
GeneratorType | genType = QuasiRandom , |
|||
Bool_t | verbose = kFALSE | |||
) |
RooMCIntegrator::RooMCIntegrator | ( | const RooAbsFunc & | function, | |
const RooNumIntConfig & | config | |||
) |
virtual RooMCIntegrator::~RooMCIntegrator | ( | ) | [virtual] |
RooAbsIntegrator * RooMCIntegrator::clone | ( | const RooAbsFunc & | function, | |
const RooNumIntConfig & | config | |||
) | const [virtual] |
Implements RooAbsIntegrator.
Definition at line 145 of file RooMCIntegrator.cxx.
References RooMCIntegrator().
Bool_t RooMCIntegrator::checkLimits | ( | ) | const [virtual] |
Reimplemented from RooAbsIntegrator.
Definition at line 164 of file RooMCIntegrator.cxx.
References _grid, RooGrid::initialize(), and RooAbsIntegrator::integrand().
Implements RooAbsIntegrator.
Definition at line 176 of file RooMCIntegrator.cxx.
References _grid, _nIntegratePerDim, _nRefineIter, _nRefinePerDim, _timer, AllStages, RooGrid::getDimension(), kTRUE, ReuseGrid, TStopwatch::Start(), and vegas().
Double_t RooMCIntegrator::vegas | ( | Stage | stage, | |
UInt_t | calls, | |||
UInt_t | iterations, | |||
Double_t * | absError = 0 | |||
) |
Definition at line 192 of file RooMCIntegrator.cxx.
References _alpha, _calls_per_box, _chi_sum, _chisq, RooAbsIntegrator::_function, _genType, _grid, _it_num, _it_start, _jac, _mode, _result, _samples, _sigma, _sum_wgts, _timer, _wtd_int_sum, RooGrid::accumulate(), AllStages, boxes, RooGrid::createIndexVector(), RooGrid::createPoint(), d, RooGrid::firstBox(), floor(), RooGrid::generatePoint(), RooGrid::getDimension(), RooGrid::getNBins(), RooGrid::getVolume(), Importance, ImportanceOnly, RooGrid::initialize(), RooAbsIntegrator::integrand(), RooFit::Integration, k, kFALSE, kTRUE, m, RooGrid::maxBins, RooGrid::nextBox(), oocoutW, oocxcoutD, oodologD, TMath::Power(), RooGrid::Print(), QuasiRandom, TStopwatch::RealTime(), RooGrid::refine(), RefineGrid, RooGrid::resetValues(), RooGrid::resize(), ReuseGrid, RooGrid::setNBoxes(), sqrt(), TStopwatch::Start(), Stratified, and x.
Referenced by integral().
Double_t RooMCIntegrator::getAlpha | ( | ) | const [inline] |
void RooMCIntegrator::setAlpha | ( | Double_t | alpha | ) | [inline] |
GeneratorType RooMCIntegrator::getGenType | ( | ) | const [inline] |
void RooMCIntegrator::setGenType | ( | GeneratorType | type | ) | [inline] |
const RooGrid& RooMCIntegrator::grid | ( | ) | const [inline] |
virtual Bool_t RooMCIntegrator::canIntegrate1D | ( | ) | const [inline, virtual] |
virtual Bool_t RooMCIntegrator::canIntegrate2D | ( | ) | const [inline, virtual] |
virtual Bool_t RooMCIntegrator::canIntegrateND | ( | ) | const [inline, virtual] |
virtual Bool_t RooMCIntegrator::canIntegrateOpenEnded | ( | ) | const [inline, virtual] |
void RooMCIntegrator::registerIntegrator | ( | RooNumIntFactory & | fact | ) | [static, protected] |
Definition at line 53 of file RooMCIntegrator.cxx.
References RooNumIntConfig::defaultConfig(), RooCategory::defineType(), TObject::GetName(), Importance, ImportanceOnly, RooNumIntConfig::methodND(), PseudoRandom, QuasiRandom, RooMCIntegrator(), RooCategory::setIndex(), RooCategory::setLabel(), RooNumIntFactory::storeProtoIntegrator(), Stratified, and verbose.
Referenced by RooNumIntFactory::RooNumIntFactory().
virtual RooAbsIntegrator* RooMCIntegrator::clone | ( | const RooAbsFunc & | function, | |
const RooNumIntConfig & | config | |||
) | const [virtual] |
Implements RooAbsIntegrator.
virtual Bool_t RooMCIntegrator::checkLimits | ( | ) | const [virtual] |
Reimplemented from RooAbsIntegrator.
Implements RooAbsIntegrator.
Double_t RooMCIntegrator::vegas | ( | Stage | stage, | |
UInt_t | calls, | |||
UInt_t | iterations, | |||
Double_t * | absError = 0 | |||
) |
Double_t RooMCIntegrator::getAlpha | ( | ) | const [inline] |
void RooMCIntegrator::setAlpha | ( | Double_t | alpha | ) | [inline] |
GeneratorType RooMCIntegrator::getGenType | ( | ) | const [inline] |
void RooMCIntegrator::setGenType | ( | GeneratorType | type | ) | [inline] |
const RooGrid& RooMCIntegrator::grid | ( | ) | const [inline] |
virtual Bool_t RooMCIntegrator::canIntegrate1D | ( | ) | const [inline, virtual] |
virtual Bool_t RooMCIntegrator::canIntegrate2D | ( | ) | const [inline, virtual] |
virtual Bool_t RooMCIntegrator::canIntegrateND | ( | ) | const [inline, virtual] |
virtual Bool_t RooMCIntegrator::canIntegrateOpenEnded | ( | ) | const [inline, virtual] |
static void RooMCIntegrator::registerIntegrator | ( | RooNumIntFactory & | fact | ) | [static, protected] |
RooNumIntFactory [friend] |
Definition at line 58 of file RooMCIntegrator.h.
RooGrid RooMCIntegrator::_grid [mutable, protected] |
Definition at line 61 of file RooMCIntegrator.h.
Referenced by checkLimits(), grid(), integral(), RooMCIntegrator(), and vegas().
Bool_t RooMCIntegrator::_verbose [protected] |
Double_t RooMCIntegrator::_alpha [protected] |
Definition at line 65 of file RooMCIntegrator.h.
Referenced by getAlpha(), RooMCIntegrator(), setAlpha(), and vegas().
Int_t RooMCIntegrator::_mode [protected] |
GeneratorType RooMCIntegrator::_genType [protected] |
Definition at line 67 of file RooMCIntegrator.h.
Referenced by getGenType(), RooMCIntegrator(), setGenType(), and vegas().
Int_t RooMCIntegrator::_nRefineIter [protected] |
Int_t RooMCIntegrator::_nRefinePerDim [protected] |
Int_t RooMCIntegrator::_nIntegratePerDim [protected] |
TStopwatch RooMCIntegrator::_timer [protected] |
Double_t RooMCIntegrator::_jac [protected] |
Double_t RooMCIntegrator::_wtd_int_sum [protected] |
Double_t RooMCIntegrator::_sum_wgts [protected] |
Double_t RooMCIntegrator::_chi_sum [protected] |
Double_t RooMCIntegrator::_chisq [protected] |
Double_t RooMCIntegrator::_result [protected] |
Double_t RooMCIntegrator::_sigma [protected] |
UInt_t RooMCIntegrator::_it_start [protected] |
UInt_t RooMCIntegrator::_it_num [protected] |
UInt_t RooMCIntegrator::_samples [protected] |
UInt_t RooMCIntegrator::_calls_per_box [protected] |