Logo ROOT  
Reference Guide
Arguments for plotOn functions

Functions

RooCmdArg RooFit::AddTo (const char *name, double wgtSel=1.0, double wgtOther=1.0)
 
RooCmdArg RooFit::Asymmetry (const RooCategory &cat)
 
RooCmdArg RooFit::Binning (const char *binningName)
 
RooCmdArg RooFit::Binning (const RooAbsBinning &binning)
 
RooCmdArg RooFit::Binning (int nBins, double xlo=0., double xhi=0.)
 
template<class... Args_t>
RooCmdArg RooFit::Components (Args_t &&... argsOrArgSet)
 
RooCmdArg RooFit::Components (const char *compSpec)
 
RooCmdArg RooFit::Cut (const char *cutSpec)
 
RooCmdArg RooFit::Cut (const RooFormulaVar &cutVar)
 
RooCmdArg RooFit::CutRange (const char *rangeName)
 
RooCmdArg RooFit::DrawOption (const char *opt)
 
RooCmdArg RooFit::Efficiency (const RooCategory &cat)
 
RooCmdArg RooFit::EvalErrorValue (double value)
 
RooCmdArg RooFit::FillColor (Color_t color)
 
RooCmdArg RooFit::FillStyle (Style_t style)
 
RooCmdArg RooFit::Invisible (bool inv=true)
 
RooCmdArg RooFit::LineColor (Color_t color)
 
RooCmdArg RooFit::LineStyle (Style_t style)
 
RooCmdArg RooFit::LineWidth (Width_t width)
 
RooCmdArg RooFit::MarkerColor (Color_t color)
 
RooCmdArg RooFit::MarkerSize (Size_t size)
 
RooCmdArg RooFit::MarkerStyle (Style_t style)
 
RooCmdArg RooFit::MoveToBack ()
 
RooCmdArg RooFit::Name (const char *name)
 
RooCmdArg RooFit::Normalization (double scaleFactor)
 
RooCmdArg RooFit::Normalization (double scaleFactor, Int_t scaleType)
 
RooCmdArg RooFit::NormRange (const char *rangeNameList)
 
RooCmdArg RooFit::Precision (double prec)
 
RooCmdArg RooFit::Project (const RooArgSet &projSet)
 
RooCmdArg RooFit::Project (RooArgSet &&projSet)
 
RooCmdArg RooFit::ProjectionRange (const char *rangeName)
 
RooCmdArg RooFit::ProjWData (const RooAbsData &projData, bool binData=false)
 
RooCmdArg RooFit::ProjWData (const RooArgSet &projSet, const RooAbsData &projData, bool binData=false)
 
RooCmdArg RooFit::ProjWData (RooArgSet &&projSet, const RooAbsData &projData, bool binData=false)
 
RooCmdArg RooFit::Range (const char *rangeName, bool adjustNorm=true)
 
RooCmdArg RooFit::Range (double lo, double hi, bool adjustNorm=true)
 
RooCmdArg RooFit::RefreshNorm ()
 
RooCmdArg RooFit::Rescale (double factor)
 
RooCmdArg RooFit::ShiftToZero ()
 
RooCmdArg RooFit::ShowProgress ()
 
RooCmdArg RooFit::Slice (const RooArgSet &sliceSet)
 
RooCmdArg RooFit::Slice (RooArgSet &&sliceSet)
 
RooCmdArg RooFit::Slice (RooCategory &cat, const char *label)
 
RooCmdArg RooFit::Slice (std::map< RooCategory *, std::string > const &)
 
RooCmdArg RooFit::VisualizeError (const RooDataSet &paramData, double Z=1)
 
RooCmdArg RooFit::VisualizeError (const RooFitResult &fitres, const RooArgSet &param, double Z=1, bool linearMethod=true)
 
RooCmdArg RooFit::VisualizeError (const RooFitResult &fitres, double Z=1, bool linearMethod=true)
 
RooCmdArg RooFit::VisualizeError (const RooFitResult &fitres, RooArgSet &&param, double Z=1, bool linearMethod=true)
 
RooCmdArg RooFit::VLines ()
 
RooCmdArg RooFit::XErrorSize (double width)
 

Function Documentation

◆ AddTo()

RooCmdArg RooFit::AddTo ( const char *  name,
double  wgtSel = 1.0,
double  wgtOther = 1.0 
)

Definition at line 105 of file RooGlobalFunc.cxx.

◆ Asymmetry()

RooCmdArg RooFit::Asymmetry ( const RooCategory cat)

Definition at line 89 of file RooGlobalFunc.cxx.

◆ Binning() [1/3]

RooCmdArg RooFit::Binning ( const char *  binningName)

Definition at line 126 of file RooGlobalFunc.cxx.

◆ Binning() [2/3]

RooCmdArg RooFit::Binning ( const RooAbsBinning binning)

Definition at line 125 of file RooGlobalFunc.cxx.

