Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches

Functions

RooCmdArg RooFit::AsymptoticError (Bool_t flag)
 
RooCmdArg RooFit::BatchMode (bool batchModeOn)
 
RooCmdArg RooFit::BatchMode (const char *batchMode)
 
RooCmdArg RooFit::BatchMode (std::string const &batchMode="cpu")
 
RooCmdArg RooFit::CloneData (Bool_t flag)
 
template<class... Args_t>
RooCmdArg RooFit::ConditionalObservables (Args_t &&... argsOrArgSet)
 Create a RooCmdArg to declare conditional observables.
 
RooCmdArg Please migrate to the RooCmdArg based fit RooFit::configuration (or use RooFitLegacy::FitOptions(const char *) to silence this warning," " but be warned that the RooFitLegacy function also gets removed in ROOT v6.28).")
 
RooCmdArg RooFit::Constrain (const RooArgSet &params)
 
RooCmdArg RooFit::Constrain (RooArgSet &&params)
 
RooCmdArg RooFit::DataError (Int_t)
 
RooCmdArg RooFit::EvalErrorWall (Bool_t flag)
 
RooCmdArg RooFit::Extended (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::ExternalConstraints (const RooArgSet &constraintPdfs)
 
RooCmdArg RooFit::ExternalConstraints (RooArgSet &&constraintPdfs)
 
RooCmdArg RooFit::FitOptions (const char *opts) R__DEPRECATED(6
 
template<class... Args_t>
RooCmdArg RooFit::GlobalObservables (Args_t &&... argsOrArgSet)
 
RooCmdArg RooFit::GlobalObservablesSource (const char *sourceName)
 
RooCmdArg RooFit::GlobalObservablesTag (const char *tagName)
 
RooCmdArg RooFit::Hesse (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::InitialHesse (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Integrate (Bool_t flag)
 
RooCmdArg RooFit::IntegrateBins (double precision)
 Integrate the PDF over bins. Improves accuracy for binned fits. Switch off using 0. as argument.
 
RooCmdArg RooFit::Minimizer (const char *type, const char *alg=0)
 
RooCmdArg RooFit::Minos (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Minos (const RooArgSet &minosArgs)
 
RooCmdArg RooFit::Minos (RooArgSet &&minosArgs)
 
RooCmdArg RooFit::NumCPU (Int_t nCPU, Int_t interleave=0)
 
RooCmdArg RooFit::Offset (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Optimize (Int_t flag=2)
 
RooCmdArg RooFit::PrefitDataFraction (Double_t data_ratio=0.0)
 
RooCmdArg RooFit::PrintEvalErrors (Int_t numErrors)
 
RooCmdArg RooFit::PrintLevel (Int_t code)
 
template<class... Args_t>
RooCmdArg RooFit::ProjectedObservables (Args_t &&... argsOrArgSet)
 
RooCmdArg RooFit::RecoverFromUndefinedRegions (double strength)
 When parameters are chosen such that a PDF is undefined, try to indicate to the minimiser how to leave this region.
 
RooCmdArg RooFit::Save (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::SplitRange (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Strategy (Int_t code)
 
RooCmdArg RooFit::SumCoefRange (const char *rangeName)
 
RooCmdArg RooFit::SumW2Error (Bool_t flag)
 
RooCmdArg RooFit::Timer (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Verbose (Bool_t flag=kTRUE)
 
RooCmdArg RooFit::Warnings (Bool_t flag=kTRUE)
 

Function Documentation

◆ AsymptoticError()

RooCmdArg RooFit::AsymptoticError ( Bool_t  flag)

Definition at line 259 of file RooGlobalFunc.cxx.

◆ BatchMode() [1/3]

RooCmdArg RooFit::BatchMode ( bool  batchModeOn)
inline

Definition at line 225 of file RooGlobalFunc.h.

◆ BatchMode() [2/3]

RooCmdArg RooFit::BatchMode ( const char *  batchMode)
inline

Definition at line 224 of file RooGlobalFunc.h.

◆ BatchMode() [3/3]

RooCmdArg RooFit::BatchMode ( std::string const &  batchMode = "cpu")

Definition at line 179 of file RooGlobalFunc.cxx.

◆ CloneData()

RooCmdArg RooFit::CloneData ( Bool_t  flag)

Definition at line 260 of file RooGlobalFunc.cxx.

◆ ConditionalObservables()

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

Create a RooCmdArg to declare conditional observables.

Parameters
[in]argsOrArgSetCan either be one or more RooRealVar with the

Definition at line 242 of file RooGlobalFunc.h.

◆ configuration()

RooCmdArg Please migrate to the RooCmdArg based fit RooFit::configuration ( or use RooFitLegacy::FitOptions(const char *) to silence this  warning,
" " but be warned that the RooFitLegacy function also gets removed in ROOT v6.  28 
)

◆ Constrain() [1/2]

RooCmdArg RooFit::Constrain ( const RooArgSet params)

Definition at line 250 of file RooGlobalFunc.cxx.

◆ Constrain() [2/2]

RooCmdArg RooFit::Constrain ( RooArgSet &&  params)

Definition at line 251 of file RooGlobalFunc.cxx.

◆ DataError()

RooFit::DataError ( Int_t  etype)

PyROOT

Instead of passing an enum value to this function, you can pass a string with the name of that enum value, for example:

data.plotOn(frame, DataError="SumW2")
# instead of DataError=ROOT.RooAbsData.SumW2

If you want to use the "None" enum value to disable error plotting, you can also pass None directly instead of passing a string:

data.plotOn(frame, DataError=None)
# instead of DataError="None"

Definition at line 177 of file RooGlobalFunc.cxx.

◆ EvalErrorWall()

RooCmdArg RooFit::EvalErrorWall ( Bool_t  flag)

Definition at line 257 of file RooGlobalFunc.cxx.

◆ Extended()

RooCmdArg RooFit::Extended ( Bool_t  flag = kTRUE)

Definition at line 176 of file RooGlobalFunc.cxx.

◆ ExternalConstraints() [1/2]

RooCmdArg RooFit::ExternalConstraints ( const RooArgSet constraintPdfs)

Definition at line 254 of file RooGlobalFunc.cxx.

◆ ExternalConstraints() [2/2]

RooCmdArg RooFit::ExternalConstraints ( RooArgSet &&  constraintPdfs)

Definition at line 255 of file RooGlobalFunc.cxx.

◆ FitOptions()

RooCmdArg RooFit::FitOptions ( const char *  opts)

Definition at line 220 of file RooGlobalFunc.cxx.

◆ GlobalObservables()

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

Definition at line 270 of file RooGlobalFunc.h.

◆ GlobalObservablesSource()

RooCmdArg RooFit::GlobalObservablesSource ( const char *  sourceName)

Definition at line 252 of file RooGlobalFunc.cxx.

◆ GlobalObservablesTag()

RooCmdArg RooFit::GlobalObservablesTag ( const char *  tagName)

Definition at line 253 of file RooGlobalFunc.cxx.

◆ Hesse()

RooCmdArg RooFit::Hesse ( Bool_t  flag = kTRUE)

Definition at line 244 of file RooGlobalFunc.cxx.

◆ InitialHesse()

RooCmdArg RooFit::InitialHesse ( Bool_t  flag = kTRUE)

Definition at line 243 of file RooGlobalFunc.cxx.

◆ Integrate()

RooCmdArg RooFit::Integrate ( Bool_t  flag)

Definition at line 261 of file RooGlobalFunc.cxx.

◆ IntegrateBins()

RooCmdArg RooFit::IntegrateBins ( double  precision)

Integrate the PDF over bins. Improves accuracy for binned fits. Switch off using 0. as argument.

See also
RooAbsPdf::fitTo().

Definition at line 193 of file RooGlobalFunc.cxx.

◆ Minimizer()

RooCmdArg RooFit::Minimizer ( const char *  type,
const char *  alg = 0 
)

Definition at line 262 of file RooGlobalFunc.cxx.

◆ Minos() [1/3]

RooCmdArg RooFit::Minos ( Bool_t  flag = kTRUE)

Definition at line 245 of file RooGlobalFunc.cxx.

◆ Minos() [2/3]

RooCmdArg RooFit::Minos ( const RooArgSet minosArgs)

Definition at line 246 of file RooGlobalFunc.cxx.

◆ Minos() [3/3]

RooCmdArg RooFit::Minos ( RooArgSet &&  minosArgs)

Definition at line 247 of file RooGlobalFunc.cxx.

◆ NumCPU()

RooCmdArg RooFit::NumCPU ( Int_t  nCPU,
Int_t  interleave = 0 
)

Definition at line 178 of file RooGlobalFunc.cxx.

◆ Offset()

RooCmdArg RooFit::Offset ( Bool_t  flag = kTRUE)

Definition at line 263 of file RooGlobalFunc.cxx.

◆ Optimize()

RooCmdArg RooFit::Optimize ( Int_t  flag = 2)

Definition at line 236 of file RooGlobalFunc.cxx.

◆ PrefitDataFraction()

RooCmdArg RooFit::PrefitDataFraction ( Double_t  data_ratio = 0.0)

Definition at line 219 of file RooGlobalFunc.cxx.

◆ PrintEvalErrors()

RooCmdArg RooFit::PrintEvalErrors ( Int_t  numErrors)

Definition at line 256 of file RooGlobalFunc.cxx.

◆ PrintLevel()

RooCmdArg RooFit::PrintLevel ( Int_t  code)

Definition at line 240 of file RooGlobalFunc.cxx.

◆ ProjectedObservables()

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

Definition at line 249 of file RooGlobalFunc.h.

◆ RecoverFromUndefinedRegions()

RooCmdArg RooFit::RecoverFromUndefinedRegions ( double  strength)

When parameters are chosen such that a PDF is undefined, try to indicate to the minimiser how to leave this region.

Parameters
strengthStrength of hints for minimiser. Set to zero to switch off.

Definition at line 266 of file RooGlobalFunc.cxx.

◆ Save()

RooCmdArg RooFit::Save ( Bool_t  flag = kTRUE)

Definition at line 238 of file RooGlobalFunc.cxx.

◆ SplitRange()

RooCmdArg RooFit::SplitRange ( Bool_t  flag = kTRUE)

Definition at line 248 of file RooGlobalFunc.cxx.

◆ Strategy()

RooCmdArg RooFit::Strategy ( Int_t  code)

Definition at line 242 of file RooGlobalFunc.cxx.

◆ SumCoefRange()

RooCmdArg RooFit::SumCoefRange ( const char *  rangeName)

Definition at line 249 of file RooGlobalFunc.cxx.

◆ SumW2Error()

RooCmdArg RooFit::SumW2Error ( Bool_t  flag)

Definition at line 258 of file RooGlobalFunc.cxx.

◆ Timer()

RooCmdArg RooFit::Timer ( Bool_t  flag = kTRUE)

Definition at line 239 of file RooGlobalFunc.cxx.

◆ Verbose()

RooCmdArg RooFit::Verbose ( Bool_t  flag = kTRUE)

Definition at line 237 of file RooGlobalFunc.cxx.

◆ Warnings()

RooCmdArg RooFit::Warnings ( Bool_t  flag = kTRUE)

Definition at line 241 of file RooGlobalFunc.cxx.