Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Arguments for fitting

Classes

class  RooFit::EvalBackend
 

Functions

RooCmdArg RooFit::AsymptoticError (bool flag)
 
RooCmdArg RooFit::BatchMode (bool batchModeOn) R__DEPRECATED(6
 
RooCmdArg RooFit::BatchMode (const char *batchMode) R__DEPRECATED(6
 
RooCmdArg RooFit::BatchMode (std::string const &batchMode="cpu") R__DEPRECATED(6
 
RooCmdArg RooFit::CloneData (bool flag)
 
template<class... Args_t>
RooCmdArg RooFit::ConditionalObservables (Args_t &&... argsOrArgSet)
 Create a RooCmdArg to declare conditional observables.
 
RooCmdArg RooFit::Constrain (const RooArgSet &params)
 
RooCmdArg RooFit::DataError (Int_t)
 
RooCmdArg RooFit::DataError (std::string const &)
 
RooCmdArg Use RooFit::EvalBackend () instead of BatchMode().")
 
RooCmdArg RooFit::EvalErrorWall (bool flag)
 
RooCmdArg RooFit::Extended (bool flag=true)
 
RooCmdArg RooFit::ExternalConstraints (const RooArgSet &constraintPdfs)
 
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 flag=true)
 
RooCmdArg RooFit::InitialHesse (bool flag=true)
 
RooCmdArg RooFit::Integrate (bool flag)
 
RooCmdArg RooFit::IntegrateBins (double precision)
 Integrate the PDF over bins.
 
RooCmdArg RooFit::MaxCalls (int n)
 
RooCmdArg RooFit::Minimizer (const char *type, const char *alg=nullptr)
 
RooCmdArg RooFit::Minos (bool flag=true)
 
RooCmdArg RooFit::Minos (const RooArgSet &minosArgs)
 
RooCmdArg RooFit::ModularL (bool flag=false)
 
RooCmdArg RooFit::NumCPU (Int_t nCPU, Int_t interleave=0)
 
RooCmdArg RooFit::Offset (bool flag=true)
 
RooCmdArg RooFit::Offset (const char *mode)
 
RooCmdArg RooFit::Offset (std::string const &mode)
 
RooCmdArg RooFit::Optimize (Int_t flag=2)
 
RooCmdArg RooFit::Parallelize (int nWorkers)
 
RooCmdArg RooFit::PrefitDataFraction (double 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 flag=true)
 
RooCmdArg RooFit::SplitRange (bool flag=true)
 
RooCmdArg RooFit::Strategy (Int_t code)
 
RooCmdArg RooFit::SumCoefRange (const char *rangeName)
 
RooCmdArg RooFit::SumW2Error (bool flag)
 
RooCmdArg RooFit::Timer (bool flag=true)
 
RooCmdArg RooFit::TimingAnalysis (bool timingAnalysis)
 
RooCmdArg RooFit::Verbose (bool flag=true)
 
RooCmdArg RooFit::Warnings (bool flag=true)
 

Function Documentation

◆ AsymptoticError()

RooCmdArg RooFit::AsymptoticError ( bool flag)

Definition at line 759 of file RooGlobalFunc.cxx.

◆ BatchMode() [1/3]

RooCmdArg RooFit::BatchMode ( bool batchModeOn)

Definition at line 510 of file RooGlobalFunc.cxx.

◆ BatchMode() [2/3]

RooCmdArg RooFit::BatchMode ( const char * batchMode)

Definition at line 506 of file RooGlobalFunc.cxx.

◆ BatchMode() [3/3]

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

Definition at line 502 of file RooGlobalFunc.cxx.

◆ CloneData()

RooCmdArg RooFit::CloneData ( bool flag)

Definition at line 763 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 303 of file RooGlobalFunc.h.

◆ Constrain()

RooCmdArg RooFit::Constrain ( const RooArgSet & params)

Definition at line 721 of file RooGlobalFunc.cxx.

◆ DataError() [1/2]

RooCmdArg RooFit::DataError ( Int_t etype)

PyROOT

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"
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.

Definition at line 455 of file RooGlobalFunc.cxx.

◆ DataError() [2/2]

RooCmdArg RooFit::DataError ( std::string const & etype)

Definition at line 459 of file RooGlobalFunc.cxx.

◆ EvalBackend()

RooCmdArg Use RooFit::EvalBackend ( )

◆ EvalErrorWall()

RooCmdArg RooFit::EvalErrorWall ( bool flag)

Definition at line 751 of file RooGlobalFunc.cxx.

◆ Extended()

RooCmdArg RooFit::Extended ( bool flag = true)

Definition at line 451 of file RooGlobalFunc.cxx.

◆ ExternalConstraints()

RooCmdArg RooFit::ExternalConstraints ( const RooArgSet & constraintPdfs)

Definition at line 743 of file RooGlobalFunc.cxx.

◆ GlobalObservables()

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

Definition at line 331 of file RooGlobalFunc.h.

◆ GlobalObservablesSource()

RooCmdArg RooFit::GlobalObservablesSource ( const char * sourceName)

Definition at line 735 of file RooGlobalFunc.cxx.

◆ GlobalObservablesTag()

RooCmdArg RooFit::GlobalObservablesTag ( const char * tagName)

Definition at line 739 of file RooGlobalFunc.cxx.

◆ Hesse()

RooCmdArg RooFit::Hesse ( bool flag = true)

Definition at line 699 of file RooGlobalFunc.cxx.

◆ InitialHesse()

RooCmdArg RooFit::InitialHesse ( bool flag = true)

Definition at line 695 of file RooGlobalFunc.cxx.

◆ Integrate()

RooCmdArg RooFit::Integrate ( bool flag)

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

◆ MaxCalls()

RooCmdArg RooFit::MaxCalls ( int n)

Definition at line 683 of file RooGlobalFunc.cxx.

◆ Minimizer()

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

Definition at line 773 of file RooGlobalFunc.cxx.

◆ Minos() [1/2]

RooCmdArg RooFit::Minos ( bool flag = true)

Definition at line 703 of file RooGlobalFunc.cxx.

◆ Minos() [2/2]

RooCmdArg RooFit::Minos ( const RooArgSet & minosArgs)

Definition at line 707 of file RooGlobalFunc.cxx.

◆ ModularL()

RooCmdArg RooFit::ModularL ( bool flag = false)

Definition at line 467 of file RooGlobalFunc.cxx.

◆ NumCPU()

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

Definition at line 463 of file RooGlobalFunc.cxx.

◆ Offset() [1/3]

RooCmdArg RooFit::Offset ( bool flag = true)
inline

Definition at line 352 of file RooGlobalFunc.h.

◆ Offset() [2/3]

RooCmdArg RooFit::Offset ( const char * mode)
inline

Definition at line 350 of file RooGlobalFunc.h.

◆ Offset() [3/3]

RooCmdArg RooFit::Offset ( std::string const & mode)

Definition at line 778 of file RooGlobalFunc.cxx.

◆ Optimize()

RooCmdArg RooFit::Optimize ( Int_t )
Deprecated
Has no effect anymore. Functionality was removed in ROOT 6.42, and this function is kept as an empty shell that does nothing (for API compatibility between different ROOT versions).

Definition at line 663 of file RooGlobalFunc.cxx.

◆ Parallelize()

RooCmdArg RooFit::Parallelize ( int nWorkers)

Definition at line 471 of file RooGlobalFunc.cxx.

◆ PrefitDataFraction()

RooCmdArg RooFit::PrefitDataFraction ( double data_ratio = 0.0)

Definition at line 655 of file RooGlobalFunc.cxx.

◆ PrintEvalErrors()

RooCmdArg RooFit::PrintEvalErrors ( Int_t numErrors)

Definition at line 747 of file RooGlobalFunc.cxx.

◆ PrintLevel()

RooCmdArg RooFit::PrintLevel ( Int_t code)

Definition at line 679 of file RooGlobalFunc.cxx.

◆ ProjectedObservables()

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

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

◆ Save()

RooCmdArg RooFit::Save ( bool flag = true)

Definition at line 671 of file RooGlobalFunc.cxx.

◆ SplitRange()

RooCmdArg RooFit::SplitRange ( bool flag = true)

Definition at line 713 of file RooGlobalFunc.cxx.

◆ Strategy()

RooCmdArg RooFit::Strategy ( Int_t code)

Definition at line 691 of file RooGlobalFunc.cxx.

◆ SumCoefRange()

RooCmdArg RooFit::SumCoefRange ( const char * rangeName)

Definition at line 717 of file RooGlobalFunc.cxx.

◆ SumW2Error()

RooCmdArg RooFit::SumW2Error ( bool flag)

Definition at line 755 of file RooGlobalFunc.cxx.

◆ Timer()

RooCmdArg RooFit::Timer ( bool flag = true)

Definition at line 675 of file RooGlobalFunc.cxx.

◆ TimingAnalysis()

RooCmdArg RooFit::TimingAnalysis ( bool timingAnalysis)

Definition at line 475 of file RooGlobalFunc.cxx.

◆ Verbose()

RooCmdArg RooFit::Verbose ( bool flag = true)

Definition at line 667 of file RooGlobalFunc.cxx.

◆ Warnings()

RooCmdArg RooFit::Warnings ( bool flag = true)

Definition at line 687 of file RooGlobalFunc.cxx.