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

◆ Asymmetry()

RooCmdArg RooFit::Asymmetry ( const RooCategory cat)

Definition at line 184 of file RooGlobalFunc.cxx.

◆ Binning() [1/3]

RooCmdArg RooFit::Binning ( const char *  binningName)

Definition at line 333 of file RooGlobalFunc.cxx.

◆ Binning() [2/3]

RooCmdArg RooFit::Binning ( const RooAbsBinning binning)

Definition at line 329 of file RooGlobalFunc.cxx.

◆ Binning() [3/3]

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

Definition at line 337 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 311 of file RooGlobalFunc.cxx.

◆ Cut() [1/2]

RooCmdArg RooFit::Cut ( const char *  cutSpec)

Definition at line 321 of file RooGlobalFunc.cxx.

◆ Cut() [2/2]

RooCmdArg RooFit::Cut ( const RooFormulaVar cutVar)

Definition at line 325 of file RooGlobalFunc.cxx.

◆ CutRange()

RooCmdArg RooFit::CutRange ( const char *  rangeName)

Definition at line 361 of file RooGlobalFunc.cxx.

◆ DrawOption()

RooCmdArg RooFit::DrawOption ( const char *  opt)

Definition at line 131 of file RooGlobalFunc.cxx.

◆ Efficiency()

RooCmdArg RooFit::Efficiency ( const RooCategory cat)

Definition at line 373 of file RooGlobalFunc.cxx.

◆ EvalErrorValue()

RooCmdArg RooFit::EvalErrorValue ( double  value)

Definition at line 285 of file RooGlobalFunc.cxx.

◆ FillColor() [1/2]

RooCmdArg RooFit::FillColor ( Color_t  color)

Definition at line 253 of file RooGlobalFunc.cxx.

◆ FillColor() [2/2]

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

Definition at line 257 of file RooGlobalFunc.cxx.

◆ FillStyle() [1/2]

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

Definition at line 265 of file RooGlobalFunc.cxx.

◆ FillStyle() [2/2]

RooCmdArg RooFit::FillStyle ( Style_t  style)

Definition at line 261 of file RooGlobalFunc.cxx.

◆ Invisible()

RooCmdArg RooFit::Invisible ( bool  inv = true)

Definition at line 277 of file RooGlobalFunc.cxx.

◆ LineColor() [1/2]

RooCmdArg RooFit::LineColor ( Color_t  color)

Definition at line 216 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 237 of file RooGlobalFunc.cxx.

◆ LineStyle() [1/2]

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

Definition at line 245 of file RooGlobalFunc.cxx.

◆ LineStyle() [2/2]

RooCmdArg RooFit::LineStyle ( Style_t  style)

Definition at line 241 of file RooGlobalFunc.cxx.

◆ LineWidth()

RooCmdArg RooFit::LineWidth ( Width_t  width)

Definition at line 249 of file RooGlobalFunc.cxx.

◆ MarkerColor() [1/2]

RooCmdArg RooFit::MarkerColor ( Color_t  color)

Definition at line 353 of file RooGlobalFunc.cxx.

◆ MarkerColor() [2/2]

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

Definition at line 357 of file RooGlobalFunc.cxx.

◆ MarkerSize()

RooCmdArg RooFit::MarkerSize ( Size_t  size)

Definition at line 349 of file RooGlobalFunc.cxx.

◆ MarkerStyle() [1/2]

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

Definition at line 345 of file RooGlobalFunc.cxx.

◆ MarkerStyle() [2/2]

RooCmdArg RooFit::MarkerStyle ( Style_t  style)

Definition at line 341 of file RooGlobalFunc.cxx.

◆ MoveToBack()

RooCmdArg RooFit::MoveToBack ( )

Definition at line 289 of file RooGlobalFunc.cxx.

◆ Name()

RooCmdArg RooFit::Name ( const char *  name)

Definition at line 273 of file RooGlobalFunc.cxx.

◆ Normalization() [1/2]

RooCmdArg RooFit::Normalization ( double  scaleFactor)

Definition at line 196 of file RooGlobalFunc.cxx.

◆ Normalization() [2/2]

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

Definition at line 315 of file RooGlobalFunc.cxx.

◆ NormRange()

RooCmdArg RooFit::NormRange ( const char *  rangeNameList)

Definition at line 208 of file RooGlobalFunc.cxx.

◆ Precision()

RooCmdArg RooFit::Precision ( double  prec)

Definition at line 188 of file RooGlobalFunc.cxx.

◆ Project()

RooCmdArg RooFit::Project ( const RooArgSet projSet)

Definition at line 168 of file RooGlobalFunc.cxx.

◆ ProjectionRange()

RooCmdArg RooFit::ProjectionRange ( const char *  rangeName)

Definition at line 269 of file RooGlobalFunc.cxx.

◆ ProjWData() [1/2]

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

Definition at line 180 of file RooGlobalFunc.cxx.

◆ ProjWData() [2/2]

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

Definition at line 174 of file RooGlobalFunc.cxx.

◆ Range() [1/2]

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

Definition at line 200 of file RooGlobalFunc.cxx.

◆ Range() [2/2]

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

Definition at line 204 of file RooGlobalFunc.cxx.

◆ RefreshNorm()

RooCmdArg RooFit::RefreshNorm ( )

Definition at line 369 of file RooGlobalFunc.cxx.

◆ Rescale()

RooCmdArg RooFit::Rescale ( double  factor)

Definition at line 377 of file RooGlobalFunc.cxx.

◆ ShiftToZero()

RooCmdArg RooFit::ShiftToZero ( )

Definition at line 192 of file RooGlobalFunc.cxx.

◆ ShowProgress()

RooCmdArg RooFit::ShowProgress ( )

Definition at line 305 of file RooGlobalFunc.cxx.

◆ Slice() [1/3]

RooCmdArg RooFit::Slice ( const RooArgSet sliceSet)

Definition at line 135 of file RooGlobalFunc.cxx.

◆ Slice() [2/3]

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

Definition at line 141 of file RooGlobalFunc.cxx.

◆ Slice() [3/3]

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

◆ VisualizeError() [1/3]

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

Definition at line 301 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 297 of file RooGlobalFunc.cxx.

◆ VisualizeError() [3/3]

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

Definition at line 293 of file RooGlobalFunc.cxx.

◆ VLines()

RooCmdArg RooFit::VLines ( )

Definition at line 212 of file RooGlobalFunc.cxx.

◆ XErrorSize()

RooCmdArg RooFit::XErrorSize ( double  width)

Definition at line 365 of file RooGlobalFunc.cxx.