16#ifndef ROO_BINNED_GEN_CONTEXT
17#define ROO_BINNED_GEN_CONTEXT
36 RooDataSet*
generate(
double nEvents=0,
bool skipInit=
false,
bool extendedMode=
false)
override ;
#define ClassDefOverride(name, id)
static void indent(ostringstream &buf, int indent_level)
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
bool _verbose
Verbose messaging?
Class RooAcceptReject is a generic toy monte carlo generator implement the accept/reject sampling tec...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooBinnedGenContext is an efficient implementation of the generator context specific for binned pdfs.
RooAbsPdf * _pdf
Pointer to cloned p.d.f.
~RooBinnedGenContext() override
Destructor. Delete all owned subgenerator contexts.
bool _expectedData
Asimov?
void generateEvent(RooArgSet &theEvent, Int_t remaining) override
this method is not implemented for this context
void setProtoDataOrder(Int_t *) override
Set the traversal order of prototype data to that in the lookup tables passed as argument.
RooBinnedGenContext(const RooAbsPdf &model, const RooArgSet &vars, const RooDataSet *prototype=0, const RooArgSet *auxProto=0, bool _verbose=false)
Constructor.
RooBinnedGenContext(const RooBinnedGenContext &other)
void printMultiline(std::ostream &os, Int_t content, bool verbose=false, TString indent="") const override
Print the details of the context.
RooDataSet * generate(double nEvents=0, bool skipInit=false, bool extendedMode=false) override
Generate the specified number of events with nEvents>0 and and return a dataset containing the genera...
void setExpectedData(bool) override
RooDataHist * _hist
Histogram.
void initGenerator(const RooArgSet &theEvent) override
One-time initialization of generator contex.
void attach(const RooArgSet ¶ms) override
Attach given set of variables to internal p.d.f. clone.
RooArgSet * _pdfSet
Set owned all nodes of internal clone of p.d.f.
The RooDataHist is a container class to hold N-dimensional binned data.
RooDataSet is a container class to hold unbinned data.
RooRealIntegral performs hybrid numerical/analytical integrals of RooAbsReal objects.
Iterator abstract base class.
This is the base class for the ROOT Random number generators.