16 #ifndef ROO_ADD_GEN_CONTEXT    17 #define ROO_ADD_GEN_CONTEXT RooAddPdf is an efficient implementation of a sum of PDFs of the form. 
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 attach(const RooArgSet ¶ms)
Attach given set of variables to internal p.d.f. clone. 
virtual ~RooAddGenContext()
Destructor. Delete all owned subgenerator contexts. 
Transiet cache with transformed values of coefficients. 
RooAddPdf::CacheElem * _pcache
RooAddModel cache element. 
virtual void setProtoDataOrder(Int_t *lut)
Forward the setProtoDataOrder call to the component generator contexts. 
Iterator abstract base class. 
RooRealIntegral performs hybrid numerical/analytical integrals of RooAbsReal objects The class perfor...
#define ClassDef(name, id)
This is the base class for the ROOT Random number generators. 
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects. 
RooAddGenContext(const RooAddPdf &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. 
void updateThresholds()
Update the cumulative threshold table from the current coefficient values. 
virtual void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Print the details of the context. 
Class RooAcceptReject is a generic toy monte carlo generator implement the accept/reject sampling tec...
RooDataSet is a container class to hold unbinned data. 
Transiet cache with transformed values of coefficients. 
RooAddModel::CacheElem * _mcache
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooAddGenContext is an efficient implementation of the generator context specific for RooAddPdf PDFs...
std::vector< RooAbsGenContext * > _gcList