RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
RooBinnedGenContext is an efficient implementation of the generator context specific for binned pdfs.
~RooBinnedGenContext() override
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 RooBinnedGenContext &other)
std::unique_ptr< RooDataHist > _hist
Histogram.
void printMultiline(std::ostream &os, Int_t content, bool verbose=false, TString indent="") const override
Print the details of the context.
RooArgSet _pdfSet
Set owned all nodes of internal clone of p.d.f.
void setExpectedData(bool) override
std::unique_ptr< RooArgSet > _vars
void initGenerator(const RooArgSet &theEvent) override
One-time initialization of generator contex.
RooDataSet * generate(double nEvents=0.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 attach(const RooArgSet ¶ms) override
Attach given set of variables to internal p.d.f. clone.