ROOT » ROOFIT » ROOFITCORE » RooFormula

class RooFormula: public ROOT::v5::TFormula, public RooPrintable



RooFormula an implementation of ROOT::v5::TFormula that interfaces it to RooAbsArg value objects. 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.

Function Members (Methods)

public:
virtual~RooFormula()
voidTObject::AbstractMethod(const char* method) const
RooArgSet&actualDependents() const
virtual voidROOT::v5::TFormula::Analyze(const char* schain, Int_t& err, Int_t offset = 0)
virtual Bool_tROOT::v5::TFormula::AnalyzeFunction(TString& chaine, Int_t& err, Int_t offset = 0)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
Bool_tchangeDependents(const RooAbsCollection& newDeps, Bool_t mustReplaceAll, Bool_t nameChange)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidROOT::v5::TFormula::Clear(Option_t* option = "")
virtual TObject*Clone(const char* newName = 0) const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Int_tROOT::v5::TFormula::Compile(const char* expression = "")
virtual voidROOT::v5::TFormula::Copy(TObject& formula) const
virtual Int_tRooPrintable::defaultPrintContents(Option_t* opt) const
static ostream&RooPrintable::defaultPrintStream(ostream* os = 0)
virtual RooPrintable::StyleOptionRooPrintable::defaultPrintStyle(Option_t* opt) const
virtual char*ROOT::v5::TFormula::DefinedString(Int_t code)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
voiddump()
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
Double_teval(const RooArgSet* nset = 0)
virtual Double_tROOT::v5::TFormula::Eval(Double_t x, Double_t y = 0, Double_t z = 0, Double_t t = 0) const
virtual Double_tROOT::v5::TFormula::EvalPar(const Double_t* x, const Double_t* params = 0)
virtual Double_tROOT::v5::TFormula::EvalParOld(const Double_t* x, const Double_t* params = 0)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual TStringROOT::v5::TFormula::GetExpFormula(Option_t* option = "") const
virtual const char*TObject::GetIconName() const
virtual const TObject*ROOT::v5::TFormula::GetLinearPart(Int_t i)
static voidROOT::v5::TFormula::GetMaxima(Int_t& maxop, Int_t& maxpar, Int_t& maxconst)
virtual const char*TNamed::GetName() const
virtual Int_tROOT::v5::TFormula::GetNdim() const
virtual Int_tROOT::v5::TFormula::GetNpar() const
virtual Int_tROOT::v5::TFormula::GetNumber() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
RooAbsArg*getParameter(const char* name) const
RooAbsArg*getParameter(Int_t index) const
Double_tROOT::v5::TFormula::GetParameter(Int_t ipar) const
Double_tROOT::v5::TFormula::GetParameter(const char* name) const
virtual Double_t*ROOT::v5::TFormula::GetParameters() const
virtual voidROOT::v5::TFormula::GetParameters(Double_t* params)
virtual const char*ROOT::v5::TFormula::GetParName(Int_t ipar) const
virtual Int_tROOT::v5::TFormula::GetParNumber(const char* name) const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tROOT::v5::TFormula::IsLinear() const
virtual Bool_tROOT::v5::TFormula::IsNormalized() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
static voidRooPrintable::nameFieldLength(Int_t newLen)
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
Bool_tok()
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
voidROOT::v5::TFormula::Optimize()
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* options = 0) const
virtual voidRooPrintable::printAddress(ostream& os) const
virtual voidprintArgs(ostream& os) const
virtual voidprintClassName(ostream& os) const
virtual voidRooPrintable::printExtras(ostream& os) const
virtual voidprintMultiline(ostream& os, Int_t contents, Bool_t verbose = kFALSE, TString indent = "") const
virtual voidprintName(ostream& os) const
virtual voidRooPrintable::printStream(ostream& os, Int_t contents, RooPrintable::StyleOption style, TString indent = "") const
virtual voidprintTitle(ostream& os) const
virtual voidRooPrintable::printTree(ostream& os, TString indent = "") const
virtual voidprintValue(ostream& os) const
virtual voidROOT::v5::TFormula::ProcessLinear(TString& replaceformula)
virtual Int_tTObject::Read(const char* name)
Bool_treCompile(const char* newFormula)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
RooFormula()
RooFormula(const RooFormula& other, const char* name = 0)
RooFormula(const char* name, const char* formula, const RooArgList& varList)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidROOT::v5::TFormula::SetMaxima(Int_t maxop = 1000, Int_t maxpar = 1000, Int_t maxconst = 1000)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
virtual voidROOT::v5::TFormula::SetNumber(Int_t number)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidROOT::v5::TFormula::SetParameter(const char* name, Double_t parvalue)
virtual voidROOT::v5::TFormula::SetParameter(Int_t ipar, Double_t parvalue)
virtual voidROOT::v5::TFormula::SetParameters(const Double_t* params)
virtual voidROOT::v5::TFormula::SetParameters(Double_t p0, Double_t p1, Double_t p2 = 0, Double_t p3 = 0, Double_t p4 = 0, Double_t p5 = 0, Double_t p6 = 0, Double_t p7 = 0, Double_t p8 = 0, Double_t p9 = 0, Double_t p10 = 0)MENU
virtual voidROOT::v5::TFormula::SetParName(Int_t ipar, const char* name)
virtual voidROOT::v5::TFormula::SetParNames(const char* name0 = "p0", const char* name1 = "p1", const char* name2 = "p2", const char* name3 = "p3", const char* name4 = "p4", const char* name5 = "p5", const char* name6 = "p6", const char* name7 = "p7", const char* name8 = "p8", const char* name9 = "p9", const char* name10 = "p10")MENU
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
ROOT::v5::TFormulaROOT::v5::TFormula::TFormula()
ROOT::v5::TFormulaROOT::v5::TFormula::TFormula(const ROOT::v5::TFormula& formula)
ROOT::v5::TFormulaROOT::v5::TFormula::TFormula(const char* name, const char* formula)
virtual voidROOT::v5::TFormula::Update()
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual Bool_tROOT::v5::TFormula::CheckOperands(Int_t operation, Int_t& err)
virtual Bool_tROOT::v5::TFormula::CheckOperands(Int_t leftoperand, Int_t rightoperartion, Int_t& err)
voidROOT::v5::TFormula::ClearFormula(Option_t* option = "")
virtual voidROOT::v5::TFormula::Convert(UInt_t fromVersion)
virtual Double_tDefinedValue(Int_t code)
Int_tDefinedVariable(TString& name)
virtual Int_tDefinedVariable(TString& name, int& action)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
Double_tROOT::v5::TFormula::EvalParFast(const Double_t* x, const Double_t* params)
Double_tROOT::v5::TFormula::EvalPrimitive(const Double_t* x, const Double_t* params)
Double_tROOT::v5::TFormula::EvalPrimitive0(const Double_t* x, const Double_t* params)
Double_tROOT::v5::TFormula::EvalPrimitive1(const Double_t* x, const Double_t* params)
Double_tROOT::v5::TFormula::EvalPrimitive2(const Double_t* x, const Double_t* params)
Double_tROOT::v5::TFormula::EvalPrimitive3(const Double_t* x, const Double_t* params)
Double_tROOT::v5::TFormula::EvalPrimitive4(const Double_t* x, const Double_t* params)
Short_tROOT::v5::TFormula::GetAction(Int_t code) const
Short_tROOT::v5::TFormula::GetActionOptimized(Int_t code) const
Int_tROOT::v5::TFormula::GetActionParam(Int_t code) const
Int_tROOT::v5::TFormula::GetActionParamOptimized(Int_t code) const
Int_t*ROOT::v5::TFormula::GetOper() const
Int_t*ROOT::v5::TFormula::GetOperOptimized() const
voidinitCopy(const RooFormula& other)
virtual Bool_tROOT::v5::TFormula::IsString(Int_t oper) const
voidROOT::v5::TFormula::MakePrimitive(const char* expr, Int_t pos)
voidTObject::MakeZombie()
RooFormula&operator=(const RooFormula& other)
Int_tROOT::v5::TFormula::PreCompile()
voidROOT::v5::TFormula::SetAction(Int_t code, Int_t value, Int_t param = 0)
voidROOT::v5::TFormula::SetActionOptimized(Int_t code, Int_t value, Int_t param = 0)
virtual Bool_tROOT::v5::TFormula::StringToNumber(Int_t code)

