60 _actualVars(
"actualVars",
"Variables used by PDF expression",this),
75 const char* inFormula,
const RooArgList& dependents) :
77 _actualVars(
"actualVars",
"Variables used by PDF expression",this),
93 _actualVars(
"actualVars",this,other._actualVars),
95 _formExpr(other._formExpr)
178 os <<
" --- RooGenericPdf --- " << endl ;
192 os <<
"formula=\"" <<
_formExpr <<
"\" " ;
void setValueDirty() const
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Print multi line detailed information of this RooAbsPdf.
RooArgSet * _normSet
Normalization integral (owned by _normMgr)
Double_t traceEval(const RooArgSet *set) const
Calculate current value of object, with error tracing wrapper.
Double_t getVal(const RooArgSet *set=0) const
Evaluate object. Returns either cached value or triggers a recalculation.
RooGenericPdf is a concrete implementation of a probability density function, which takes a RooArgLis...
void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Print info about this object to the specified stream.
Bool_t setFormula(const char *formula)
Change formula expression to given expression.
virtual Double_t evaluate() const
Calculate current value of this object.
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to given stream.
void printMetaArgs(std::ostream &os) const
Add formula expression as meta argument in printing interface.
virtual Bool_t redirectServersHook(const RooAbsCollection &newServerList, Bool_t mustReplaceAll, Bool_t nameChange, Bool_t isRecursive)
Propagate server changes to embedded formula object.
virtual ~RooGenericPdf()
Destructor.
virtual Bool_t isValidReal(Double_t value, Bool_t printError) const
Check if given value is valid.
RooFormula & formula() const
TString _formExpr
Formula engine.
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
TString readLine()
Read an entire line from the stream and return as TString This method recognizes the use of '\' in th...
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.