Logo ROOT  
Reference Guide
RooFit command arguments

These arguments can be passed to functions of RooFit objects.

Modules

 Arguments for plotOn functions
 
 Arguments for various constructors
 
 Arguments for fitting
 
 Arguments for generating data
 

Functions

RooCmdArg RooFit::AutoBinning (Int_t nbins=100, double marginFactor=0.1)
 
RooCmdArg RooFit::AutoPrecision (Int_t ndigit=2)
 
RooCmdArg RooFit::AutoRange (const RooAbsData &data, double marginFactor=0.1)
 
RooCmdArg RooFit::AutoSymBinning (Int_t nbins=100, double marginFactor=0.1)
 
RooCmdArg RooFit::AutoSymRange (const RooAbsData &data, double marginFactor=0.1)
 
RooCmdArg RooFit::AxisLabel (const char *name)
 
RooCmdArg RooFit::BaseClassName (const char *name)
 
RooCmdArg RooFit::Binned (bool flag=true)
 
RooCmdArg RooFit::Bins (Int_t nbin)
 
RooCmdArg RooFit::ClassName (const char *name)
 
RooCmdArg RooFit::Color (Color_t color)
 
RooCmdArg RooFit::Columns (Int_t ncol)
 
RooCmdArg RooFit::Conditional (const RooArgSet &pdfSet, const RooArgSet &depSet, bool depsAreCond=false)
 
RooCmdArg RooFit::Embedded (bool flag=true)
 
RooCmdArg RooFit::EventRange (Int_t nStart, Int_t nStop)
 
RooCmdArg RooFit::FitGauss (bool flag=true)
 
RooCmdArg RooFit::FitModel (RooAbsPdf &pdf)
 
RooCmdArg RooFit::FitOptions (const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none())
 
RooCmdArg RooFit::FixedPrecision (Int_t ndigit=2)
 
RooCmdArg RooFit::Format (const char *format, Int_t sigDigit)
 
RooCmdArg RooFit::Format (const char *what, const RooCmdArg &arg1=RooCmdArg::none(), const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none())
 
RooCmdArg RooFit::Frame (const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none())
 
RooCmdArg RooFit::FrameBins (Int_t nbins)
 
RooCmdArg RooFit::FrameRange (double xlo, double xhi)
 
RooCmdArg RooFit::IntegratedObservables (const RooArgSet &intObs)
 
RooCmdArg RooFit::IntrinsicBinning (bool flag=true)
 
RooCmdArg RooFit::Label (const char *str)
 
RooCmdArg RooFit::LatexStyle (bool flag=true)
 
RooCmdArg RooFit::LatexTableStyle (bool flag=true)
 
RooCmdArg RooFit::Layout (double xmin, double xmax=0.99, double ymin=0.95)
 
RooCmdArg RooFit::MultiArg (const RooCmdArg &arg1, const RooCmdArg &arg2, const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none())
 
RooCmdArg RooFit::NoRecursion (bool flag=true)
 
template<class... Args_t>
RooCmdArg RooFit::NormSet (Args_t &&... argsOrArgSet)
 
RooCmdArg RooFit::NumIntConfig (const RooNumIntConfig &cfg)
 
RooCmdArg RooFit::ObjectName (const char *name)
 
RooCmdArg RooFit::OutputFile (const char *fileName)
 
RooCmdArg RooFit::OutputStream (std::ostream &os)
 
RooCmdArg RooFit::Parameters (const RooArgSet &params)
 
RooCmdArg RooFit::Prefix (bool flag)
 
RooCmdArg RooFit::RecycleConflictNodes (bool flag=true)
 
RooCmdArg RooFit::Rename (const char *suffix)
 
RooCmdArg RooFit::RenameAllNodes (const char *suffix)
 
RooCmdArg RooFit::RenameAllVariables (const char *suffix)
 
RooCmdArg RooFit::RenameAllVariablesExcept (const char *suffix, const char *exceptionList)
 