Data Members

public:
static RooPrintable::ContentsOptionRooPrintable::kAddress
static RooPrintable::ContentsOptionRooPrintable::kArgs
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static RooPrintable::ContentsOptionRooPrintable::kClassName
static RooPrintable::ContentsOptionRooPrintable::kCollectionHeader
static RooPrintable::ContentsOptionRooPrintable::kExtras
static TObject::EStatusBitsTObject::kHasUUID
static RooPrintable::StyleOptionRooPrintable::kInline
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kLinear
static TObject::EStatusBitsTObject::kMustCleanup
static RooPrintable::ContentsOptionRooPrintable::kName
static TObject::EStatusBitsTObject::kNoContextMenu
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kNormalized
static TObject::(anonymous)TObject::kNotDeleted
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kNotGlobal
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static RooPrintable::StyleOptionRooPrintable::kSingleLine
static RooPrintable::StyleOptionRooPrintable::kStandard
static RooPrintable::ContentsOptionRooPrintable::kTitle
static RooPrintable::StyleOptionRooPrintable::kTreeStructure
static RooPrintable::ContentsOptionRooPrintable::kValue
static RooPrintable::StyleOptionRooPrintable::kVerbose
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
RooArgSet_actual! Set of actual dependents
Bool_t_compiledFlag set if formula is compiled
Bool_t_isOKIs internal state OK?
RooLinkedList_labelListList of label names for category objects
static Int_tRooPrintable::_nameLength
RooArgSet*_nset
RooLinkedList_origList! Original list of dependents
vector<Bool_t>_useIsCat! Is given slot in _useList a category?
RooLinkedList_useList! List of actual dependents
TBitsROOT::v5::TFormula::fAlreadyFound! cache for information
Double_t*ROOT::v5::TFormula::fConst[fNconst] Array of fNconst formula constants
TString*ROOT::v5::TFormula::fExpr[fNoper] List of expressions
TString*ROOT::v5::TFormula::fExprOptimized![fNOperOptimized] List of expressions
TObjArrayROOT::v5::TFormula::fFunctionsArray of function calls to make
TObjArrayROOT::v5::TFormula::fLinearPartsLinear parts if the formula is linear (contains '|' or "++")
Int_tROOT::v5::TFormula::fNOperOptimized!Number of operators after optimization
TStringTNamed::fNameobject identifier
TString*ROOT::v5::TFormula::fNames[fNpar] Array of parameter names
Int_tROOT::v5::TFormula::fNconstNumber of constants
Int_tROOT::v5::TFormula::fNdimDimension of function (1=1-Dim, 2=2-Dim,etc)
Int_tROOT::v5::TFormula::fNoperNumber of operators
Int_tROOT::v5::TFormula::fNparNumber of parameters
Int_tROOT::v5::TFormula::fNstringNumber of different constants character strings
Int_tROOT::v5::TFormula::fNumberformula number identifier
Int_tROOT::v5::TFormula::fNvalNumber of different variables in expression
ROOT::v5::TOperOffset*ROOT::v5::TFormula::fOperOffset![fNOperOptimized] Offsets of operrands
Int_t*ROOT::v5::TFormula::fOperOptimized![fNOperOptimized] List of operators. (See documentation for changes made at version 7)
ROOT::v5::TFormula::TFuncGROOT::v5::TFormula::fOptimal!pointer to optimal function
Double_t*ROOT::v5::TFormula::fParams[fNpar] Array of fNpar parameters
ROOT::v5::TFormulaPrimitive**ROOT::v5::TFormula::fPredefined![fNPar] predefined function
TStringTNamed::fTitleobject title
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kAdd
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kAnd
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kBinary
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kBitAnd
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kBitOr
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kBoolOptimize
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kBoolOptimizeAnd
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kBoolOptimizeOr
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kBoolSet
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kConstant
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kData
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kDefinedString
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kDefinedVariable
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kDivide
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kEnd
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kEqual
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kFD0
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kFD1
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kFD2
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kFD3
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kFDM
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kFunctionCall
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kGreater
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kGreaterThan
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kJump
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kJumpIf
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kLeftShift
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kLess
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kLessThan
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kModulo
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kMultD
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kMultDD
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kMultiply
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kNot
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kNotEqual
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kOr
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kParameter
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kPlusD
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kPlusDD
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kRightShift
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kSignInv
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kStringConst
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kStringEqual
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kStringNotEqual
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kSubstract
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kThree
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kUnary
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kVariable
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kabs
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kacos
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kacosh
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kasin
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kasinh
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::katan
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::katan2
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::katanh
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kcos
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kcosh
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kexp
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kexpo
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kfmod
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kgaus
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kint
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::klandau
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::klog
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::klog10
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kmax
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kmin
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kpi
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kpol
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kpow
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::krndm
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::ksign
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::ksin
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::ksinh
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::ksq
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::ksqrt
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kstrstr
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::ktan
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::ktanh
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kxexpo
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kxgaus
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kxlandau
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kxpol
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kxyexpo
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kxygaus
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kxylandau
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kyexpo
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kygaus
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kylandau
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kypol
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kzexpo
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kzgaus
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kzlandau
static ROOT::v5::TFormula::(anonymous)ROOT::v5::TFormula::kzpol

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooFormula()
 Default constructor
 coverity[UNINIT_CTOR]
