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_t marginFactor=0.1)
 
RooCmdArg RooFit::AutoPrecision (Int_t ndigit=2)
 
RooCmdArg RooFit::AutoRange (const RooAbsData &data, Double_t marginFactor=0.1)
 
RooCmdArg RooFit::AutoSymBinning (Int_t nbins=100, Double_t marginFactor=0.1)
 
RooCmdArg RooFit::AutoSymRange (const RooAbsData &data, Double_t marginFactor=0.1)
 
RooCmdArg RooFit::AxisLabel (const char *name)
 
RooCmdArg RooFit::BaseClassName (const char *name)
 
RooCmdArg RooFit::Binned (Bool_t flag=kTRUE)
 
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_t depsAreCond=kFALSE)
 
RooCmdArg RooFit::Conditional (const RooArgSet &pdfSet, RooArgSet &&depSet, Bool_t depsAreCond=kFALSE)
 
RooCmdArg RooFit::Conditional (RooArgSet &&pdfSet, const RooArgSet &depSet, Bool_t depsAreCond=kFALSE)
 
RooCmdArg RooFit::Conditional (RooArgSet &&pdfSet, RooArgSet &&depSet, Bool_t depsAreCond=kFALSE)
 
RooCmdArg RooFit::Embedded (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::EventRange (Int_t nStart, Int_t nStop)
 
RooCmdArg RooFit::FitGauss (Bool_t flag=kTRUE)
 
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_t xlo, Double_t xhi)
 
RooCmdArg RooFit::IntegratedObservables (const RooArgSet &intObs)
 
RooCmdArg RooFit::IntegratedObservables (RooArgSet &&intObs)
 
