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

◆ AutoPrecision()

RooCmdArg RooFit::AutoPrecision ( Int_t  ndigit = 2)

Definition at line 375 of file RooGlobalFunc.cxx.

◆ AutoRange()

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

Definition at line 228 of file RooGlobalFunc.cxx.

◆ AutoSymBinning()

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

Definition at line 335 of file RooGlobalFunc.cxx.

◆ AutoSymRange()

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

Definition at line 227 of file RooGlobalFunc.cxx.

◆ AxisLabel()

RooCmdArg RooFit::AxisLabel ( const char *  name)

Definition at line 328 of file RooGlobalFunc.cxx.

◆ BaseClassName()

RooCmdArg RooFit::BaseClassName ( const char *  name)

Definition at line 386 of file RooGlobalFunc.cxx.

◆ Binned()

RooCmdArg RooFit::Binned ( bool  flag = true)

Definition at line 353 of file RooGlobalFunc.cxx.

◆ Bins()

RooCmdArg RooFit::Bins ( Int_t  nbin)

Definition at line 226 of file RooGlobalFunc.cxx.

◆ ClassName()

RooCmdArg RooFit::ClassName ( const char *  name)

Definition at line 385 of file RooGlobalFunc.cxx.

◆ Color()

RooCmdArg RooFit::Color ( Color_t  color)

Definition at line 390 of file RooGlobalFunc.cxx.

◆ Columns()

RooCmdArg RooFit::Columns ( Int_t  ncol)

Definition at line 213 of file RooGlobalFunc.cxx.

◆ Conditional()

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

Definition at line 311 of file RooGlobalFunc.cxx.

◆ Embedded()

RooCmdArg RooFit::Embedded ( bool  flag = true)

Definition at line 401 of file RooGlobalFunc.cxx.

◆ EventRange()

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

Definition at line 236 of file RooGlobalFunc.cxx.

◆ FitGauss()

RooCmdArg RooFit::FitGauss ( bool  flag = true)

Definition at line 367 of file RooGlobalFunc.cxx.

◆ FitModel()

RooCmdArg RooFit::FitModel ( RooAbsPdf pdf)

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

◆ FixedPrecision()

RooCmdArg RooFit::FixedPrecision ( Int_t  ndigit = 2)

Definition at line 376 of file RooGlobalFunc.cxx.

◆ Format() [1/2]

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

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

◆ FrameBins()

RooCmdArg RooFit::FrameBins ( Int_t  nbins)

Definition at line 365 of file RooGlobalFunc.cxx.

◆ FrameRange()

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

Definition at line 366 of file RooGlobalFunc.cxx.

◆ IntegratedObservables()

RooCmdArg RooFit::IntegratedObservables ( const RooArgSet intObs)

Definition at line 339 of file RooGlobalFunc.cxx.

◆ IntrinsicBinning()

RooCmdArg RooFit::IntrinsicBinning ( bool  flag = true)

Definition at line 332 of file RooGlobalFunc.cxx.

◆ Label()

RooCmdArg RooFit::Label ( const char *  str)

Definition at line 298 of file RooGlobalFunc.cxx.

◆ LatexStyle()

RooCmdArg RooFit::LatexStyle ( bool  flag = true)

Definition at line 378 of file RooGlobalFunc.cxx.

◆ LatexTableStyle()

RooCmdArg RooFit::LatexTableStyle ( bool  flag = true)

Definition at line 379 of file RooGlobalFunc.cxx.

◆ Layout()

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

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

◆ NoRecursion()

RooCmdArg RooFit::NoRecursion ( bool  flag = true)

Definition at line 402 of file RooGlobalFunc.cxx.

◆ NormSet()

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

Definition at line 336 of file RooGlobalFunc.h.

◆ NumIntConfig()

RooCmdArg RooFit::NumIntConfig ( const RooNumIntConfig cfg)

Definition at line 342 of file RooGlobalFunc.cxx.

◆ ObjectName()

RooCmdArg RooFit::ObjectName ( const char *  name)

Definition at line 384 of file RooGlobalFunc.cxx.

◆ OutputFile()

RooCmdArg RooFit::OutputFile ( const char *  fileName)

Definition at line 214 of file RooGlobalFunc.cxx.

◆ OutputStream()

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

Definition at line 388 of file RooGlobalFunc.cxx.

◆ Parameters()