RooFormula(const char* name, const char* formula, const RooArgList& varList)
 Constructor with expression string and list of RooAbsArg variables
RooFormula(const RooFormula& other, const char* name = 0)
 Copy constructor
Bool_t reCompile(const char* newFormula)
 Recompile formula with new expression
~RooFormula()
 Destructor
RooArgSet& actualDependents() const
 Return list of RooAbsArg dependents that is actually used by formula expression
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
 If mustReplaceAll is true and error is generated if one of the
 elements of newDeps is not found as a server
Double_t eval(const RooArgSet* nset = 0)
 Evaluate ROOT::v5::TFormula using given normalization set to be used as
 observables definition passed to RooAbsReal::getVal()
DefinedValue(Int_t code)
 Interface to ROOT::v5::TFormula, return value defined by object with id 'code'
 Object ids are mapped from object names by method DefinedVariable()
Int_t DefinedVariable(TString& name, int& action)
 Interface to ROOT::v5::TFormula. If name passed by ROOT::v5::TFormula is recognized
 as one of our RooAbsArg servers, return a unique id integer
 that represent this variable.
Int_t DefinedVariable(TString& name)
 Interface to ROOT::v5::TFormula. If name passed by ROOT::v5::TFormula is recognized
 as one of our RooAbsArg servers, return a unique id integer
 that represent this variable.
void printMultiline(ostream& os, Int_t contents, Bool_t verbose = kFALSE, TString indent = "") const
 Printing interface
void printValue(ostream& os) const
 Print value of formula
void printName(ostream& os) const
 Print name of formula
void printTitle(ostream& os) const
 Print title of formula
void printClassName(ostream& os) const
 Print class name of formula
void printArgs(ostream& os) const
 Print arguments of formula, i.e. dependents that are actually used
TObject* Clone(const char* newName = 0) const
{ return new RooFormula(*this,newName) ; }
RooAbsArg* getParameter(const char* name) const
 Return pointer to parameter with given name
RooAbsArg* getParameter(Int_t index) const
 Return pointer to parameter at given index
Bool_t ok()
 Function value accessor
{ return _isOK ; }
void Print(Option_t* options = 0) const
 Printing interface (human readable)
RooFormula& operator=(const RooFormula& other)
void initCopy(const RooFormula& other)