Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User |
RooFormulaclass description - source file - inheritance tree (.pdf) class RooFormula : public TFormula, public RooPrintable
protected: Data Membersprotected: Class DescriptionRooFormula is the RFC extension of TFormula. It allows to use the value of a given list of RooAbsArg objects in the formula expression. Reference is done either by the RooAbsArgs name or by list ordinal postion ('@0,@1,...'). State information of RooAbsCategories can be accessed used the '::' operator, e.g. 'tagCat::Kaon' will resolve to the numerical value of the Kaon state of the RooAbsCategory object named tagCat. 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 FunctionsTObject* 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)
|
Page maintained by Wouter Verkerke and David Kirkby |