ROOT » ROOFIT » ROOFITCORE » RooFit

namespace RooFit



RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods. Each RooPlotable implementation must define methods that print the objects name, class name, title, value, arguments and extras to a provided stream. The definition of value is class dependent. The definition of arguments is also class dependent, but should always be interpreted as the names (and properties) of any (RooAbsArg) external inputs of a given object. The extras method can be used to print any properties that does not fit in any of the other classes. Each object an also override the definitions made in defaultPrintStyle and defaultPrintContents to determine what is printed (in terms of contents) and how it is printed (inline,single-line or multiline) given a Print() option string.

Function Members (Methods)

public:
RooCmdArgAddTo(const char* name, double wgtSel = 1., double wgtOther = 1.)
RooCmdArgAllBinned()
RooCmdArgAsimov(Bool_t flag = kTRUE)
RooCmdArgAsymmetry(const RooCategory& cat)
RooCmdArgAutoBinned(Bool_t flag = kTRUE)
RooCmdArgAutoBinning(Int_t nbins = 100, Double_t marginFactor = 0.10000000000000001)
RooCmdArgAutoPrecision(Int_t ndigit = 2)
RooCmdArgAutoRange(const RooAbsData& data, Double_t marginFactor = 0.10000000000000001)
RooCmdArgAutoSymBinning(Int_t nbins = 100, Double_t marginFactor = 0.10000000000000001)
RooCmdArgAutoSymRange(const RooAbsData& data, Double_t marginFactor = 0.10000000000000001)
RooCmdArgAxisLabel(const char* name)
RooCmdArgBaseClassName(const char* name)
RooAbsReal*bindFunction(TF1* func, RooAbsReal& x)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD1D func, RooAbsReal& x)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD1I func, RooAbsReal& x)
RooAbsReal*bindFunction(const char* name, const ROOT::Math::IBaseFunctionOneDim& ftor, RooAbsReal& vars)
RooAbsReal*bindFunction(const char* name, const ROOT::Math::IBaseFunctionMultiDim& ftor, const RooArgList& vars)
RooAbsReal*bindFunction(TF2* func, RooAbsReal& x, RooAbsReal& y)
RooAbsReal*bindFunction(TF1* func, RooAbsReal& x, const RooArgList& params)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD2DD func, RooAbsReal& x, RooAbsReal& y)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD2ID func, RooAbsReal& x, RooAbsReal& y)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD2UD func, RooAbsReal& x, RooAbsReal& y)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD2DI func, RooAbsReal& x, RooAbsReal& y)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD2II func, RooAbsReal& x, RooAbsReal& y)
RooAbsReal*bindFunction(TF3* func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsReal*bindFunction(TF2* func, RooAbsReal& x, RooAbsReal& y, const RooArgList& params)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD3DDD func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD3DDB func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD3DII func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD3UDU func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD3UDD func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD3UUD func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsReal*bindFunction(TF3* func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z, const RooArgList& params)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD4DDDD func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z, RooAbsReal& w)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD4DDDI func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z, RooAbsReal& w)
RooAbsReal*bindFunction(const char* name, RooFit::CFUNCD4DDDB func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z, RooAbsReal& w)
RooAbsPdf*bindPdf(TF1* func, RooAbsReal& x)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD1D func, RooAbsReal& x)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD1I func, RooAbsReal& x)
RooAbsPdf*bindPdf(const char* name, const ROOT::Math::IBaseFunctionOneDim& ftor, RooAbsReal& vars)
RooAbsPdf*bindPdf(const char* name, const ROOT::Math::IBaseFunctionMultiDim& ftor, const RooArgList& vars)
RooAbsPdf*bindPdf(TF2* func, RooAbsReal& x, RooAbsReal& y)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD2DD func, RooAbsReal& x, RooAbsReal& y)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD2ID func, RooAbsReal& x, RooAbsReal& y)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD2UD func, RooAbsReal& x, RooAbsReal& y)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD2DI func, RooAbsReal& x, RooAbsReal& y)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD2II func, RooAbsReal& x, RooAbsReal& y)
RooAbsPdf*bindPdf(TF3* func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD3DDD func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD3DDB func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD3DII func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD3UDU func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD3UDD func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD3UUD func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD4DDDD func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z, RooAbsReal& w)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD4DDDI func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z, RooAbsReal& w)
RooAbsPdf*bindPdf(const char* name, RooFit::CFUNCD4DDDB func, RooAbsReal& x, RooAbsReal& y, RooAbsReal& z, RooAbsReal& w)
RooCmdArgBinned(Bool_t flag = kTRUE)
RooCmdArgBinning(const RooAbsBinning& binning)
RooCmdArgBinning(const char* binningName)
RooCmdArgBinning(Int_t nBins, Double_t xlo = 0., Double_t xhi = 0.)
RooCmdArgBins(Int_t nbin)
RooCmdArgClassName(const char* name)
RooCmdArgCloneData(Bool_t flag)
RooCmdArgColor(Color_t color)
RooCmdArgColumns(Int_t ncol)
RooCmdArgComponents(const RooArgSet& compSet)
RooCmdArgComponents(const char* compSpec)
RooCmdArgConditional(const RooArgSet& pdfSet, const RooArgSet& depSet, Bool_t depsAreCond = kFALSE)
RooCmdArgConditionalObservables(const RooArgSet& set)
RooCmdArgConstrain(const RooArgSet& params)
RooCmdArgConstrained()
RooCmdArgCut(const char* cutSpec)
RooCmdArgCut(const RooFormulaVar& cutVar)
RooCmdArgCutRange(const char* rangeName)
RooCmdArgDataError(Int_t)
RooCmdArgDrawOption(const char* opt)
RooCmdArgEfficiency(const RooCategory& cat)
RooCmdArgEmbedded(Bool_t flag = kTRUE)
RooCmdArgEvalErrorValue(Double_t value)
RooCmdArgEvalErrorWall(Bool_t flag)
RooCmdArgEventRange(Int_t nStart, Int_t nStop)
RooCmdArgExpectedData(Bool_t flag = kTRUE)
RooCmdArgExtended(Bool_t flag = kTRUE)
RooCmdArgExternalConstraints(const RooArgSet& constraintPdfs)
RooCmdArgFillColor(Color_t color)
RooCmdArgFillStyle(Style_t style)
RooCmdArgFitGauss(Bool_t flag = kTRUE)
RooCmdArgFitModel(RooAbsPdf& pdf)
RooCmdArgFitOptions(const char* opts)
RooCmdArgFitOptions(const RooCmdArg& arg1, const RooCmdArg& arg2 = RooCmdArg::none(), const RooCmdArg& arg3 = RooCmdArg::none(), const RooCmdArg& arg4 = RooCmdArg::none(), const RooCmdArg& arg5 = RooCmdArg::none(), const RooCmdArg& arg6 = RooCmdArg::none())
RooCmdArgFixedPrecision(Int_t ndigit = 2)
RooCmdArgFormat(const char* format, Int_t sigDigit)
RooCmdArgFormat(const char* what, const RooCmdArg& arg1 = RooCmdArg::none(), const RooCmdArg& arg2 = RooCmdArg::none(), const RooCmdArg& arg3 = RooCmdArg::none(), const RooCmdArg& arg4 = RooCmdArg::none(), const RooCmdArg& arg5 = RooCmdArg::none(), const RooCmdArg& arg6 = RooCmdArg::none(), const RooCmdArg& arg7 = RooCmdArg::none(), const RooCmdArg& arg8 = RooCmdArg::none())
RooCmdArgFrame(const RooCmdArg& arg1, const RooCmdArg& arg2 = RooCmdArg::none(), const RooCmdArg& arg3 = RooCmdArg::none(), const RooCmdArg& arg4 = RooCmdArg::none(), const RooCmdArg& arg5 = RooCmdArg::none(), const RooCmdArg& arg6 = RooCmdArg::none())
RooCmdArgFrameBins(Int_t nbins)
RooCmdArgFrameRange(Double_t xlo, Double_t xhi)
RooCmdArgGenBinned(const char* tag)
RooCmdArgGlobalObservables(const RooArgSet& globs)
RooCmdArgGlobalObservablesTag(const char* tagName)
RooCmdArgHesse(Bool_t flag = kTRUE)
RooCmdArgImport(const map<string,TH1*>&)
RooCmdArgImport(const map<string,RooDataHist*>&)
RooCmdArgImport(const map<string,RooDataSet*>&)
RooCmdArgImport(RooDataSet& data)
RooCmdArgImport(TTree& tree)
RooCmdArgImport(const char* state, TH1& histo)
RooCmdArgImport(const char* state, RooDataHist& dhist)
RooCmdArgImport(TH1& histo, Bool_t importDensity = kFALSE)
RooCmdArgImport(const char* state, RooDataSet& data)
RooCmdArgImportFromFile(const char* fname, const char* tname)
RooCmdArgIndex(RooCategory& icat)
RooCmdArgInitialHesse(Bool_t flag = kTRUE)
RooCmdArgIntegrate(Bool_t flag)
RooCmdArgIntegratedObservables(const RooArgSet& intObs)
RooCmdArgInvisible()
RooCmdArgLabel(const char* str)
RooCmdArgLatexStyle(Bool_t flag = kTRUE)
RooCmdArgLatexTableStyle(Bool_t flag = kTRUE)
RooCmdArgLayout(Double_t xmin, Double_t xmax = 0.98999999999999999, Double_t ymin = 0.94999999999999996)
RooCmdArgLineColor(Color_t color)
RooCmdArgLineStyle(Style_t style)
RooCmdArgLineWidth(Width_t width)
RooCmdArgLink(const map<string,RooAbsData*>&)
RooCmdArgLink(const char* state, RooAbsData& data)
RooCmdArgMarkerColor(Color_t color)
RooCmdArgMarkerSize(Size_t size)
RooCmdArgMarkerStyle(Style_t style)
RooCmdArgMinimizer(const char* type, const char* alg = 0)
RooCmdArgMinos(Bool_t flag = kTRUE)
RooCmdArgMinos(const RooArgSet& minosArgs)
RooCmdArgMoveToBack()
RooCmdArgMultiArg(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3 = RooCmdArg::none(), const RooCmdArg& arg4 = RooCmdArg::none(), const RooCmdArg& arg5 = RooCmdArg::none(), const RooCmdArg& arg6 = RooCmdArg::none(), const RooCmdArg& arg7 = RooCmdArg::none(), const RooCmdArg& arg8 = RooCmdArg::none())
RooCmdArgName(const char* name)
RooCmdArgNormalization(Double_t scaleFactor)
RooCmdArgNormalization(Double_t scaleFactor, Int_t scaleType)
RooCmdArgNormRange(const char* rangeNameList)
RooCmdArgNormSet(const RooArgSet& nset)
RooCmdArgNumCPU(Int_t nCPU, Int_t interleave = 0)
RooCmdArgNumEvents(Int_t numEvents)
RooCmdArgNumEvents(Double_t numEvents)
RooCmdArgNumIntConfig(const RooNumIntConfig& cfg)
RooCmdArgObjectName(const char* name)
RooCmdArgOffset(Bool_t flag = kTRUE)
ostream&operator<<(ostream& os, const RooPrintable& rp)
RooCmdArgOptimize(Int_t flag = 2)
RooCmdArgOutputFile(const char* fileName)
RooCmdArgOutputStream(ostream& os)
RooCmdArgOwnLinked()
RooCmdArgParameters(const RooArgSet& params)
RooCmdArgPrecision(Double_t prec)
RooCmdArgPrefix(Bool_t flag)
RooCmdArgPrintEvalErrors(Int_t numErrors)
RooCmdArgPrintLevel(Int_t code)
RooCmdArgProject(const RooArgSet& projSet)
RooCmdArgProjectedObservables(const RooArgSet& set)
RooCmdArgProjectionRange(const char* rangeName)
RooCmdArgProjWData(const RooAbsData& projData, Bool_t binData = kFALSE)
RooCmdArgProjWData(const RooArgSet& projSet, const RooAbsData& projData, Bool_t binData = kFALSE)
RooCmdArgProtoData(const RooDataSet& protoData, Bool_t randomizeOrder = kFALSE, Bool_t resample = kFALSE)
RooCmdArgRange(const char* rangeName, Bool_t adjustNorm = kTRUE)
RooCmdArgRange(Double_t lo, Double_t hi, Bool_t adjustNorm = kTRUE)
RooCmdArgRecycleConflictNodes(Bool_t flag = kTRUE)
RooCmdArgRefreshNorm()
RooCmdArgRename(const char* suffix)
RooCmdArgRenameAllNodes(const char* suffix)
RooCmdArgRenameAllVariables(const char* suffix)
RooCmdArgRenameAllVariablesExcept(const char* suffix, const char* exceptionList)
RooCmdArgRenameConflictNodes(const char* suffix)
RooCmdArgRenameVariable(const char* inputName, const char* outputName)
RooCmdArgRescale(Double_t factor)
RooCmdArgRestrict(const char* catName, const char* stateNameList)
RooConstVar&RooConst(Double_t val)
RooCmdArgSave(Bool_t flag = kTRUE)
RooCmdArgScaling(Bool_t flag)
RooCmdArgScanAllCdf()
RooCmdArgScanNoCdf()
RooCmdArgScanNumCdf()
RooCmdArgScanParameters(Int_t nbins, Int_t intOrder)
RooCmdArgSelectVars(const RooArgSet& vars)
RooCmdArgShiftToZero()
RooCmdArgShowConstants(Bool_t flag = kTRUE)
RooCmdArgShowProgress()
RooCmdArgSibling(const RooAbsCollection& sibling)
RooCmdArgSilence(Bool_t flag = kTRUE)
RooCmdArgSlice(const RooArgSet& sliceSet)
RooCmdArgSlice(RooCategory& cat, const char* label)
RooCmdArgSplitParam(const char* varname, const char* catname)
RooCmdArgSplitParam(const RooRealVar& var, const RooAbsCategory& cat)
RooCmdArgSplitParamConstrained(const char* varname, const char* catname, const char* rsname)
RooCmdArgSplitParamConstrained(const RooRealVar& var, const RooAbsCategory& cat, const char* rsname)
RooCmdArgSplitRange(Bool_t flag = kTRUE)
RooCmdArgStoreAsymError(const RooArgSet& aset)
RooCmdArgStoreError(const RooArgSet& aset)
RooCmdArgStrategy(Int_t code)
RooCmdArgSumCoefRange(const char* rangeName)
RooCmdArgSumW2Error(Bool_t flag)
RooCmdArgSupNormSet(const RooArgSet& nset)
RooCmdArgTagName(const char* name)
RooCmdArgTimer(Bool_t flag = kTRUE)
RooCmdArgTitle(const char* name)
RooCmdArgTLatexStyle(Bool_t flag = kTRUE)
RooCmdArgTopic(Int_t topic)
RooCmdArgVerbatimName(Bool_t flag = kTRUE)
RooCmdArgVerbose(Bool_t flag = kTRUE)
RooCmdArgVisualizeError(const RooDataSet& paramData, Double_t Z = 1)
RooCmdArgVisualizeError(const RooFitResult& fitres, Double_t Z = 1, Bool_t linearMethod = kTRUE)
RooCmdArgVisualizeError(const RooFitResult& fitres, const RooArgSet& param, Double_t Z = 1, Bool_t linearMethod = kTRUE)
RooCmdArgVLines()
RooCmdArgWarnings(Bool_t flag = kTRUE)
RooCmdArgWeight(Double_t wgt)
RooCmdArgWeightVar(const char* name, Bool_t reinterpretAsWeight = kFALSE)
RooCmdArgWeightVar(const RooRealVar& arg, Bool_t reinterpretAsWeight = kFALSE)
RooCmdArgWhat(const char* str)
RooCmdArgXErrorSize(Double_t width)
RooCmdArgYVar(const RooAbsRealLValue& var, const RooCmdArg& arg = RooCmdArg::none())
RooCmdArgZVar(const RooAbsRealLValue& var, const RooCmdArg& arg = RooCmdArg::none())

Data Members

Class Charts

Function documentation

std::ostream& operator<<(ostream& os, const RooPrintable& rp)