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(const RooAbsPdf &model, const RooArgSet &vars, const RooDataSet *prototype=0, const RooArgSet *auxProto=0, Bool_t _verbose=kFALSE)
Constructor.
virtual void initGenerator(const RooArgSet &theEvent)
One-time initialization of generator contex.
RooBinnedGenContext(const RooBinnedGenContext &other)
virtual void attach(const RooArgSet ¶ms)
Attach given set of variables to internal p.d.f. clone.
virtual void generateEvent(RooArgSet &theEvent, Int_t remaining)
this method is not implemented for this context
virtual ~RooBinnedGenContext()
Destructor. Delete all owned subgenerator contexts.
virtual void setExpectedData(Bool_t)
virtual void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Print the details of the context.
RooDataSet * generate(Double_t nEvents=0, Bool_t skipInit=kFALSE, Bool_t extendedMode=kFALSE)
Generate the specified number of events with nEvents>0 and and return a dataset containing the genera...
virtual void setProtoDataOrder(Int_t *)
Set the traversal order of prototype data to that in the lookup tables passed as argument.