RooCmdArg RooFit::Parameters ( const RooArgSet params)

Definition at line 300 of file RooGlobalFunc.cxx.

◆ Prefix()

RooCmdArg RooFit::Prefix ( bool  flag)

Definition at line 389 of file RooGlobalFunc.cxx.

◆ RecycleConflictNodes()

RooCmdArg RooFit::RecycleConflictNodes ( bool  flag = true)

Definition at line 395 of file RooGlobalFunc.cxx.

◆ Rename()

RooCmdArg RooFit::Rename ( const char *  suffix)

Definition at line 400 of file RooGlobalFunc.cxx.

◆ RenameAllNodes()

RooCmdArg RooFit::RenameAllNodes ( const char *  suffix)

Definition at line 396 of file RooGlobalFunc.cxx.

◆ RenameAllVariables()

RooCmdArg RooFit::RenameAllVariables ( const char *  suffix)

Definition at line 397 of file RooGlobalFunc.cxx.

◆ RenameAllVariablesExcept()

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

Definition at line 398 of file RooGlobalFunc.cxx.

◆ RenameConflictNodes()

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

Definition at line 394 of file RooGlobalFunc.cxx.

◆ RenameVariable()

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

Definition at line 399 of file RooGlobalFunc.cxx.

◆ Restrict()

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

Definition at line 409 of file RooGlobalFunc.cxx.

◆ RooConst()

RooConstVar & RooFit::RooConst ( double  val)

Definition at line 430 of file RooGlobalFunc.cxx.

◆ Scaling()

RooCmdArg RooFit::Scaling ( bool  flag)

Definition at line 329 of file RooGlobalFunc.cxx.

◆ ScanAllCdf()

RooCmdArg RooFit::ScanAllCdf ( )

Definition at line 419 of file RooGlobalFunc.cxx.

◆ ScanNoCdf()

RooCmdArg RooFit::ScanNoCdf ( )

Definition at line 420 of file RooGlobalFunc.cxx.

◆ ScanNumCdf()

RooCmdArg RooFit::ScanNumCdf ( )

Definition at line 418 of file RooGlobalFunc.cxx.

◆ ScanParameters()

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

Definition at line 417 of file RooGlobalFunc.cxx.

◆ SelectVars()

RooCmdArg RooFit::SelectVars ( const RooArgSet vars)

Definition at line 231 of file RooGlobalFunc.cxx.

◆ ShowConstants()

RooCmdArg RooFit::ShowConstants ( bool  flag = true)

Definition at line 305 of file RooGlobalFunc.cxx.

◆ Sibling()

RooCmdArg RooFit::Sibling ( const RooAbsCollection sibling)

Definition at line 215 of file RooGlobalFunc.cxx.

◆ Silence()

RooCmdArg RooFit::Silence ( bool  flag = true)

Definition at line 345 of file RooGlobalFunc.cxx.

◆ SplitParam() [1/2]

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

Definition at line 405 of file RooGlobalFunc.cxx.

◆ SplitParam() [2/2]

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

Definition at line 406 of file RooGlobalFunc.cxx.

◆ SplitParamConstrained() [1/2]

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

Definition at line 407 of file RooGlobalFunc.cxx.

◆ SplitParamConstrained() [2/2]

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

Definition at line 408 of file RooGlobalFunc.cxx.

◆ SupNormSet()

RooCmdArg RooFit::SupNormSet ( const RooArgSet nset)

Definition at line 412 of file RooGlobalFunc.cxx.

◆ TagName()

RooCmdArg RooFit::TagName ( const char *  name)

Definition at line 387 of file RooGlobalFunc.cxx.

◆ Title()

RooCmdArg RooFit::Title ( const char *  name)

Definition at line 225 of file RooGlobalFunc.cxx.

◆ TLatexStyle()

RooCmdArg RooFit::TLatexStyle ( bool  flag = true)

Definition at line 377 of file RooGlobalFunc.cxx.

◆ Topic()

RooCmdArg RooFit::Topic ( Int_t  topic)

Definition at line 383 of file RooGlobalFunc.cxx.

◆ VerbatimName()

RooCmdArg RooFit::VerbatimName ( bool  flag = true)

Definition at line 380 of file RooGlobalFunc.cxx.

◆ What()

RooCmdArg RooFit::What ( const char *  str)

Definition at line 308 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 326 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 327 of file RooGlobalFunc.cxx.