◆ Binning() [3/3]

RooCmdArg RooFit::Binning ( int  nBins,
double  xlo = 0.,
double  xhi = 0. 
)

Definition at line 127 of file RooGlobalFunc.cxx.

◆ Components() [1/2]

template<class... Args_t>
RooCmdArg RooFit::Components ( Args_t &&...  argsOrArgSet)

Definition at line 121 of file RooGlobalFunc.h.

◆ Components() [2/2]

RooCmdArg RooFit::Components ( const char *  compSpec)

Definition at line 118 of file RooGlobalFunc.cxx.

◆ Cut() [1/2]

RooCmdArg RooFit::Cut ( const char *  cutSpec)

Definition at line 123 of file RooGlobalFunc.cxx.

◆ Cut() [2/2]

RooCmdArg RooFit::Cut ( const RooFormulaVar cutVar)

Definition at line 124 of file RooGlobalFunc.cxx.

◆ CutRange()

RooCmdArg RooFit::CutRange ( const char *  rangeName)

Definition at line 131 of file RooGlobalFunc.cxx.

◆ DrawOption()

RooCmdArg RooFit::DrawOption ( const char *  opt)

Definition at line 71 of file RooGlobalFunc.cxx.

◆ Efficiency()

RooCmdArg RooFit::Efficiency ( const RooCategory cat)

Definition at line 134 of file RooGlobalFunc.cxx.

◆ EvalErrorValue()

RooCmdArg RooFit::EvalErrorValue ( double  value)

Definition at line 106 of file RooGlobalFunc.cxx.

◆ FillColor()

RooFit::FillColor ( Color_t  color)

PyROOT

The color argument doesn't necessarily have to be a ROOT color enum value, like ROOT.kRed. Here is what you can also do in PyROOT:

  1. Pass a string with the enum value name instead, e.g.:
    pdf.plotOn(frame, LineColor="kRed")
    RooCmdArg LineColor(Color_t color)
  2. Pass a string with the corresponding single-character color code following the matplotlib convention:
    pdf.plotOn(frame, LineColor="r")
  3. Pass a string with the enum value name instead followed by some manipulation of the enum value:
    pdf.plotOn(frame, LineColor="kRed+1")

Definition at line 100 of file RooGlobalFunc.cxx.

◆ FillStyle()

RooCmdArg RooFit::FillStyle ( Style_t  style)

Definition at line 101 of file RooGlobalFunc.cxx.

◆ Invisible()

RooCmdArg RooFit::Invisible ( bool  inv = true)

Definition at line 104 of file RooGlobalFunc.cxx.

◆ LineColor()

RooFit::LineColor ( Color_t  color)

PyROOT

The color argument doesn't necessarily have to be a ROOT color enum value, like ROOT.kRed. Here is what you can also do in PyROOT:

  1. Pass a string with the enum value name instead, e.g.:
    pdf.plotOn(frame, LineColor="kRed")
  2. Pass a string with the corresponding single-character color code following the matplotlib convention:
    pdf.plotOn(frame, LineColor="r")
  3. Pass a string with the enum value name instead followed by some manipulation of the enum value:
    pdf.plotOn(frame, LineColor="kRed+1")

Definition at line 97 of file RooGlobalFunc.cxx.

◆ LineStyle()

RooCmdArg RooFit::LineStyle ( Style_t  style)

Definition at line 98 of file RooGlobalFunc.cxx.

◆ LineWidth()

RooCmdArg RooFit::LineWidth ( Width_t  width)

Definition at line 99 of file RooGlobalFunc.cxx.

◆ MarkerColor()

RooFit::MarkerColor ( Color_t  color)

PyROOT

The color argument doesn't necessarily have to be a ROOT color enum value, like ROOT.kRed. Here is what you can also do in PyROOT:

  1. Pass a string with the enum value name instead, e.g.:
    pdf.plotOn(frame, LineColor="kRed")
  2. Pass a string with the corresponding single-character color code following the matplotlib convention:
    pdf.plotOn(frame, LineColor="r")
  3. Pass a string with the enum value name instead followed by some manipulation of the enum value:
    pdf.plotOn(frame, LineColor="kRed+1")

Definition at line 130 of file RooGlobalFunc.cxx.

◆ MarkerSize()

RooCmdArg RooFit::MarkerSize ( Size_t  size)

Definition at line 129 of file RooGlobalFunc.cxx.

◆ MarkerStyle()

RooCmdArg RooFit::MarkerStyle ( Style_t  style)

Definition at line 128 of file RooGlobalFunc.cxx.

◆ MoveToBack()

RooCmdArg RooFit::MoveToBack ( )

Definition at line 107 of file RooGlobalFunc.cxx.

◆ Name()

RooCmdArg RooFit::Name ( const char *  name)

Definition at line 103 of file RooGlobalFunc.cxx.

◆ Normalization() [1/2]

RooCmdArg RooFit::Normalization ( double  scaleFactor)

