library: libRooFit #include "RooFormula.h" |
RooFormula
class description - source file - inheritance tree (.pdf)
protected:
virtual Double_t DefinedValue(Int_t code)
virtual Int_t DefinedVariable(TString& name, int& action)
Int_t DefinedVariable(TString& name)
void initCopy(const RooFormula& other)
RooFormula& operator=(const RooFormula& other)
public:
RooFormula()
RooFormula(const char* name, const char* formula, const RooArgList& varList)
RooFormula(const RooFormula& other, const char* name = "0")
virtual ~RooFormula()
RooArgSet& actualDependents() const
Bool_t changeDependents(const RooAbsCollection& newDeps, Bool_t mustReplaceAll, Bool_t nameChange)
static TClass* Class()
virtual TObject* Clone(const char* newName = "0") const
void dump()
Double_t eval(const RooArgSet* nset = 0)
RooAbsArg* getParameter(const char* name) const
RooAbsArg* getParameter(Int_t index) const
virtual TClass* IsA() const
Bool_t ok()
virtual void Print(Option_t* options = "0") const
virtual void printToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const
Bool_t reCompile(const char* newFormula)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
RooArgSet* _nset
Bool_t _isOK
RooLinkedList _origList ! Original list of dependents
RooLinkedList _useList ! List of actual dependents
RooArgSet _actual ! Set of actual dependents
RooLinkedList _labelList List of label names for category objects
Bool_t _compiled Flag set if formula is compiled
RooFormula() : TFormula(), _nset(0)
Dummy constructor
RooFormula(const char* name, const char* formula, const RooArgList& list) :
TFormula(), _isOK(kTRUE), _compiled(kFALSE)
Constructor with expression string and list of variables
RooFormula(const RooFormula& other, const char* name) :
TFormula(), RooPrintable(other), _isOK(other._isOK), _compiled(kFALSE)
Copy constructor
Bool_t reCompile(const char* newFormula)
Recompile formula with new expression
~RooFormula()
Destructor
RooArgSet& actualDependents() const
void dump()
DEBUG: Dump state information
Bool_t changeDependents(const RooAbsCollection& newDeps, Bool_t mustReplaceAll, Bool_t nameChange)
Change used variables to those with the same name in given list
Double_t eval(const RooArgSet* nset)
Return current value of formula
DefinedValue(Int_t code)
Return current value for variable indicated by internal reference code
DefinedVariable(TString &name, int& action)
DefinedVariable(TString &name)
Check if a variable with given name is available
void printToStream(ostream& os, PrintOption opt, TString indent) const
Print info about this argument set to the specified stream.
OneLine: use RooPrintable::oneLinePrint()
Standard: our formula
Verbose: formula and list of actual dependents
Inline Functions
TObject* Clone(const char* newName = "0") const
RooAbsArg* getParameter(const char* name) const
RooAbsArg* getParameter(Int_t index) const
Bool_t ok()
void Print(Option_t* options = "0") const
RooFormula& operator=(const RooFormula& other)
void initCopy(const RooFormula& other)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Last update: Tue Jun 28 18:12:22 2005
Copyright (c) 2000-2005, Regents of the University of California *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.