16#ifndef ROO_ADD_GEN_CONTEXT
17#define ROO_ADD_GEN_CONTEXT
#define ClassDef(name, id)
static void indent(ostringstream &buf, int indent_level)
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
Class RooAcceptReject is a generic toy monte carlo generator implement the accept/reject sampling tec...
RooAddGenContext is an efficient implementation of the generator context specific for RooAddPdf PDFs.
virtual void initGenerator(const RooArgSet &theEvent)
One-time initialization of generator contex.
virtual ~RooAddGenContext()
Destructor. Delete all owned subgenerator contexts.
virtual void setProtoDataOrder(Int_t *lut)
Forward the setProtoDataOrder call to the component generator contexts.
virtual void generateEvent(RooArgSet &theEvent, Int_t remaining)
Randomly choose one of the component contexts to generate this event, with a probability proportional...
virtual void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Print the details of the context.
void updateThresholds()
Update the cumulative threshold table from the current coefficient values.
std::vector< RooAbsGenContext * > _gcList
virtual void attach(const RooArgSet ¶ms)
Attach given set of variables to internal p.d.f. clone.
RooAddGenContext(const RooAddGenContext &other)
RooAddModel::CacheElem * _mcache
RooAddPdf::CacheElem * _pcache
RooAddModel cache element.
Transiet cache with transformed values of coefficients.
RooAddModel is an efficient implementation of a sum of PDFs of the form.
Transient cache with transformed values of coefficients.
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooDataSet is a container class to hold unbinned data.
RooRealIntegral performs hybrid numerical/analytical integrals of RooAbsReal objects.
This is the base class for the ROOT Random number generators.