16 #ifndef ROO_ACCEPT_REJECT
17 #define ROO_ACCEPT_REJECT
virtual ~RooAcceptReject()
Destructor.
const RooArgSet * nextAcceptedEvent()
Scan through events in the cache which have not been used yet, looking for the first accepted one whi...
void addEventToCache()
Add a trial event to our cache and update our estimates of the function maximum value and integral...
Iterator abstract base class.
RooAbsNumGenerator * clone(const RooAbsReal &func, const RooArgSet &genVars, const RooArgSet &, const RooNumGenConfig &config, Bool_t verbose=kFALSE, const RooAbsReal *maxFuncVal=0) const
virtual Bool_t canSampleCategories() const
#define ClassDef(name, id)
virtual Bool_t canSampleConditional() const
const RooArgSet * generateEvent(UInt_t remaining, Double_t &resampleRatio)
Return a pointer to a generated event.
UInt_t _minTrialsArray[4]
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
double func(double *x, double *p)
static void registerSampler(RooNumGenFactory &fact)
Register RooIntegrator1D, is parameters and capabilities with RooNumIntFactory.