RooCmdArg RooFit::RenameConflictNodes (const char *suffix, bool renameOrigNodes=false)
 
RooCmdArg RooFit::RenameVariable (const char *inputName, const char *outputName)
 
RooCmdArg RooFit::Restrict (const char *catName, const char *stateNameList)
 
RooConstVarRooFit::RooConst (double val)
 
RooCmdArg RooFit::Scaling (bool flag)
 
RooCmdArg RooFit::ScanAllCdf ()
 
RooCmdArg RooFit::ScanNoCdf ()
 
RooCmdArg RooFit::ScanNumCdf ()
 
RooCmdArg RooFit::ScanParameters (Int_t nbins, Int_t intOrder)
 
RooCmdArg RooFit::SelectVars (const RooArgSet &vars)
 
RooCmdArg RooFit::ShowConstants (bool flag=true)
 
RooCmdArg RooFit::Sibling (const RooAbsCollection &sibling)
 
RooCmdArg RooFit::Silence (bool flag=true)
 
RooCmdArg RooFit::SplitParam (const char *varname, const char *catname)
 
RooCmdArg RooFit::SplitParam (const RooRealVar &var, const RooAbsCategory &cat)
 
RooCmdArg RooFit::SplitParamConstrained (const char *varname, const char *catname, const char *rsname)
 
RooCmdArg RooFit::SplitParamConstrained (const RooRealVar &var, const RooAbsCategory &cat, const char *rsname)
 
RooCmdArg RooFit::SupNormSet (const RooArgSet &nset)
 
RooCmdArg RooFit::TagName (const char *name)
 
RooCmdArg RooFit::Title (const char *name)
 
RooCmdArg RooFit::TLatexStyle (bool flag=true)
 
RooCmdArg RooFit::Topic (Int_t topic)
 
RooCmdArg RooFit::VerbatimName (bool flag=true)
 
RooCmdArg RooFit::What (const char *str)
 