RooCmdArg RooFit::IntrinsicBinning (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Label (const char *str)
 
RooCmdArg RooFit::LatexStyle (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::LatexTableStyle (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Layout (Double_t xmin, Double_t xmax=0.99, Double_t 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_t flag=kTRUE)
 
RooCmdArg RooFit::NormSet (const RooArgSet &nset)
 
RooCmdArg RooFit::NormSet (RooArgSet &&nset)
 
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::Parameters (RooArgSet &&params)
 
RooCmdArg RooFit::Prefix (Bool_t flag)
 
RooCmdArg RooFit::RecycleConflictNodes (Bool_t flag=kTRUE)
 
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_t renameOrigNodes=kFALSE)
 
RooCmdArg RooFit::RenameVariable (const char *inputName, const char *outputName)
 
RooCmdArg RooFit::Restrict (const char *catName, const char *stateNameList)
 
RooConstVarRooFit::RooConst (Double_t val)
 
RooCmdArg RooFit::Scaling (Bool_t 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::SelectVars (RooArgSet &&vars)
 
RooCmdArg RooFit::ShowConstants (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Sibling (const RooAbsCollection &sibling)
 
RooCmdArg RooFit::Silence (Bool_t flag=kTRUE)
 
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::SupNormSet (RooArgSet &&nset)
 
RooCmdArg RooFit::TagName (const char *name)
 
RooCmdArg RooFit::Title (const char *name)
 
RooCmdArg RooFit::TLatexStyle (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Topic (Int_t topic)
 
RooCmdArg RooFit::VerbatimName (Bool_t flag=kTRUE)
 
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_t  marginFactor = 0.1 
)

Definition at line 297 of file RooGlobalFunc.cxx.

◆ AutoPrecision()

RooCmdArg RooFit::AutoPrecision ( Int_t  ndigit = 2)

Definition at line 339 of file RooGlobalFunc.cxx.

◆ AutoRange()

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

Definition at line 209 of file RooGlobalFunc.cxx.

◆ AutoSymBinning()

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

Definition at line 296 of file RooGlobalFunc.cxx.

◆ AutoSymRange()

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

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

◆ Binned()

RooCmdArg RooFit::Binned ( Bool_t  flag = kTRUE)

Definition at line 317 of file RooGlobalFunc.cxx.

◆ Bins()

RooCmdArg RooFit::Bins ( Int_t  nbin)

Definition at line 207 of file RooGlobalFunc.cxx.

◆ ClassName()

RooCmdArg RooFit::ClassName ( const char *  name)

Definition at line 349 of file RooGlobalFunc.cxx.

◆ Color()

RooCmdArg RooFit::Color ( Color_t  color)

Definition at line 354 of file RooGlobalFunc.cxx.

◆ Columns()

RooCmdArg RooFit::Columns ( Int_t  ncol)

Definition at line 194 of file RooGlobalFunc.cxx.

◆ Conditional() [1/4]

RooCmdArg RooFit::Conditional ( const RooArgSet pdfSet,
const RooArgSet depSet,
Bool_t  depsAreCond = kFALSE 
)

Definition at line 263 of file RooGlobalFunc.cxx.

◆ Conditional() [2/4]

RooCmdArg RooFit::Conditional ( const RooArgSet pdfSet,
RooArgSet &&  depSet,
Bool_t  depsAreCond = kFALSE 
)

Definition at line 267 of file RooGlobalFunc.cxx.

◆ Conditional() [3/4]

RooCmdArg RooFit::Conditional ( RooArgSet &&  pdfSet,
const RooArgSet depSet,
Bool_t  depsAreCond = kFALSE 
)

Definition at line 264 of file RooGlobalFunc.cxx.

◆ Conditional() [4/4]

RooCmdArg RooFit::Conditional ( RooArgSet &&  pdfSet,
RooArgSet &&  depSet,
Bool_t  depsAreCond = kFALSE 
)

Definition at line 270 of file RooGlobalFunc.cxx.

◆ Embedded()

RooCmdArg RooFit::Embedded ( Bool_t  flag = kTRUE)

Definition at line 365 of file RooGlobalFunc.cxx.

◆ EventRange()

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

Definition at line 214 of file RooGlobalFunc.cxx.

◆ FitGauss()

RooCmdArg RooFit::FitGauss ( Bool_t  flag = kTRUE)

Definition at line 331 of file RooGlobalFunc.cxx.

◆ FitModel()

RooCmdArg RooFit::FitModel ( RooAbsPdf pdf)

Definition at line 310 of file RooGlobalFunc.cxx.

◆ FitOptions()

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() 
)

Definition at line 311 of file RooGlobalFunc.cxx.

◆ FixedPrecision()

RooCmdArg RooFit::FixedPrecision ( Int_t  ndigit = 2)

Definition at line 340 of file RooGlobalFunc.cxx.

◆ Format() [1/2]

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

Definition at line 197 of file RooGlobalFunc.cxx.

◆ Format() [2/2]

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() 
)

Definition at line 198 of file RooGlobalFunc.cxx.

◆ Frame()

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() 
)

Definition at line 322 of file RooGlobalFunc.cxx.

◆ FrameBins()

RooCmdArg RooFit::FrameBins ( Int_t  nbins)

Definition at line 329 of file RooGlobalFunc.cxx.

◆ FrameRange()

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

Definition at line 330 of file RooGlobalFunc.cxx.

◆ IntegratedObservables() [1/2]

RooCmdArg RooFit::IntegratedObservables ( const RooArgSet intObs)

Definition at line 300 of file RooGlobalFunc.cxx.

◆ IntegratedObservables() [2/2]

RooCmdArg RooFit::IntegratedObservables ( RooArgSet &&  intObs)

Definition at line 301 of file RooGlobalFunc.cxx.

◆ IntrinsicBinning()

RooCmdArg RooFit::IntrinsicBinning ( Bool_t  flag = kTRUE)

Definition at line 293 of file RooGlobalFunc.cxx.

◆ Label()

RooCmdArg RooFit::Label ( const char *  str)

Definition at line 253 of file RooGlobalFunc.cxx.

◆ LatexStyle()

RooCmdArg RooFit::LatexStyle ( Bool_t  flag = kTRUE)

Definition at line 342 of file RooGlobalFunc.cxx.

◆ LatexTableStyle()

RooCmdArg RooFit::LatexTableStyle ( Bool_t  flag = kTRUE)

Definition at line 343 of file RooGlobalFunc.cxx.

◆ Layout()

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

Definition at line 254 of file RooGlobalFunc.cxx.

◆ MultiArg()

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() 
)

Definition at line 384 of file RooGlobalFunc.cxx.

◆ NoRecursion()

RooCmdArg RooFit::NoRecursion ( Bool_t  flag = kTRUE)

Definition at line 366 of file RooGlobalFunc.cxx.

◆ NormSet() [1/2]

RooCmdArg RooFit::NormSet ( const RooArgSet nset)

Definition at line 304 of file RooGlobalFunc.cxx.

◆ NormSet() [2/2]

RooCmdArg RooFit::NormSet ( RooArgSet &&  nset)

Definition at line 305 of file RooGlobalFunc.cxx.

◆ NumIntConfig()

RooCmdArg RooFit::NumIntConfig ( const RooNumIntConfig cfg)

Definition at line 306 of file RooGlobalFunc.cxx.

◆ ObjectName()

RooCmdArg RooFit::ObjectName ( const char *  name)

Definition at line 348 of file RooGlobalFunc.cxx.

◆ OutputFile()

RooCmdArg RooFit::OutputFile ( const char *  fileName)

Definition at line 195 of file RooGlobalFunc.cxx.

◆ OutputStream()

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

Definition at line 352 of file RooGlobalFunc.cxx.

