RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
Class RooGenContext implement a universal generator context for all RooAbsPdf classes that do not hav...
virtual void attach(const RooArgSet ¶ms)
Attach the cloned model to the event buffer we will be filling.
virtual void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Printing interface.
virtual void generateEvent(RooArgSet &theEvent, Int_t remaining)
Generate one event.
RooGenContext(const RooAbsPdf &model, const RooArgSet &vars, const RooDataSet *prototype=0, const RooArgSet *auxProto=0, Bool_t verbose=kFALSE, const RooArgSet *forceDirect=0)
Initialize a new context for generating events with the specified variables, using the specified PDF ...
Int_t _updateFMaxPerEvent
RooRealIntegral * _acceptRejectFunc
RooAbsNumGenerator * _generator
virtual void initGenerator(const RooArgSet &theEvent)
Perform one-time initialization of the generator context.