Definition at line 92 of file RooGlobalFunc.cxx.

◆ Normalization() [2/2]

RooCmdArg RooFit::Normalization ( double  scaleFactor,
Int_t  scaleType 
)

Definition at line 119 of file RooGlobalFunc.cxx.

◆ NormRange()

RooCmdArg RooFit::NormRange ( const char *  rangeNameList)

Definition at line 95 of file RooGlobalFunc.cxx.

◆ Precision()

RooCmdArg RooFit::Precision ( double  prec)

Definition at line 90 of file RooGlobalFunc.cxx.

◆ Project() [1/2]

RooCmdArg RooFit::Project ( const RooArgSet projSet)

Definition at line 79 of file RooGlobalFunc.cxx.

◆ Project() [2/2]

RooCmdArg RooFit::Project ( RooArgSet &&  projSet)

Definition at line 80 of file RooGlobalFunc.cxx.

◆ ProjectionRange()

RooCmdArg RooFit::ProjectionRange ( const char *  rangeName)

Definition at line 102 of file RooGlobalFunc.cxx.

◆ ProjWData() [1/3]

RooCmdArg RooFit::ProjWData ( const RooAbsData projData,
bool  binData = false 
)

Definition at line 87 of file RooGlobalFunc.cxx.

◆ ProjWData() [2/3]

RooCmdArg RooFit::ProjWData ( const RooArgSet projSet,
const RooAbsData projData,
bool  binData = false 
)

Definition at line 81 of file RooGlobalFunc.cxx.

◆ ProjWData() [3/3]

RooCmdArg RooFit::ProjWData ( RooArgSet &&  projSet,
const RooAbsData projData,
bool  binData = false 
)

Definition at line 84 of file RooGlobalFunc.cxx.

◆ Range() [1/2]

RooCmdArg RooFit::Range ( const char *  rangeName,
bool  adjustNorm = true 
)

Definition at line 93 of file RooGlobalFunc.cxx.

◆ Range() [2/2]

RooCmdArg RooFit::Range ( double  lo,
double  hi,
bool  adjustNorm = true 
)

Definition at line 94 of file RooGlobalFunc.cxx.

◆ RefreshNorm()

RooCmdArg RooFit::RefreshNorm ( )

Definition at line 133 of file RooGlobalFunc.cxx.

◆ Rescale()

RooCmdArg RooFit::Rescale ( double  factor)

Definition at line 135 of file RooGlobalFunc.cxx.

◆ ShiftToZero()

RooCmdArg RooFit::ShiftToZero ( )

Definition at line 91 of file RooGlobalFunc.cxx.

◆ ShowProgress()

RooCmdArg RooFit::ShowProgress ( )

Definition at line 115 of file RooGlobalFunc.cxx.

◆ Slice() [1/4]

RooCmdArg RooFit::Slice ( const RooArgSet sliceSet)

Definition at line 72 of file RooGlobalFunc.cxx.

◆ Slice() [2/4]

RooCmdArg RooFit::Slice ( RooArgSet &&  sliceSet)

Definition at line 73 of file RooGlobalFunc.cxx.

◆ Slice() [3/4]

RooCmdArg RooFit::Slice ( RooCategory cat,
const char *  label 
)

Definition at line 74 of file RooGlobalFunc.cxx.

◆ Slice() [4/4]

RooFit::Slice ( std::map< RooCategory *, std::string > const &  arg)

PyROOT

The Slice function is pythonized for converting python dict to std::map. The keywords must correspond to the CmdArg of the function. The instances in the dict must correspond to the template argument in std::map of the function.

Definition at line 75 of file RooGlobalFunc.cxx.

◆ VisualizeError() [1/4]

RooCmdArg RooFit::VisualizeError ( const RooDataSet paramData,
double  Z = 1 
)

Definition at line 114 of file RooGlobalFunc.cxx.

◆ VisualizeError() [2/4]

RooCmdArg RooFit::VisualizeError ( const RooFitResult fitres,
const RooArgSet param,
double  Z = 1,
bool  linearMethod = true 
)

Definition at line 109 of file RooGlobalFunc.cxx.

◆ VisualizeError() [3/4]

RooCmdArg RooFit::VisualizeError ( const RooFitResult fitres,
double  Z = 1,
bool  linearMethod = true 
)

Definition at line 108 of file RooGlobalFunc.cxx.

◆ VisualizeError() [4/4]

RooCmdArg RooFit::VisualizeError ( const RooFitResult fitres,
RooArgSet &&  param,
double  Z = 1,
bool  linearMethod = true 
)

Definition at line 111 of file RooGlobalFunc.cxx.

◆ VLines()

RooCmdArg RooFit::VLines ( )

Definition at line 96 of file RooGlobalFunc.cxx.

◆ XErrorSize()

RooCmdArg RooFit::XErrorSize ( double  width)

Definition at line 132 of file RooGlobalFunc.cxx.