16#ifndef ROO_GENERIC_PDF
17#define ROO_GENERIC_PDF
35 bool readFromStream(std::istream& is,
bool compact,
bool verbose=
false)
override ;
36 void writeToStream(std::ostream& os,
bool compact)
const override ;
#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
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
RooAbsCollection is an 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.
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.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooGenericPdf is a concrete implementation of a probability density function, which takes a RooArgLis...
double evaluate() const override
Calculate current value of this object.
RooSpan< double > evaluateSpan(RooBatchCompute::RunContext &inputData, const RooArgSet *normSet) const override
Evaluate this formula for values found in inputData.
const char * expression() const
bool setFormula(const char *formula)
Change formula expression to given expression.
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
bool isValidReal(double value, bool printError) const override
Check if given value is valid.
void printMetaArgs(std::ostream &os) const override
Add formula expression as meta argument in printing interface.
void writeToStream(std::ostream &os, bool compact) const override
Write object contents to given stream.
void computeBatch(cudaStream_t *, double *output, size_t nEvents, RooFit::Detail::DataMap const &) const override
Base function for computing multiple values of a RooAbsReal.
std::unique_ptr< RooFormula > _formula
! Formula engine
RooAbsArg * getParameter(const char *name) const
Return pointer to parameter with given name.
size_t nParameters() const
Return the number of parameters.
RooFormula & formula() const
TString _formExpr
Formula expression string.
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
A simple container to hold a batch of data values.
Mother of all ROOT objects.
const char * Data() const
This struct enables passing computation data around between elements of a computation graph.