#include <RooGenericPdf.h>
Inheritance diagram for RooGenericPdf:
Public Member Functions | |
RooGenericPdf () | |
RooGenericPdf (const char *name, const char *title, const char *formula, const RooArgList &dependents) | |
RooGenericPdf (const char *name, const char *title, const RooArgList &dependents) | |
RooGenericPdf (const RooGenericPdf &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual | ~RooGenericPdf () |
virtual Bool_t | readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE) |
virtual void | writeToStream (ostream &os, Bool_t compact) const |
void | printMultiline (ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const |
void | printMetaArgs (ostream &os) const |
void | dumpFormula () |
RooGenericPdf () | |
RooGenericPdf (const char *name, const char *title, const char *formula, const RooArgList &dependents) | |
RooGenericPdf (const char *name, const char *title, const RooArgList &dependents) | |
RooGenericPdf (const RooGenericPdf &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual | ~RooGenericPdf () |
virtual Bool_t | readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE) |
virtual void | writeToStream (ostream &os, Bool_t compact) const |
void | printMultiline (ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const |
void | printMetaArgs (ostream &os) const |
void | dumpFormula () |
Protected Member Functions | |
RooFormula & | formula () const |
virtual Double_t | evaluate () const |
Bool_t | setFormula (const char *formula) |
virtual Bool_t | redirectServersHook (const RooAbsCollection &newServerList, Bool_t mustReplaceAll, Bool_t nameChange, Bool_t isRecursive) |
virtual Bool_t | isValidReal (Double_t value, Bool_t printError) const |
RooFormula & | formula () const |
virtual Double_t | evaluate () const |
Bool_t | setFormula (const char *formula) |
virtual Bool_t | redirectServersHook (const RooAbsCollection &newServerList, Bool_t mustReplaceAll, Bool_t nameChange, Bool_t isRecursive) |
virtual Bool_t | isValidReal (Double_t value, Bool_t printError) const |
Protected Attributes | |
RooListProxy | _actualVars |
RooFormula * | _formula |
TString | _formExpr |
Formula engine. | |
RooFormula * | _formula |
Definition at line 25 of file RooGenericPdf.h.
RooGenericPdf::RooGenericPdf | ( | ) | [inline] |
RooGenericPdf::RooGenericPdf | ( | const char * | name, | |
const char * | title, | |||
const char * | formula, | |||
const RooArgList & | dependents | |||
) |
Definition at line 68 of file RooGenericPdf.cxx.
References _actualVars, RooAbsReal::_value, RooListProxy::add(), RooAbsCollection::getSize(), and RooAbsReal::traceEval().
RooGenericPdf::RooGenericPdf | ( | const char * | name, | |
const char * | title, | |||
const RooArgList & | dependents | |||
) |
RooGenericPdf::RooGenericPdf | ( | const RooGenericPdf & | other, | |
const char * | name = 0 | |||
) |
Definition at line 85 of file RooGenericPdf.cxx.
RooGenericPdf::~RooGenericPdf | ( | ) | [virtual] |
RooGenericPdf::RooGenericPdf | ( | ) | [inline] |
Definition at line 28 of file RooGenericPdf.h.
RooGenericPdf::RooGenericPdf | ( | const char * | name, | |
const char * | title, | |||
const char * | formula, | |||
const RooArgList & | dependents | |||
) |
RooGenericPdf::RooGenericPdf | ( | const char * | name, | |
const char * | title, | |||
const RooArgList & | dependents | |||
) |
RooGenericPdf::RooGenericPdf | ( | const RooGenericPdf & | other, | |
const char * | name = 0 | |||
) |
virtual RooGenericPdf::~RooGenericPdf | ( | ) | [virtual] |
virtual TObject* RooGenericPdf::clone | ( | const char * | newname | ) | const [inline, virtual] |
Bool_t RooGenericPdf::readFromStream | ( | istream & | is, | |
Bool_t | compact, | |||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
Reimplemented from RooAbsReal.
Definition at line 189 of file RooGenericPdf.cxx.
References coutE, TNamed::GetName(), RooFit::InputArguments, kTRUE, RooStreamParser::readLine(), and setFormula().
void RooGenericPdf::writeToStream | ( | ostream & | os, | |
Bool_t | compact | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Definition at line 204 of file RooGenericPdf.cxx.
References TNamed::GetTitle(), and RooAbsPdf::getVal().
void RooGenericPdf::printMultiline | ( | ostream & | os, | |
Int_t | content, | |||
Bool_t | verbose = kFALSE , |
|||
TString | indent = "" | |||
) | const [virtual] |
Reimplemented from RooAbsPdf.
Definition at line 164 of file RooGenericPdf.cxx.
References TString::Append(), formula(), RooAbsPdf::printMultiline(), and RooFormula::printMultiline().
void RooGenericPdf::printMetaArgs | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooAbsArg.
Definition at line 180 of file RooGenericPdf.cxx.
References _formExpr.
void RooGenericPdf::dumpFormula | ( | ) | [inline] |
RooFormula & RooGenericPdf::formula | ( | ) | const [protected] |
Definition at line 106 of file RooGenericPdf.cxx.
References _actualVars, _formExpr, _formula, TString::Data(), and TNamed::GetName().
Referenced by dumpFormula(), evaluate(), printMultiline(), and setFormula().
Double_t RooGenericPdf::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
Definition at line 117 of file RooGenericPdf.cxx.
References RooAbsPdf::_normSet, RooFormula::eval(), and formula().
Bool_t RooGenericPdf::setFormula | ( | const char * | formula | ) | [protected] |
Definition at line 127 of file RooGenericPdf.cxx.
References _formExpr, formula(), kFALSE, kTRUE, and RooAbsArg::setValueDirty().
Referenced by readFromStream().
Bool_t RooGenericPdf::redirectServersHook | ( | const RooAbsCollection & | newServerList, | |
Bool_t | mustReplaceAll, | |||
Bool_t | nameChange, | |||
Bool_t | isRecursive | |||
) | [protected, virtual] |
Reimplemented from RooAbsPdf.
Definition at line 150 of file RooGenericPdf.cxx.
References _formula, RooFormula::changeDependents(), and kTRUE.
virtual TObject* RooGenericPdf::clone | ( | const char * | newname | ) | const [inline, virtual] |
virtual Bool_t RooGenericPdf::readFromStream | ( | istream & | is, | |
Bool_t | compact, | |||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
Reimplemented from RooAbsReal.
virtual void RooGenericPdf::writeToStream | ( | ostream & | os, | |
Bool_t | compact | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
void RooGenericPdf::printMultiline | ( | ostream & | os, | |
Int_t | content, | |||
Bool_t | verbose = kFALSE , |
|||
TString | indent = "" | |||
) | const [virtual] |
Reimplemented from RooAbsPdf.
void RooGenericPdf::printMetaArgs | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooAbsArg.
void RooGenericPdf::dumpFormula | ( | ) | [inline] |
RooFormula& RooGenericPdf::formula | ( | ) | const [protected] |
virtual Double_t RooGenericPdf::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
Bool_t RooGenericPdf::setFormula | ( | const char * | formula | ) | [protected] |
virtual Bool_t RooGenericPdf::redirectServersHook | ( | const RooAbsCollection & | newServerList, | |
Bool_t | mustReplaceAll, | |||
Bool_t | nameChange, | |||
Bool_t | isRecursive | |||
) | [protected, virtual] |
Reimplemented from RooAbsPdf.
virtual Bool_t RooGenericPdf::isValidReal | ( | Double_t | value, | |
Bool_t | printError | |||
) | const [protected, virtual] |
Reimplemented from RooAbsReal.
RooListProxy RooGenericPdf::_actualVars [protected] |
RooFormula* RooGenericPdf::_formula [mutable, protected] |
Definition at line 61 of file RooGenericPdf.h.
Referenced by formula(), redirectServersHook(), and ~RooGenericPdf().
TString RooGenericPdf::_formExpr [protected] |
Formula engine.
Definition at line 62 of file RooGenericPdf.h.
Referenced by formula(), printMetaArgs(), and setFormula().
RooFormula* RooGenericPdf::_formula [mutable, protected] |
Definition at line 61 of file RooGenericPdf.h.