library: libRooFit
#include "RooFormula.h"

RooFormula


class description - header file - source file - inheritance tree (.pdf)

class RooFormula : public TFormula, public RooPrintable

Inheritance Chart:
TObject
<-
TNamed
<-
TFormula
RooPrintable
<-
RooFormula

    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)

Data Members


    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

Class Description

RooFormula()
 Dummy constructor
RooFormula(const char* name, const char* formula, const RooArgList& list)
 Constructor with expression string and list of variables
RooFormula(const RooFormula& other, const char* name)
 Copy constructor
Bool_t reCompile(const char* newFormula)
 Recompile formula with new expression
~RooFormula()
 Destructor
RooArgSet& actualDependents()
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)
 Print info about this argument set to the specified stream.

   OneLine: use RooPrintable::oneLinePrint()
  Standard: our formula
   Verbose: formula and list of actual dependents
TObject* Clone(const char* newName=0)
RooAbsArg* getParameter(const char* name)
RooAbsArg* getParameter(Int_t index)
Bool_t ok()
 Function value accessor
void Print(Option_t *options= 0)
RooFormula& operator=(const RooFormula& other)
void initCopy(const RooFormula& other)

Last update: Tue Jul 11 11:45:37 2006
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.