◆ Parameters() [1/2]

RooCmdArg RooFit::Parameters ( const RooArgSet params)

Definition at line 255 of file RooGlobalFunc.cxx.

◆ Parameters() [2/2]

RooCmdArg RooFit::Parameters ( RooArgSet &&  params)

Definition at line 256 of file RooGlobalFunc.cxx.

◆ Prefix()

RooCmdArg RooFit::Prefix ( Bool_t  flag)

Definition at line 353 of file RooGlobalFunc.cxx.

◆ RecycleConflictNodes()

RooCmdArg RooFit::RecycleConflictNodes ( Bool_t  flag = kTRUE)

Definition at line 359 of file RooGlobalFunc.cxx.

◆ Rename()

RooCmdArg RooFit::Rename ( const char *  suffix)

Definition at line 364 of file RooGlobalFunc.cxx.

◆ RenameAllNodes()

RooCmdArg RooFit::RenameAllNodes ( const char *  suffix)

Definition at line 360 of file RooGlobalFunc.cxx.

◆ RenameAllVariables()

RooCmdArg RooFit::RenameAllVariables ( const char *  suffix)

Definition at line 361 of file RooGlobalFunc.cxx.

◆ RenameAllVariablesExcept()

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

Definition at line 362 of file RooGlobalFunc.cxx.

◆ RenameConflictNodes()

RooCmdArg RooFit::RenameConflictNodes ( const char *  suffix,
Bool_t  renameOrigNodes = kFALSE 
)

Definition at line 358 of file RooGlobalFunc.cxx.

◆ RenameVariable()

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

Definition at line 363 of file RooGlobalFunc.cxx.

◆ Restrict()

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

Definition at line 373 of file RooGlobalFunc.cxx.

◆ RooConst()

RooConstVar & RooFit::RooConst ( Double_t  val)

Definition at line 391 of file RooGlobalFunc.cxx.

◆ Scaling()

RooCmdArg RooFit::Scaling ( Bool_t  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() [1/2]

RooCmdArg RooFit::SelectVars ( const RooArgSet vars)

Definition at line 212 of file RooGlobalFunc.cxx.

◆ SelectVars() [2/2]

RooCmdArg RooFit::SelectVars ( RooArgSet &&  vars)

Definition at line 213 of file RooGlobalFunc.cxx.

◆ ShowConstants()

RooCmdArg RooFit::ShowConstants ( Bool_t  flag = kTRUE)

Definition at line 257 of file RooGlobalFunc.cxx.

◆ Sibling()

RooCmdArg RooFit::Sibling ( const RooAbsCollection sibling)

Definition at line 196 of file RooGlobalFunc.cxx.

◆ Silence()

RooCmdArg RooFit::Silence ( Bool_t  flag = kTRUE)

Definition at line 309 of file RooGlobalFunc.cxx.

◆ SplitParam() [1/2]

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

Definition at line 369 of file RooGlobalFunc.cxx.

◆ SplitParam() [2/2]

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

Definition at line 370 of file RooGlobalFunc.cxx.

◆ SplitParamConstrained() [1/2]

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

Definition at line 371 of file RooGlobalFunc.cxx.

◆ SplitParamConstrained() [2/2]

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

Definition at line 372 of file RooGlobalFunc.cxx.

◆ SupNormSet() [1/2]

RooCmdArg RooFit::SupNormSet ( const RooArgSet nset)

Definition at line 376 of file RooGlobalFunc.cxx.

◆ SupNormSet() [2/2]

RooCmdArg RooFit::SupNormSet ( RooArgSet &&  nset)

Definition at line 377 of file RooGlobalFunc.cxx.

◆ TagName()

RooCmdArg RooFit::TagName ( const char *  name)

Definition at line 351 of file RooGlobalFunc.cxx.

◆ Title()

RooCmdArg RooFit::Title ( const char *  name)

Definition at line 206 of file RooGlobalFunc.cxx.

◆ TLatexStyle()

RooCmdArg RooFit::TLatexStyle ( Bool_t  flag = kTRUE)

Definition at line 341 of file RooGlobalFunc.cxx.

◆ Topic()

RooCmdArg RooFit::Topic ( Int_t  topic)

Definition at line 347 of file RooGlobalFunc.cxx.

◆ VerbatimName()

RooCmdArg RooFit::VerbatimName ( Bool_t  flag = kTRUE)

Definition at line 344 of file RooGlobalFunc.cxx.

◆ What()

RooCmdArg RooFit::What ( const char *  str)

Definition at line 260 of file RooGlobalFunc.cxx.

◆ YVar()

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

Definition at line 287 of file RooGlobalFunc.cxx.

◆ ZVar()

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

Definition at line 288 of file RooGlobalFunc.cxx.