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

◆ Asymmetry()

RooCmdArg RooFit::Asymmetry ( const RooCategory cat)

Definition at line 109 of file RooGlobalFunc.cxx.

◆ Binning() [1/3]

RooCmdArg RooFit::Binning ( const char *  binningName)

Definition at line 143 of file RooGlobalFunc.cxx.

◆ Binning() [2/3]

RooCmdArg RooFit::Binning ( const RooAbsBinning binning)

Definition at line 142 of file RooGlobalFunc.cxx.

◆ Binning() [3/3]

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

Definition at line 144 of file RooGlobalFunc.cxx.

◆ Components() [1/2]

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

Definition at line 132 of file RooGlobalFunc.h.

◆ Components() [2/2]

RooCmdArg RooFit::Components ( const char *  compSpec)

Definition at line 135 of file RooGlobalFunc.cxx.

◆ Cut() [1/2]

RooCmdArg RooFit::Cut ( const char *  cutSpec)

Definition at line 140 of file RooGlobalFunc.cxx.

◆ Cut() [2/2]

RooCmdArg RooFit::Cut ( const RooFormulaVar cutVar)

Definition at line 141 of file RooGlobalFunc.cxx.

◆ CutRange()

RooCmdArg RooFit::CutRange ( const char *  rangeName)

Definition at line 148 of file RooGlobalFunc.cxx.

◆ DrawOption()

RooCmdArg RooFit::DrawOption ( const char *  opt)

Definition at line 84 of file RooGlobalFunc.cxx.

◆ Efficiency()

RooCmdArg RooFit::Efficiency ( const RooCategory cat)

Definition at line 151 of file RooGlobalFunc.cxx.

◆ EvalErrorValue()

RooCmdArg RooFit::EvalErrorValue ( double  value)

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

◆ FillStyle()

RooCmdArg RooFit::FillStyle ( Style_t  style)

Definition at line 121 of file RooGlobalFunc.cxx.

◆ Invisible()

RooCmdArg RooFit::Invisible ( bool  inv = true)

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

◆ LineStyle()

RooCmdArg RooFit::LineStyle ( Style_t  style)

Definition at line 118 of file RooGlobalFunc.cxx.

◆ LineWidth()

RooCmdArg RooFit::LineWidth ( Width_t  width)

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

◆ MarkerSize()

RooCmdArg RooFit::MarkerSize ( Size_t  size)

Definition at line 146 of file RooGlobalFunc.cxx.

◆ MarkerStyle()

RooCmdArg RooFit::MarkerStyle ( Style_t  style)

Definition at line 145 of file RooGlobalFunc.cxx.

◆ MoveToBack()

RooCmdArg RooFit::MoveToBack ( )

Definition at line 127 of file RooGlobalFunc.cxx.

◆ Name()

RooCmdArg RooFit::Name ( const char *  name)

Definition at line 123 of file RooGlobalFunc.cxx.

◆ Normalization() [1/2]

RooCmdArg RooFit::Normalization ( double  scaleFactor)

Definition at line 112 of file RooGlobalFunc.cxx.

◆ Normalization() [2/2]

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

Definition at line 136 of file RooGlobalFunc.cxx.

◆ NormRange()

RooCmdArg RooFit::NormRange ( const char *  rangeNameList)

Definition at line 115 of file RooGlobalFunc.cxx.

◆ Precision()

RooCmdArg RooFit::Precision ( double  prec)

Definition at line 110 of file RooGlobalFunc.cxx.

◆ Project()

RooCmdArg RooFit::Project ( const RooArgSet projSet)

Definition at line 95 of file RooGlobalFunc.cxx.

◆ ProjectionRange()

RooCmdArg RooFit::ProjectionRange ( const char *  rangeName)

Definition at line 122 of file RooGlobalFunc.cxx.

◆ ProjWData() [1/2]

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

Definition at line 107 of file RooGlobalFunc.cxx.

◆ ProjWData() [2/2]

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

Definition at line 100 of file RooGlobalFunc.cxx.

◆ Range() [1/2]

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

Definition at line 113 of file RooGlobalFunc.cxx.

◆ Range() [2/2]

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

Definition at line 114 of file RooGlobalFunc.cxx.

◆ RefreshNorm()

RooCmdArg RooFit::RefreshNorm ( )

Definition at line 150 of file RooGlobalFunc.cxx.

◆ Rescale()

RooCmdArg RooFit::Rescale ( double  factor)

Definition at line 152 of file RooGlobalFunc.cxx.

◆ ShiftToZero()

RooCmdArg RooFit::ShiftToZero ( )

Definition at line 111 of file RooGlobalFunc.cxx.

◆ ShowProgress()

RooCmdArg RooFit::ShowProgress ( )

Definition at line 132 of file RooGlobalFunc.cxx.

◆ Slice() [1/3]

RooCmdArg RooFit::Slice ( const RooArgSet sliceSet)

Definition at line 85 of file RooGlobalFunc.cxx.

◆ Slice() [2/3]

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

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

◆ VisualizeError() [1/3]

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

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

◆ VisualizeError() [3/3]

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

Definition at line 128 of file RooGlobalFunc.cxx.

◆ VLines()

RooCmdArg RooFit::VLines ( )

Definition at line 116 of file RooGlobalFunc.cxx.

◆ XErrorSize()

RooCmdArg RooFit::XErrorSize ( double  width)

Definition at line 149 of file RooGlobalFunc.cxx.