RooCmdArg RooFit::YVar (const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
 
RooCmdArg RooFit::ZVar (const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
 

Function Documentation

◆ AutoBinning()

RooCmdArg RooFit::AutoBinning ( Int_t  nbins = 100,
double  marginFactor = 0.1 
)

Definition at line 297 of file RooGlobalFunc.cxx.

◆ AutoPrecision()

RooCmdArg RooFit::AutoPrecision ( Int_t  ndigit = 2)

Definition at line 336 of file RooGlobalFunc.cxx.

◆ AutoRange()

RooCmdArg RooFit::AutoRange ( const RooAbsData data,
double  marginFactor = 0.1 
)

Definition at line 212 of file RooGlobalFunc.cxx.

◆ AutoSymBinning()

RooCmdArg RooFit::AutoSymBinning ( Int_t  nbins = 100,
double  marginFactor = 0.1 
)

Definition at line 296 of file RooGlobalFunc.cxx.

◆ AutoSymRange()

RooCmdArg RooFit::AutoSymRange ( const RooAbsData data,
double  marginFactor = 0.1 
)

Definition at line 211 of file RooGlobalFunc.cxx.

◆ AxisLabel()

RooCmdArg RooFit::AxisLabel ( const char *  name)

Definition at line 289 of file RooGlobalFunc.cxx.

◆ BaseClassName()

RooCmdArg RooFit::BaseClassName ( const char *  name)

Definition at line 347 of file RooGlobalFunc.cxx.

◆ Binned()

RooCmdArg RooFit::Binned ( bool  flag = true)

Definition at line 314 of file RooGlobalFunc.cxx.

◆ Bins()

RooCmdArg RooFit::Bins ( Int_t  nbin)

Definition at line 210 of file RooGlobalFunc.cxx.

◆ ClassName()

RooCmdArg RooFit::ClassName ( const char *  name)

Definition at line 346 of file RooGlobalFunc.cxx.

◆ Color()

RooCmdArg RooFit::Color ( Color_t  color)

Definition at line 351 of file RooGlobalFunc.cxx.

◆ Columns()

RooCmdArg RooFit::Columns ( Int_t  ncol)

Definition at line 197 of file RooGlobalFunc.cxx.

◆ Conditional()

RooCmdArg RooFit::Conditional ( const RooArgSet pdfSet,
const RooArgSet depSet,
bool  depsAreCond = false 
)

Definition at line 272 of file RooGlobalFunc.cxx.

◆ Embedded()

RooCmdArg RooFit::Embedded ( bool  flag = true)

Definition at line 362 of file RooGlobalFunc.cxx.

◆ EventRange()

RooCmdArg RooFit::EventRange ( Int_t  nStart,
Int_t  nStop 
)

Definition at line 220 of file RooGlobalFunc.cxx.

◆ FitGauss()

RooCmdArg RooFit::FitGauss ( bool  flag = true)

Definition at line 328 of file RooGlobalFunc.cxx.

◆ FitModel()

RooCmdArg RooFit::FitModel ( RooAbsPdf pdf)

Definition at line 307 of file RooGlobalFunc.cxx.

◆ FitOptions()

RooFit::FitOptions ( const RooCmdArg arg1,
const RooCmdArg arg2 = RooCmdArg::none(),
const RooCmdArg arg3 = RooCmdArg::none(),
const RooCmdArg arg4 = RooCmdArg::none(),
const RooCmdArg arg5 = RooCmdArg::none(),
const RooCmdArg arg6 = RooCmdArg::none() 
)

PyROOT

The FitOptions() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArg of the function.

Definition at line 308 of file RooGlobalFunc.cxx.

◆ FixedPrecision()

RooCmdArg RooFit::FixedPrecision ( Int_t  ndigit = 2)

Definition at line 337 of file RooGlobalFunc.cxx.

◆ Format() [1/2]

RooCmdArg RooFit::Format ( const char *  format,
Int_t  sigDigit 
)

Definition at line 200 of file RooGlobalFunc.cxx.

◆ Format() [2/2]

RooFit::Format ( const char *  what,
const RooCmdArg arg1 = RooCmdArg::none(),
const RooCmdArg arg2 = RooCmdArg::none(),
const RooCmdArg arg3 = RooCmdArg::none(),
const RooCmdArg arg4 = RooCmdArg::none(),
const RooCmdArg arg5 = RooCmdArg::none(),
const RooCmdArg arg6 = RooCmdArg::none(),
const RooCmdArg arg7 = RooCmdArg::none(),
const RooCmdArg arg8 = RooCmdArg::none() 
)

PyROOT

The Format() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArg of the function.

Definition at line 201 of file RooGlobalFunc.cxx.

◆ Frame()

RooFit::Frame ( const RooCmdArg arg1,
const RooCmdArg arg2 = RooCmdArg::none(),
const RooCmdArg arg3 = RooCmdArg::none(),
const RooCmdArg arg4 = RooCmdArg::none(),
const RooCmdArg arg5 = RooCmdArg::none(),
const RooCmdArg arg6 = RooCmdArg::none() 
)

PyROOT

The Frame() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArg of the function.

Definition at line 319 of file RooGlobalFunc.cxx.

◆ FrameBins()

RooCmdArg RooFit::FrameBins ( Int_t  nbins)

Definition at line 326 of file RooGlobalFunc.cxx.

◆ FrameRange()

RooCmdArg RooFit::FrameRange ( double  xlo,
double  xhi 
)

Definition at line 327 of file RooGlobalFunc.cxx.

◆ IntegratedObservables()

RooCmdArg RooFit::IntegratedObservables ( const RooArgSet intObs)

Definition at line 300 of file RooGlobalFunc.cxx.

◆ IntrinsicBinning()

RooCmdArg RooFit::IntrinsicBinning ( bool  flag = true)

Definition at line 293 of file RooGlobalFunc.cxx.

◆ Label()

RooCmdArg RooFit::Label ( const char *  str)

Definition at line 259 of file RooGlobalFunc.cxx.

◆ LatexStyle()

RooCmdArg RooFit::LatexStyle ( bool  flag = true)

Definition at line 339 of file RooGlobalFunc.cxx.

◆ LatexTableStyle()

RooCmdArg RooFit::LatexTableStyle ( bool  flag = true)

Definition at line 340 of file RooGlobalFunc.cxx.

◆ Layout()

RooCmdArg RooFit::Layout ( double  xmin,
double  xmax = 0.99,
double  ymin = 0.95 
)

Definition at line 260 of file RooGlobalFunc.cxx.

◆ MultiArg()

RooFit::MultiArg ( const RooCmdArg arg1,
const RooCmdArg arg2,
const RooCmdArg arg3 = RooCmdArg::none(),
const RooCmdArg arg4 = RooCmdArg::none(),
const RooCmdArg arg5 = RooCmdArg::none(),
const RooCmdArg arg6 = RooCmdArg::none(),
const RooCmdArg arg7 = RooCmdArg::none(),
const RooCmdArg arg8 = RooCmdArg::none() 
)

PyROOT

The MultiArg() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArg of the function.

Definition at line 384 of file RooGlobalFunc.cxx.

◆ NoRecursion()

RooCmdArg RooFit::NoRecursion ( bool  flag = true)

Definition at line 363 of file RooGlobalFunc.cxx.

◆ NormSet()

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

Definition at line 309 of file RooGlobalFunc.h.

◆ NumIntConfig()

RooCmdArg RooFit::NumIntConfig ( const RooNumIntConfig cfg)

Definition at line 303 of file RooGlobalFunc.cxx.

◆ ObjectName()

RooCmdArg RooFit::ObjectName ( const char *  name)

Definition at line 345 of file RooGlobalFunc.cxx.

◆ OutputFile()

RooCmdArg RooFit::OutputFile ( const char *  fileName)

Definition at line 198 of file RooGlobalFunc.cxx.

◆ OutputStream()

RooCmdArg RooFit::OutputStream ( std::ostream &  os)

Definition at line 349 of file RooGlobalFunc.cxx.

◆ Parameters()

RooCmdArg RooFit::Parameters ( const RooArgSet params)

Definition at line 261 of file RooGlobalFunc.cxx.

◆ Prefix()

RooCmdArg RooFit::Prefix ( bool  flag)

Definition at line 350 of file RooGlobalFunc.cxx.

◆ RecycleConflictNodes()

RooCmdArg RooFit::RecycleConflictNodes ( bool  flag = true)

Definition at line 356 of file RooGlobalFunc.cxx.

◆ Rename()

RooCmdArg RooFit::Rename ( const char *  suffix)

Definition at line 361 of file RooGlobalFunc.cxx.

◆ RenameAllNodes()

RooCmdArg RooFit::RenameAllNodes ( const char *  suffix)

Definition at line 357 of file RooGlobalFunc.cxx.

◆ RenameAllVariables()

RooCmdArg RooFit::RenameAllVariables ( const char *  suffix)

Definition at line 358 of file RooGlobalFunc.cxx.

◆ RenameAllVariablesExcept()

RooCmdArg RooFit::RenameAllVariablesExcept ( const char *  suffix,
const char *  exceptionList 
)

Definition at line 359 of file RooGlobalFunc.cxx.

◆ RenameConflictNodes()

RooCmdArg RooFit::RenameConflictNodes ( const char *  suffix,
bool  renameOrigNodes = false 
)

Definition at line 355 of file RooGlobalFunc.cxx.

◆ RenameVariable()

RooCmdArg RooFit::RenameVariable ( const char *  inputName,
const char *  outputName 
)

Definition at line 360 of file RooGlobalFunc.cxx.

◆ Restrict()

RooCmdArg RooFit::Restrict ( const char *  catName,
const char *  stateNameList 
)

Definition at line 370 of file RooGlobalFunc.cxx.

◆ RooConst()

RooConstVar & RooFit::RooConst ( double  val)

Definition at line 391 of file RooGlobalFunc.cxx.

◆ Scaling()

RooCmdArg RooFit::Scaling ( bool  flag)

Definition at line 290 of file RooGlobalFunc.cxx.

◆ ScanAllCdf()

RooCmdArg RooFit::ScanAllCdf ( )

Definition at line 380 of file RooGlobalFunc.cxx.

◆ ScanNoCdf()

RooCmdArg RooFit::ScanNoCdf ( )

Definition at line 381 of file RooGlobalFunc.cxx.

◆ ScanNumCdf()

RooCmdArg RooFit::ScanNumCdf ( )

Definition at line 379 of file RooGlobalFunc.cxx.

◆ ScanParameters()

RooCmdArg RooFit::ScanParameters ( Int_t  nbins,
Int_t  intOrder 
)

Definition at line 378 of file RooGlobalFunc.cxx.

◆ SelectVars()

RooCmdArg RooFit::SelectVars ( const RooArgSet vars)

Definition at line 215 of file RooGlobalFunc.cxx.

◆ ShowConstants()

RooCmdArg RooFit::ShowConstants ( bool  flag = true)

Definition at line 266 of file RooGlobalFunc.cxx.

◆ Sibling()

RooCmdArg RooFit::Sibling ( const RooAbsCollection sibling)

Definition at line 199 of file RooGlobalFunc.cxx.

◆ Silence()

RooCmdArg RooFit::Silence ( bool  flag = true)

Definition at line 306 of file RooGlobalFunc.cxx.

◆ SplitParam() [1/2]

RooCmdArg RooFit::SplitParam ( const char *  varname,
const char *  catname 
)

Definition at line 366 of file RooGlobalFunc.cxx.

◆ SplitParam() [2/2]

RooCmdArg RooFit::SplitParam ( const RooRealVar var,
const RooAbsCategory cat 
)

Definition at line 367 of file RooGlobalFunc.cxx.

◆ SplitParamConstrained() [1/2]

RooCmdArg RooFit::SplitParamConstrained ( const char *  varname,
const char *  catname,
const char *  rsname 
)

Definition at line 368 of file RooGlobalFunc.cxx.

◆ SplitParamConstrained() [2/2]

RooCmdArg RooFit::SplitParamConstrained ( const RooRealVar var,
const RooAbsCategory cat,
const char *  rsname 
)

Definition at line 369 of file RooGlobalFunc.cxx.

◆ SupNormSet()

RooCmdArg RooFit::SupNormSet ( const RooArgSet nset)

Definition at line 373 of file RooGlobalFunc.cxx.

◆ TagName()

RooCmdArg RooFit::TagName ( const char *  name)

Definition at line 348 of file RooGlobalFunc.cxx.

◆ Title()

RooCmdArg RooFit::Title ( const char *  name)

Definition at line 209 of file RooGlobalFunc.cxx.

◆ TLatexStyle()

RooCmdArg RooFit::TLatexStyle ( bool  flag = true)

Definition at line 338 of file RooGlobalFunc.cxx.

◆ Topic()

RooCmdArg RooFit::Topic ( Int_t  topic)

Definition at line 344 of file RooGlobalFunc.cxx.

◆ VerbatimName()

RooCmdArg RooFit::VerbatimName ( bool  flag = true)

Definition at line 341 of file RooGlobalFunc.cxx.

◆ What()

RooCmdArg RooFit::What ( const char *  str)

Definition at line 269 of file RooGlobalFunc.cxx.

◆ YVar()

RooFit::YVar ( const RooAbsRealLValue var,
const RooCmdArg arg = RooCmdArg::none() 
)

PyROOT

The YVar() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArg of the function.

Definition at line 287 of file RooGlobalFunc.cxx.

◆ ZVar()

RooFit::ZVar ( const RooAbsRealLValue var,
const RooCmdArg arg = RooCmdArg::none() 
)

PyROOT

The ZVar() function is pythonized with the command argument pythonization. The keywords must correspond to the CmdArg of the function.

Definition at line 288 of file RooGlobalFunc.cxx.