16 #ifndef ROO_SIM_SPLIT_GEN_CONTEXT 17 #define ROO_SIM_SPLIT_GEN_CONTEXT
virtual void generateEvent(RooArgSet &theEvent, Int_t remaining)
this method is empty because it is not used in this type of context
virtual void setExpectedData(Bool_t)
Forward to components.
RooSimSplitGenContext is an efficient implementation of the generator context specific for RooSimulta...
Iterator abstract base class.
RooDataSet * createDataSet(const char *name, const char *title, const RooArgSet &obs)
this method is empty because it is not used by this context
#define ClassDef(name, id)
virtual void attach(const RooArgSet ¶ms)
Attach the index category clone to the given event buffer.
virtual void initGenerator(const RooArgSet &theEvent)
Perform one-time initialization of generator context.
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
static void indent(ostringstream &buf, int indent_level)
const RooSimultaneous * _pdf
RooDataSet is a container class to hold unbinned data.
std::vector< int > _gcIndex
virtual void setProtoDataOrder(Int_t *lut)
this method is empty because proto datasets are not supported by this context
virtual ~RooSimSplitGenContext()
Destructor. Delete all owned subgenerator contexts.
RooAbsCategoryLValue * _idxCat
std::vector< RooAbsGenContext * > _gcList
virtual 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 printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Detailed printing interface.
RooSimultaneous facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset...
RooSimSplitGenContext(const RooSimultaneous &model, const RooArgSet &vars, Bool_t _verbose=kFALSE, Bool_t autoBinned=kTRUE, const char *binnedTag="")
Constructor of specialized generator context for RooSimultaneous p.d.f.s.