Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.0, double xhi=0.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::FillColor (std::string const &color)
 
RooCmdArg RooFit::FillStyle (std::string const &style)
 
RooCmdArg RooFit::FillStyle (Style_t style)
 
RooCmdArg RooFit::Invisible (bool inv=true)
 
RooCmdArg RooFit::LineColor (Color_t color)
 
RooCmdArg RooFit::LineColor (std::string const &color)
 The color string argument argument will be evaluated with the ROOT interpreter to get the actual ROOT color enum value, like ROOT.kRed.
 
RooCmdArg RooFit::LineStyle (std::string const &style)
 
RooCmdArg RooFit::LineStyle (Style_t style)
 
RooCmdArg RooFit::LineWidth (Width_t width)
 
RooCmdArg RooFit::MarkerColor (Color_t color)
 
RooCmdArg RooFit::MarkerColor (std::string const &color)
 
RooCmdArg RooFit::MarkerSize (Size_t size)
 
RooCmdArg RooFit::MarkerStyle (std::string const &style)
 
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::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::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 (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::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 280 of file RooGlobalFunc.cxx.

◆ Asymmetry()

RooCmdArg RooFit::Asymmetry ( const RooCategory cat)

Definition at line 183 of file RooGlobalFunc.cxx.

◆ Binning() [1/3]

RooCmdArg RooFit::Binning ( const char *  binningName)

Definition at line 332 of file RooGlobalFunc.cxx.

◆ Binning() [2/3]

RooCmdArg RooFit::Binning ( const RooAbsBinning binning)

Definition at line 328 of file RooGlobalFunc.cxx.

◆ Binning() [3/3]

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

Definition at line 336 of file RooGlobalFunc.cxx.

◆ Components() [1/2]

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

Definition at line 128 of file RooGlobalFunc.h.

◆ Components() [2/2]

RooCmdArg RooFit::Components ( const char *  compSpec)

Definition at line 310 of file RooGlobalFunc.cxx.

◆ Cut() [1/2]

RooCmdArg RooFit::Cut ( const char *  cutSpec)

Definition at line 320 of file RooGlobalFunc.cxx.

◆ Cut() [2/2]

RooCmdArg RooFit::Cut ( const RooFormulaVar cutVar)

Definition at line 324 of file RooGlobalFunc.cxx.

◆ CutRange()

RooCmdArg RooFit::CutRange ( const char *  rangeName)

Definition at line 360 of file RooGlobalFunc.cxx.

◆ DrawOption()

RooCmdArg RooFit::DrawOption ( const char *  opt)

Definition at line 130 of file RooGlobalFunc.cxx.

◆ Efficiency()

RooCmdArg RooFit::Efficiency ( const RooCategory cat)

Definition at line 372 of file RooGlobalFunc.cxx.

◆ EvalErrorValue()

RooCmdArg RooFit::EvalErrorValue ( double  value)

Definition at line 284 of file RooGlobalFunc.cxx.

◆ FillColor() [1/2]

RooCmdArg RooFit::FillColor ( Color_t  color)

Definition at line 252 of file RooGlobalFunc.cxx.

◆ FillColor() [2/2]

RooCmdArg RooFit::FillColor ( std::string const &  color)

Definition at line 256 of file RooGlobalFunc.cxx.

◆ FillStyle() [1/2]

RooCmdArg RooFit::FillStyle ( std::string const &  style)

Definition at line 264 of file RooGlobalFunc.cxx.

◆ FillStyle() [2/2]

RooCmdArg RooFit::FillStyle ( Style_t  style)

Definition at line 260 of file RooGlobalFunc.cxx.

◆ Invisible()

RooCmdArg RooFit::Invisible ( bool  inv = true)

Definition at line 276 of file RooGlobalFunc.cxx.

◆ LineColor() [1/2]

RooCmdArg RooFit::LineColor ( Color_t  color)

Definition at line 215 of file RooGlobalFunc.cxx.

◆ LineColor() [2/2]

RooCmdArg RooFit::LineColor ( std::string const &  color)

The color string argument argument will be evaluated with the ROOT interpreter to get the actual ROOT color enum value, like ROOT.kRed.

Here is what you can do with it:

  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 236 of file RooGlobalFunc.cxx.

◆ LineStyle() [1/2]

RooCmdArg RooFit::LineStyle ( std::string const &  style)

Definition at line 244 of file RooGlobalFunc.cxx.

◆ LineStyle() [2/2]

RooCmdArg RooFit::LineStyle ( Style_t  style)

Definition at line 240 of file RooGlobalFunc.cxx.

◆ LineWidth()

RooCmdArg RooFit::LineWidth ( Width_t  width)

Definition at line 248 of file RooGlobalFunc.cxx.

◆ MarkerColor() [1/2]

RooCmdArg RooFit::MarkerColor ( Color_t  color)

Definition at line 352 of file RooGlobalFunc.cxx.

◆ MarkerColor() [2/2]

RooCmdArg RooFit::MarkerColor ( std::string const &  color)

Definition at line 356 of file RooGlobalFunc.cxx.

◆ MarkerSize()

RooCmdArg RooFit::MarkerSize ( Size_t  size)

Definition at line 348 of file RooGlobalFunc.cxx.

◆ MarkerStyle() [1/2]

RooCmdArg RooFit::MarkerStyle ( std::string const &  style)

Definition at line 344 of file RooGlobalFunc.cxx.

◆ MarkerStyle() [2/2]

RooCmdArg RooFit::MarkerStyle ( Style_t  style)

Definition at line 340 of file RooGlobalFunc.cxx.

◆ MoveToBack()

RooCmdArg RooFit::MoveToBack ( )

Definition at line 288 of file RooGlobalFunc.cxx.

◆ Name()

RooCmdArg RooFit::Name ( const char *  name)

Definition at line 272 of file RooGlobalFunc.cxx.

◆ Normalization() [1/2]

RooCmdArg RooFit::Normalization ( double  scaleFactor)

Definition at line 195 of file RooGlobalFunc.cxx.

◆ Normalization() [2/2]

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

Definition at line 314 of file RooGlobalFunc.cxx.

◆ NormRange()

RooCmdArg RooFit::NormRange ( const char *  rangeNameList)

Definition at line 207 of file RooGlobalFunc.cxx.

◆ Precision()

RooCmdArg RooFit::Precision ( double  prec)

Definition at line 187 of file RooGlobalFunc.cxx.

◆ Project()

RooCmdArg RooFit::Project ( const RooArgSet projSet)

Definition at line 167 of file RooGlobalFunc.cxx.

◆ ProjectionRange()

RooCmdArg RooFit::ProjectionRange ( const char *  rangeName)

Definition at line 268 of file RooGlobalFunc.cxx.

◆ ProjWData() [1/2]

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

Definition at line 179 of file RooGlobalFunc.cxx.

◆ ProjWData() [2/2]

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

Definition at line 173 of file RooGlobalFunc.cxx.

◆ Range() [1/2]

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

Definition at line 199 of file RooGlobalFunc.cxx.

◆ Range() [2/2]

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

Definition at line 203 of file RooGlobalFunc.cxx.

◆ RefreshNorm()

RooCmdArg RooFit::RefreshNorm ( )

Definition at line 368 of file RooGlobalFunc.cxx.

◆ Rescale()

RooCmdArg RooFit::Rescale ( double  factor)

Definition at line 376 of file RooGlobalFunc.cxx.

◆ ShiftToZero()

RooCmdArg RooFit::ShiftToZero ( )

Definition at line 191 of file RooGlobalFunc.cxx.

◆ ShowProgress()

RooCmdArg RooFit::ShowProgress ( )

Definition at line 304 of file RooGlobalFunc.cxx.

◆ Slice() [1/3]

RooCmdArg RooFit::Slice ( const RooArgSet sliceSet)

Definition at line 134 of file RooGlobalFunc.cxx.

◆ Slice() [2/3]

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

Definition at line 140 of file RooGlobalFunc.cxx.

◆ Slice() [3/3]

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 162 of file RooGlobalFunc.cxx.

◆ VisualizeError() [1/3]

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

Definition at line 300 of file RooGlobalFunc.cxx.

◆ VisualizeError() [2/3]

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

Definition at line 296 of file RooGlobalFunc.cxx.

◆ VisualizeError() [3/3]

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

Definition at line 292 of file RooGlobalFunc.cxx.

◆ VLines()

RooCmdArg RooFit::VLines ( )

Definition at line 211 of file RooGlobalFunc.cxx.

◆ XErrorSize()

RooCmdArg RooFit::XErrorSize ( double  width)

Definition at line 364 of file RooGlobalFunc.cxx.