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

◆ Asymmetry()

RooCmdArg RooFit::Asymmetry ( const RooCategory cat)

Definition at line 141 of file RooGlobalFunc.cxx.

◆ Binning() [1/3]

RooCmdArg RooFit::Binning ( const char *  binningName)

Definition at line 257 of file RooGlobalFunc.cxx.

◆ Binning() [2/3]

RooCmdArg RooFit::Binning ( const RooAbsBinning binning)

Definition at line 253 of file RooGlobalFunc.cxx.

◆ Binning() [3/3]

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

Definition at line 261 of file RooGlobalFunc.cxx.

◆ Components() [1/2]

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

Definition at line 124 of file RooGlobalFunc.h.

◆ Components() [2/2]

RooCmdArg RooFit::Components ( const char *  compSpec)

Definition at line 235 of file RooGlobalFunc.cxx.

◆ Cut() [1/2]

RooCmdArg RooFit::Cut ( const char *  cutSpec)

Definition at line 245 of file RooGlobalFunc.cxx.

◆ Cut() [2/2]

RooCmdArg RooFit::Cut ( const RooFormulaVar cutVar)

Definition at line 249 of file RooGlobalFunc.cxx.

◆ CutRange()

RooCmdArg RooFit::CutRange ( const char *  rangeName)

Definition at line 277 of file RooGlobalFunc.cxx.

◆ DrawOption()

RooCmdArg RooFit::DrawOption ( const char *  opt)

Definition at line 88 of file RooGlobalFunc.cxx.

◆ Efficiency()

RooCmdArg RooFit::Efficiency ( const RooCategory cat)

Definition at line 289 of file RooGlobalFunc.cxx.

◆ EvalErrorValue()

RooCmdArg RooFit::EvalErrorValue ( double  value)

Definition at line 209 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")
  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 185 of file RooGlobalFunc.cxx.

◆ FillStyle()

RooCmdArg RooFit::FillStyle ( Style_t  style)

Definition at line 189 of file RooGlobalFunc.cxx.

◆ Invisible()

RooCmdArg RooFit::Invisible ( bool  inv = true)

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

◆ LineStyle()

RooCmdArg RooFit::LineStyle ( Style_t  style)

Definition at line 177 of file RooGlobalFunc.cxx.

◆ LineWidth()

RooCmdArg RooFit::LineWidth ( Width_t  width)

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

◆ MarkerSize()

RooCmdArg RooFit::MarkerSize ( Size_t  size)

Definition at line 269 of file RooGlobalFunc.cxx.

◆ MarkerStyle()

RooCmdArg RooFit::MarkerStyle ( Style_t  style)

Definition at line 265 of file RooGlobalFunc.cxx.

◆ MoveToBack()

RooCmdArg RooFit::MoveToBack ( )

Definition at line 213 of file RooGlobalFunc.cxx.

◆ Name()

RooCmdArg RooFit::Name ( const char *  name)

Definition at line 197 of file RooGlobalFunc.cxx.

◆ Normalization() [1/2]

RooCmdArg RooFit::Normalization ( double  scaleFactor)

Definition at line 153 of file RooGlobalFunc.cxx.

◆ Normalization() [2/2]

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

Definition at line 239 of file RooGlobalFunc.cxx.

◆ NormRange()

RooCmdArg RooFit::NormRange ( const char *  rangeNameList)

Definition at line 165 of file RooGlobalFunc.cxx.

◆ Precision()

RooCmdArg RooFit::Precision ( double  prec)

Definition at line 145 of file RooGlobalFunc.cxx.

◆ Project()

RooCmdArg RooFit::Project ( const RooArgSet projSet)

Definition at line 125 of file RooGlobalFunc.cxx.

◆ ProjectionRange()

RooCmdArg RooFit::ProjectionRange ( const char *  rangeName)

Definition at line 193 of file RooGlobalFunc.cxx.

◆ ProjWData() [1/2]

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

Definition at line 137 of file RooGlobalFunc.cxx.

◆ ProjWData() [2/2]

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

Definition at line 131 of file RooGlobalFunc.cxx.

◆ Range() [1/2]

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

Definition at line 157 of file RooGlobalFunc.cxx.

◆ Range() [2/2]

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

Definition at line 161 of file RooGlobalFunc.cxx.

◆ RefreshNorm()

RooCmdArg RooFit::RefreshNorm ( )

Definition at line 285 of file RooGlobalFunc.cxx.

◆ Rescale()

RooCmdArg RooFit::Rescale ( double  factor)

Definition at line 293 of file RooGlobalFunc.cxx.

◆ ShiftToZero()

RooCmdArg RooFit::ShiftToZero ( )

Definition at line 149 of file RooGlobalFunc.cxx.

◆ ShowProgress()

RooCmdArg RooFit::ShowProgress ( )

Definition at line 229 of file RooGlobalFunc.cxx.

◆ Slice() [1/3]

RooCmdArg RooFit::Slice ( const RooArgSet sliceSet)

Definition at line 92 of file RooGlobalFunc.cxx.

◆ Slice() [2/3]

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

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

◆ VisualizeError() [1/3]

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

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

◆ VisualizeError() [3/3]

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

Definition at line 217 of file RooGlobalFunc.cxx.

◆ VLines()

RooCmdArg RooFit::VLines ( )

Definition at line 169 of file RooGlobalFunc.cxx.

◆ XErrorSize()

RooCmdArg RooFit::XErrorSize ( double  width)

Definition at line 281 of file RooGlobalFunc.cxx.