16#ifndef ROO_GENERIC_PDF
17#define ROO_GENERIC_PDF
36 bool readFromStream(std::istream& is,
bool compact,
bool verbose=
false)
override ;
37 void writeToStream(std::ostream& os,
bool compact)
const override ;
75 bool isValidReal(
double ,
bool )
const override {
return true; }
#define ClassDefOverride(name, id)
static void indent(ostringstream &buf, int indent_level)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Abstract container object that can hold multiple RooAbsArg objects.
Storage_t::size_type size() const
RooAbsArg * find(const char *name) const
Find object with given name in list.
Abstract interface for all probability density functions.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooAbsArg * at(Int_t idx) const
Return object at given index, or nullptr if index is out of range.
A class to maintain the context for squashing of RooFit models into code.
Implementation of a probability density function that takes a RooArgList of servers and a C++ express...
double evaluate() const override
Calculate current value of this object.
~RooGenericPdf() override
const char * expression() const
RooAbsArg * getParameter(Int_t index) const
Return pointer to parameter at given index.
bool readFromStream(std::istream &is, bool compact, bool verbose=false) override
Read object contents from given stream.
const RooArgList & dependents() const
void printMetaArgs(std::ostream &os) const override
Add formula expression as meta argument in printing interface.
bool isValidReal(double, bool) const override
Interface function to check if given value is a valid value for this object. Returns true unless over...
void writeToStream(std::ostream &os, bool compact) const override
Write object contents to given stream.
RooAbsArg * getParameter(const char *name) const
Return pointer to parameter with given name.
void translate(RooFit::Detail::CodeSquashContext &ctx) const override
This function defines a translation for each RooAbsReal based object that can be used to express the ...
RooFormula * _formula
! Formula engine
size_t nParameters() const
Return the number of parameters.
RooFormula & formula() const
TString _formExpr
Formula expression string.
void doEval(RooFit::EvalContext &) const override
Base function for computing multiple values of a RooAbsReal.
void printMultiline(std::ostream &os, Int_t content, bool verbose=false, TString indent="") const override
Print info about this object to the specified stream.
bool redirectServersHook(const RooAbsCollection &newServerList, bool mustReplaceAll, bool nameChange, bool isRecursive) override
Propagate server changes to embedded formula object.
TObject * clone(const char *newname) const override
Mother of all ROOT objects.
const char * Data() const