16 #ifndef ROO_ABS_GEN_CONTEXT
17 #define ROO_ABS_GEN_CONTEXT
57 virtual void printName(std::ostream& os)
const ;
58 virtual void printTitle(std::ostream& os)
const ;
60 virtual void printArgs(std::ostream& os)
const ;
virtual void printName(std::ostream &os) const
Print name of context.
virtual void printStream(std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'.
const RooDataSet * _prototype
virtual StyleOption defaultPrintStyle(Option_t *opt) const
Define default print style.
virtual void printArgs(std::ostream &os) const
Print arguments of context, i.e. the observables being generated in this context. ...
#define ClassDef(name, id)
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
The TNamed class is the base class for all named ROOT classes.
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
virtual void attach(const RooArgSet ¶ms)
Interface to attach given parameters to object in this context.
void setVerbose(Bool_t verbose=kTRUE)
virtual void setExpectedData(Bool_t)
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
virtual void generateEvent(RooArgSet &theEvent, Int_t remaining)=0
virtual void printTitle(std::ostream &os) const
Print title of context.
static void indent(ostringstream &buf, int indent_level)
virtual void Print(Option_t *options=0) const
Print TNamed name and title.
RooDataSet is a container class to hold unbinned data.
RooAbsGenContext(const RooAbsPdf &model, const RooArgSet &vars, const RooDataSet *prototype=0, const RooArgSet *auxProto=0, Bool_t _verbose=kFALSE)
Constructor.
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Interface for multi-line printing.
virtual void setProtoDataOrder(Int_t *lut)
Set the traversal order of prototype data to that in the lookup tables passed as argument.
virtual ~RooAbsGenContext()
Destructor.
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 Int_t defaultPrintContents(Option_t *opt) const
Define default contents when printing.
void resampleData(Double_t &ratio)
Rescale existing output buffer with given ratio.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual void initGenerator(const RooArgSet &theEvent)
Interface function to initialize context for generation for given set of observables.
RooAbsPdf::ExtendMode _extendMode
virtual RooDataSet * createDataSet(const char *name, const char *title, const RooArgSet &obs)
Create an empty dataset to hold the events that will be generated.
virtual void printClassName(std::ostream &os) const
Print class name of context.