16 #ifndef ROO_FOAM_GENERATOR 17 #define ROO_FOAM_GENERATOR 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
const RooArgSet * generateEvent(UInt_t remaining, Double_t &resampleRatio)
are we actually generating anything? (the cache always contains at least our function value) ...
RooTFoamBinding * _binding
virtual Bool_t canSampleConditional() const
Iterator abstract base class.
Class RooFoamGenerator is a generic toy monte carlo generator that implement the TFOAM sampling techn...
virtual ~RooFoamGenerator()
Destructor.
#define ClassDef(name, id)
RooRealVar represents a fundamental (non-derived) real valued object.
Class RooAbsNumGenerator is the abstract base class for MC event generator implementations like RooAc...
static void registerSampler(RooNumGenFactory &fact)
Register RooIntegrator1D, is parameters and capabilities with RooNumIntFactory.
RooDataSet is a container class to hold unbinned data.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
double func(double *x, double *p)
Lightweight interface adaptor that binds a RooAbsPdf to TFOAM.
RooNumGenConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooNumGenFactory is a factory to instantiate numeric integrators from a given function binding and a ...