16#ifndef ROO_ABS_NUM_GENERATOR
17#define ROO_ABS_NUM_GENERATOR
60 void printName(std::ostream& os)
const override ;
61 void printTitle(std::ostream& os)
const override ;
63 void printArgs(std::ostream& os)
const override ;
#define ClassDefOverride(name, id)
Class RooAbsNumGenerator is the abstract base class for MC event generator implementations like RooAc...
void printName(std::ostream &os) const override
Print name of the generator.
RooArgSet _realVars
Sets of discrete and real valued observabeles.
RooDataSet * _cache
Dataset holding generared values of observables.
bool _isValid
Verbose and valid flag.
const RooAbsReal * _funcMaxVal
Container for maximum function value.
RooRealVar * _funcValPtr
RRVs storing function value in context and in output dataset.
virtual double getFuncMax()
virtual bool canSampleCategories() const
virtual RooAbsNumGenerator * clone(const RooAbsReal &, const RooArgSet &genVars, const RooArgSet &condVars, const RooNumGenConfig &config, bool verbose=false, const RooAbsReal *maxFuncVal=0) const =0
~RooAbsNumGenerator() override
Destructor.
RooAbsReal * _funcClone
Pointer to top level node of cloned function.
void setVerbose(bool verbose=true)
RooArgSet * _cloneSet
Set owning clone of input function.
virtual bool canSampleConditional() const
void attachParameters(const RooArgSet &vars)
Reattach original parameters to function clone.
void printTitle(std::ostream &os) const override
Print the title of the generator.
void printArgs(std::ostream &os) const override
Print the arguments of the generator.
void Print(Option_t *options=0) const override
Print TNamed name and title.
virtual const RooArgSet * generateEvent(UInt_t remaining, double &resampleRatio)=0
void printClassName(std::ostream &os) const override
Print the class name of the generator.
RooRealVar * _funcValStore
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooDataSet is a container class to hold unbinned data.
RooNumGenConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods.
virtual StyleOption defaultPrintStyle(Option_t *opt) const
virtual Int_t defaultPrintContents(Option_t *opt) const
Default choice of contents to be printed (name and value)
static std::ostream & defaultPrintStream(std::ostream *os=0)
Return a reference to the current default stream to use in Print().
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,...
Lightweight interface adaptor that binds a RooAbsReal object to a subset of its servers and present i...
RooRealVar represents a variable that can be changed from the outside.
The TNamed class is the base class for all named ROOT classes.