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

The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or other types of arguments). More...

Namespaces

namespace  Detail
 
namespace  Experimental
 
namespace  JSONIO
 
namespace  MultiProcess
 
namespace  TestStatistics
 Namespace for new RooFit test statistic calculation.
 

Classes

class  EvalBackend
 
class  EvalContext
 
class  Evaluator
 Evaluates a RooAbsReal object in other ways than recursive graph traversal. More...
 
struct  NodeInfo
 A struct used by the Evaluator to store information on the RooAbsArgs in the computation graph. More...
 
struct  UniqueId
 A UniqueId can be added as a class member to enhance any class with a unique identifier for each instantiated object. More...
 

Typedefs

typedef double(* CFUNCD1D) (double)
 
typedef double(* CFUNCD1I) (Int_t)
 
typedef double(* CFUNCD2DD) (double, double)
 
typedef double(* CFUNCD2DI) (double, Int_t)
 
typedef double(* CFUNCD2ID) (Int_t, double)
 
typedef double(* CFUNCD2II) (Int_t, Int_t)
 
typedef double(* CFUNCD2UD) (UInt_t, double)
 
typedef double(* CFUNCD3DDB) (double, double, bool)
 
typedef double(* CFUNCD3DDD) (double, double, double)
 
typedef double(* CFUNCD3DII) (double, Int_t, Int_t)
 
typedef double(* CFUNCD3UDD) (UInt_t, double, double)
 
typedef double(* CFUNCD3UDU) (UInt_t, double, UInt_t)
 
typedef double(* CFUNCD3UUD) (UInt_t, UInt_t, double)
 
typedef double(* CFUNCD4DDDB) (double, double, double, bool)
 
typedef double(* CFUNCD4DDDD) (double, double, double, double)
 
typedef double(* CFUNCD4DDDI) (double, double, double, Int_t)
 
using ModelConfig = RooStats::ModelConfig
 
template<typename T >
using OwningPtr = T *
 An alias for raw pointers for indicating that the return type of a RooFit function is an owning pointer that must be deleted by the caller.
 
typedef double SuperFloat
 
typedef std::numeric_limits< doubleSuperFloatPrecision
 

Enumerations

enum  MPSplit { BulkPartition =0 , Interleave =1 , SimComponents =2 , Hybrid =3 }
 
enum  MsgLevel {
  DEBUG =0 , INFO =1 , PROGRESS =2 , WARNING =3 ,
  ERROR =4 , FATAL =5
}
 Verbosity level for RooMsgService::StreamConfig in RooMsgService. More...
 
enum  MsgTopic {
  Generation =1 , Minimization =2 , Plotting =4 , Fitting =8 ,
  Integration =16 , LinkStateMgmt =32 , Eval =64 , Caching =128 ,
  Optimization =256 , ObjectHandling =512 , InputArguments =1024 , Tracing =2048 ,
  Contents =4096 , DataHandling =8192 , NumIntegration =16384 , FastEvaluations =1<<15 ,
  HistFactory =1<<16 , IO =1<<17
}
 Topics for a RooMsgService::StreamConfig in RooMsgService. More...
 
enum class  OffsetMode { None , Initial , Bin }
 For setting the offset mode with the Offset() command argument to RooAbsPdf::fitTo() More...
 

Functions

RooCmdArg AddTo (const char *name, double wgtSel=1.0, double wgtOther=1.0)
 
RooCmdArg AllBinned ()
 
RooCmdArg Asimov (bool flag=true)
 
RooCmdArg Asymmetry (const RooCategory &cat)
 
RooCmdArg AsymptoticError (bool flag)
 
RooCmdArg AutoBinned (bool flag=true)
 
RooCmdArg AutoBinning (Int_t nbins=100, double marginFactor=0.1)
 
RooCmdArg AutoPrecision (Int_t ndigit=2)
 
RooCmdArg AutoRange (const RooAbsData &data, double marginFactor=0.1)
 
RooCmdArg AutoSymBinning (Int_t nbins=100, double marginFactor=0.1)
 
RooCmdArg AutoSymRange (const RooAbsData &data, double marginFactor=0.1)
 
RooCmdArg AxisLabel (const char *name)
 
RooCmdArg BaseClassName (const char *name)
 
RooCmdArg BatchMode (std::string const &batchMode)
 
RooAbsRealbindFunction (const char *name, CFUNCD1D func, RooAbsReal &x)
 
RooAbsRealbindFunction (const char *name, CFUNCD1I func, RooAbsReal &x)
 
RooAbsRealbindFunction (const char *name, CFUNCD2DD func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsRealbindFunction (const char *name, CFUNCD2DI func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsRealbindFunction (const char *name, CFUNCD2ID func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsRealbindFunction (const char *name, CFUNCD2II func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsRealbindFunction (const char *name, CFUNCD2UD func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsRealbindFunction (const char *name, CFUNCD3DDB func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsRealbindFunction (const char *name, CFUNCD3DDD func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsRealbindFunction (const char *name, CFUNCD3DII func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsRealbindFunction (const char *name, CFUNCD3UDD func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsRealbindFunction (const char *name, CFUNCD3UDU func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsRealbindFunction (const char *name, CFUNCD3UUD func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsRealbindFunction (const char *name, CFUNCD4DDDB func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z, RooAbsReal &w)
 
RooAbsRealbindFunction (const char *name, CFUNCD4DDDD func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z, RooAbsReal &w)
 
RooAbsRealbindFunction (const char *name, CFUNCD4DDDI func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z, RooAbsReal &w)
 
RooAbsRealbindFunction (const char *name, const ROOT::Math::IBaseFunctionMultiDim &ftor, const RooArgList &vars)
 
RooAbsRealbindFunction (const char *name, const ROOT::Math::IBaseFunctionOneDim &ftor, RooAbsReal &vars)
 
RooAbsRealbindFunction (TF1 *func, RooAbsReal &x)
 Bind a TFx function to RooFit variables. Also see RooTFnBinding.
 
RooAbsRealbindFunction (TF1 *func, RooAbsReal &x, const RooArgList &params)
 Bind a TFx function to RooFit variables. Also see RooTFnBinding.
 
RooAbsRealbindFunction (TF2 *func, RooAbsReal &x, RooAbsReal &y)
 Bind a TFx function to RooFit variables. Also see RooTFnBinding.
 
RooAbsRealbindFunction (TF2 *func, RooAbsReal &x, RooAbsReal &y, const RooArgList &params)
 Bind a TFx function to RooFit variables. Also see RooTFnBinding.
 
RooAbsRealbindFunction (TF3 *func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 Bind a TFx function to RooFit variables. Also see RooTFnBinding.
 
RooAbsRealbindFunction (TF3 *func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z, const RooArgList &params)
 Bind a TFx function to RooFit variables. Also see RooTFnBinding.
 
RooAbsPdfbindPdf (const char *name, CFUNCD1D func, RooAbsReal &x)
 
RooAbsPdfbindPdf (const char *name, CFUNCD1I func, RooAbsReal &x)
 
RooAbsPdfbindPdf (const char *name, CFUNCD2DD func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsPdfbindPdf (const char *name, CFUNCD2DI func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsPdfbindPdf (const char *name, CFUNCD2ID func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsPdfbindPdf (const char *name, CFUNCD2II func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsPdfbindPdf (const char *name, CFUNCD2UD func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsPdfbindPdf (const char *name, CFUNCD3DDB func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsPdfbindPdf (const char *name, CFUNCD3DDD func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsPdfbindPdf (const char *name, CFUNCD3DII func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsPdfbindPdf (const char *name, CFUNCD3UDD func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsPdfbindPdf (const char *name, CFUNCD3UDU func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsPdfbindPdf (const char *name, CFUNCD3UUD func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooAbsPdfbindPdf (const char *name, CFUNCD4DDDB func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z, RooAbsReal &w)
 
RooAbsPdfbindPdf (const char *name, CFUNCD4DDDD func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z, RooAbsReal &w)
 
RooAbsPdfbindPdf (const char *name, CFUNCD4DDDI func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z, RooAbsReal &w)
 
RooAbsPdfbindPdf (const char *name, const ROOT::Math::IBaseFunctionMultiDim &ftor, const RooArgList &vars)
 
RooAbsPdfbindPdf (const char *name, const ROOT::Math::IBaseFunctionOneDim &ftor, RooAbsReal &vars)
 
RooAbsPdfbindPdf (TF1 *func, RooAbsReal &x)
 
RooAbsPdfbindPdf (TF2 *func, RooAbsReal &x, RooAbsReal &y)
 
RooAbsPdfbindPdf (TF3 *func, RooAbsReal &x, RooAbsReal &y, RooAbsReal &z)
 
RooCmdArg Binned (bool flag=true)
 
RooCmdArg Binning (const char *binningName)
 
RooCmdArg Binning (const RooAbsBinning &binning)
 
RooCmdArg Binning (int nBins, double xlo=0.0, double xhi=0.0)
 
RooCmdArg Bins (Int_t nbin)
 
RooCmdArg BootStrapData (const RooDataSet &dset)
 
RooCmdArg ClassName (const char *name)
 
RooCmdArg CloneData (bool flag)
 
RooCmdArg Color (Color_t color)
 
RooCmdArg Columns (Int_t ncol)
 
template<class... Args_t>
RooCmdArg Components (Args_t &&... argsOrArgSet)
 
RooCmdArg Components (const char *compSpec)
 
RooCmdArg Conditional (const RooArgSet &pdfSet, const RooArgSet &depSet, bool depsAreCond=false)
 
template<class... Args_t>
RooCmdArg ConditionalObservables (Args_t &&... argsOrArgSet)
 Create a RooCmdArg to declare conditional observables.
 
RooCmdArg Constrain (const RooArgSet &params)
 
RooCmdArg Cut (const char *cutSpec)
 
RooCmdArg Cut (const RooFormulaVar &cutVar)
 
RooCmdArg CutRange (const char *rangeName)
 
RooCmdArg DataError (Int_t)
 
RooCmdArg DrawOption (const char *opt)
 
RooCmdArg Efficiency (const RooCategory &cat)
 
RooCmdArg Embedded (bool flag=true)
 
RooCmdArg EvalErrorValue (double value)
 
RooCmdArg EvalErrorWall (bool flag)
 
RooCmdArg EventRange (Int_t nStart, Int_t nStop)
 
RooCmdArg ExpectedData (bool flag=true)
 
RooCmdArg Extended (bool flag=true)
 
RooCmdArg ExternalConstraints (const RooArgSet &constraintPdfs)
 
RooCmdArg FillColor (Color_t color)
 
RooCmdArg FillColor (std::string const &color)
 
RooCmdArg FillStyle (std::string const &style)
 
RooCmdArg FillStyle (Style_t style)
 
RooCmdArg FitGauss (bool flag=true)
 
RooCmdArg FitModel (RooAbsPdf &pdf)
 
RooCmdArg FitOptions (const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={})
 
RooCmdArg FixedPrecision (Int_t ndigit=2)
 
RooCmdArg Format (const char *what, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={})
 
RooCmdArg Frame (const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={})
 
RooCmdArg FrameBins (Int_t nbins)
 
RooCmdArg FrameRange (double xlo, double xhi)
 
RooCmdArg GenBinned (const char *tag)
 
template<class Class , class UniqueId_t = std::remove_reference_t<decltype(std::declval<std::remove_pointer_t<Class>>().uniqueId())>>
UniqueId_t const & getUniqueId (Class const *ptr)
 A helper function to replace pointer comparisons with UniqueId comparisons.
 
template<class... Args_t>
RooCmdArg GlobalObservables (Args_t &&... argsOrArgSet)
 
RooCmdArg GlobalObservablesSource (const char *sourceName)
 
RooCmdArg GlobalObservablesTag (const char *tagName)
 
RooCmdArg Hesse (bool flag=true)
 
RooCmdArg Import (const char *state, RooAbsData &data)
 
RooCmdArg Import (const char *state, RooDataHist &dhist)
 
RooCmdArg Import (const char *state, TH1 &histo)
 
RooCmdArg Import (const std::map< std::string, RooDataHist * > &)
 
RooCmdArg Import (const std::map< std::string, RooDataSet * > &)
 
RooCmdArg Import (const std::map< std::string, TH1 * > &)
 
RooCmdArg Import (RooAbsData &data)
 
template<class DataPtr_t >
RooCmdArg Import (std::map< std::string, DataPtr_t > const &map)
 
RooCmdArg Import (TH1 &histo, bool importDensity=false)
 
RooCmdArg Import (TTree &tree)
 
RooCmdArg ImportFromFile (const char *fname, const char *tname)
 
RooCmdArg Index (RooCategory &icat)
 
RooCmdArg InitialHesse (bool flag=true)
 
RooCmdArg Integrate (bool flag)
 
RooCmdArg IntegrateBins (double precision)
 Integrate the PDF over bins.
 
RooCmdArg IntegratedObservables (const RooArgSet &intObs)
 
RooCmdArg IntrinsicBinning (bool flag=true)
 
RooCmdArg Invisible (bool inv=true)
 
RooCmdArg Label (const char *str)
 
RooCmdArg LatexStyle (bool flag=true)
 
RooCmdArg LatexTableStyle (bool flag=true)
 
RooCmdArg Layout (double xmin, double xmax=0.99, double ymin=0.95)
 
RooCmdArg LineColor (Color_t color)
 
RooCmdArg LineColor (std::string const &color)
 The color string argument argument will be evaluated with the ROOT interpreter to get the actual ROOT color enum value, like ROOT.kRed.
 
RooCmdArg LineStyle (std::string const &style)
 
RooCmdArg LineStyle (Style_t style)
 
RooCmdArg LineWidth (Width_t width)
 
RooCmdArg Link (const char *state, RooAbsData &data)
 
RooCmdArg Link (const std::map< std::string, RooAbsData * > &)
 
template<typename T >
OwningPtr< T > makeOwningPtr (std::unique_ptr< T > &&ptr)
 Internal helper to turn a std::unique_ptr<T> into an OwningPtr.
 
template<typename T , typename U >
OwningPtr< T > makeOwningPtr (std::unique_ptr< U > &&ptr)
 internal helper to turn a std::unique_ptr<t> into an owningptr.
 
RooCmdArg MarkerColor (Color_t color)
 
RooCmdArg MarkerColor (std::string const &color)
 
RooCmdArg MarkerSize (Size_t size)
 
RooCmdArg MarkerStyle (std::string const &style)
 
RooCmdArg MarkerStyle (Style_t style)
 
RooCmdArg MaxCalls (int n)
 
RooCmdArg Minimizer (const char *type, const char *alg=nullptr)
 
RooCmdArg Minos (bool flag=true)
 
RooCmdArg Minos (const RooArgSet &minosArgs)
 
RooCmdArg ModularL (bool flag=false)
 
RooCmdArg MoveToBack ()
 
RooCmdArg MultiArg (const RooCmdArg &arg1, const RooCmdArg &arg2, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={})
 
RooCmdArg Name (const char *name)
 
RooCmdArg NoRecursion (bool flag=true)
 
RooCmdArg Normalization (double scaleFactor)
 
RooCmdArg Normalization (double scaleFactor, Int_t scaleType)
 
RooCmdArg NormRange (const char *rangeNameList)
 
template<class... Args_t>
RooCmdArg NormSet (Args_t &&... argsOrArgSet)
 
RooCmdArg NumCPU (Int_t nCPU, Int_t interleave=0)
 
RooCmdArg NumEvents (double numEvents)
 
RooCmdArg NumEvents (Int_t numEvents)
 
RooCmdArg NumIntConfig (const RooNumIntConfig &cfg)
 
RooCmdArg ObjectName (const char *name)
 
RooCmdArg Offset (bool flag=true)
 
RooCmdArg Offset (const char *mode)
 
RooCmdArg Offset (std::string const &mode)
 
std::ostream & operator<< (std::ostream &os, const RooPrintable &rp)
 
RooCmdArg Optimize (Int_t flag=2)
 
RooCmdArg OutputFile (const char *fileName)
 
RooCmdArg OutputStream (std::ostream &os)
 
RooCmdArg OwnLinked ()
 
RooCmdArg Parallelize (int nWorkers)
 
RooCmdArg Parameters (const RooArgSet &params)
 
RooCmdArg Precision (double prec)
 
RooCmdArg PrefitDataFraction (double data_ratio=0.0)
 
RooCmdArg Prefix (bool flag)
 
RooCmdArg PrintEvalErrors (Int_t numErrors)
 
RooCmdArg PrintLevel (Int_t code)
 
RooCmdArg Project (const RooArgSet &projSet)
 
template<class... Args_t>
RooCmdArg ProjectedObservables (Args_t &&... argsOrArgSet)
 
RooCmdArg ProjectionRange (const char *rangeName)
 
RooCmdArg ProjWData (const RooAbsData &projData, bool binData=false)
 
RooCmdArg ProjWData (const RooArgSet &projSet, const RooAbsData &projData, bool binData=false)
 
RooCmdArg ProtoData (const RooDataSet &protoData, bool randomizeOrder=false, bool resample=false)
 
RooCmdArg Range (const char *rangeName, bool adjustNorm=true)
 
RooCmdArg Range (double lo, double hi, bool adjustNorm=true)
 
RooCmdArg 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 RecycleConflictNodes (bool flag=true)
 
RooCmdArg RefreshNorm ()
 
RooCmdArg Rename (const char *suffix)
 
RooCmdArg RenameAllNodes (const char *suffix)
 
RooCmdArg RenameAllVariables (const char *suffix)
 
RooCmdArg RenameAllVariablesExcept (const char *suffix, const char *exceptionList)
 
RooCmdArg RenameConflictNodes (const char *suffix, bool renameOrigNodes=false)
 
RooCmdArg RenameVariable (const char *inputName, const char *outputName)
 
RooCmdArg Rescale (double factor)
 
RooCmdArg Restrict (const char *catName, const char *stateNameList)
 
RooConstVarRooConst (double val)
 
RooCmdArg Save (bool flag=true)
 
RooCmdArg Scaling (bool flag)
 
RooCmdArg ScanAllCdf ()
 
RooCmdArg ScanNoCdf ()
 
RooCmdArg ScanNumCdf ()
 
RooCmdArg ScanParameters (Int_t nbins, Int_t intOrder)
 
RooCmdArg SelectVars (const RooArgSet &vars)
 
RooCmdArg ShiftToZero ()
 
RooCmdArg ShowAsymError (bool flag)
 
RooCmdArg ShowConstants (bool flag=true)
 
RooCmdArg ShowError (bool flag)
 
RooCmdArg ShowName (bool flag)
 
RooCmdArg ShowProgress ()
 
RooCmdArg ShowUnit (bool flag)
 
RooCmdArg ShowValue (bool flag)
 
RooCmdArg Sibling (const RooAbsCollection &sibling)
 
RooCmdArg Silence (bool flag=true)
 
RooCmdArg Slice (const RooArgSet &sliceSet)
 
RooCmdArg Slice (RooCategory &cat, const char *label)
 
RooCmdArg Slice (std::map< RooCategory *, std::string > const &)
 
RooCmdArg SplitParam (const char *varname, const char *catname)
 
RooCmdArg SplitParam (const RooRealVar &var, const RooAbsCategory &cat)
 
RooCmdArg SplitParamConstrained (const char *varname, const char *catname, const char *rsname)
 
RooCmdArg SplitParamConstrained (const RooRealVar &var, const RooAbsCategory &cat, const char *rsname)
 
RooCmdArg SplitRange (bool flag=true)
 
RooCmdArg StoreAsymError (const RooArgSet &aset)
 
RooCmdArg StoreError (const RooArgSet &aset)
 
RooCmdArg Strategy (Int_t code)
 
RooCmdArg SumCoefRange (const char *rangeName)
 
RooCmdArg SumW2Error (bool flag)
 
RooCmdArg SupNormSet (const RooArgSet &nset)
 
RooCmdArg TagName (const char *name)
 
RooCmdArg Timer (bool flag=true)
 
RooCmdArg TimingAnalysis (bool timingAnalysis)
 
RooCmdArg Title (const char *name)
 
RooCmdArg TLatexStyle (bool flag=true)
 
RooCmdArg Topic (Int_t topic)
 
RooCmdArg VerbatimName (bool flag=true)
 
RooCmdArg Verbose (bool flag=true)
 
RooCmdArg VisualizeError (const RooDataSet &paramData, double Z=1)
 
RooCmdArg VisualizeError (const RooFitResult &fitres, const RooArgSet &param, double Z=1, bool linearMethod=true)
 
RooCmdArg VisualizeError (const RooFitResult &fitres, double Z=1, bool linearMethod=true)
 
RooCmdArg VLines ()
 
RooCmdArg Warnings (bool flag=true)
 
RooCmdArg Weight (double wgt)
 
RooCmdArg WeightVar (const char *name="weight", bool reinterpretAsWeight=false)
 
RooCmdArg WeightVar (const RooRealVar &arg, bool reinterpretAsWeight=false)
 
RooCmdArg What (const char *str)
 
RooCmdArg XErrorSize (double width)
 
RooCmdArg YVar (const RooAbsRealLValue &var, const RooCmdArg &arg={})
 
RooCmdArg ZVar (const RooAbsRealLValue &var, const RooCmdArg &arg={})
 

Detailed Description

The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or other types of arguments).

These switches are documented with the relevant functions, e.g. RooAbsPdf::fitTo(). For an introduction to RooFit (not the namespace), check the user's guides, courses or the RooFit chapter of the Manual.

Typedef Documentation

◆ CFUNCD1D

typedef double(* RooFit::CFUNCD1D) (double)

Definition at line 31 of file RooCFunction1Binding.h.

◆ CFUNCD1I

typedef double(* RooFit::CFUNCD1I) (Int_t)

Definition at line 32 of file RooCFunction1Binding.h.

◆ CFUNCD2DD

typedef double(* RooFit::CFUNCD2DD) (double, double)

Definition at line 30 of file RooCFunction2Binding.h.

◆ CFUNCD2DI

typedef double(* RooFit::CFUNCD2DI) (double, Int_t)

Definition at line 33 of file RooCFunction2Binding.h.

◆ CFUNCD2ID

typedef double(* RooFit::CFUNCD2ID) (Int_t, double)

Definition at line 31 of file RooCFunction2Binding.h.

◆ CFUNCD2II

typedef double(* RooFit::CFUNCD2II) (Int_t, Int_t)

Definition at line 34 of file RooCFunction2Binding.h.

◆ CFUNCD2UD

typedef double(* RooFit::CFUNCD2UD) (UInt_t, double)

Definition at line 32 of file RooCFunction2Binding.h.

◆ CFUNCD3DDB

typedef double(* RooFit::CFUNCD3DDB) (double, double, bool)

Definition at line 31 of file RooCFunction3Binding.h.

◆ CFUNCD3DDD

typedef double(* RooFit::CFUNCD3DDD) (double, double, double)

Definition at line 30 of file RooCFunction3Binding.h.

◆ CFUNCD3DII

typedef double(* RooFit::CFUNCD3DII) (double, Int_t, Int_t)

Definition at line 32 of file RooCFunction3Binding.h.

◆ CFUNCD3UDD

typedef double(* RooFit::CFUNCD3UDD) (UInt_t, double, double)

Definition at line 34 of file RooCFunction3Binding.h.

◆ CFUNCD3UDU

typedef double(* RooFit::CFUNCD3UDU) (UInt_t, double, UInt_t)

Definition at line 33 of file RooCFunction3Binding.h.

◆ CFUNCD3UUD

typedef double(* RooFit::CFUNCD3UUD) (UInt_t, UInt_t, double)

Definition at line 35 of file RooCFunction3Binding.h.

◆ CFUNCD4DDDB

typedef double(* RooFit::CFUNCD4DDDB) (double, double, double, bool)

Definition at line 32 of file RooCFunction4Binding.h.

◆ CFUNCD4DDDD

typedef double(* RooFit::CFUNCD4DDDD) (double, double, double, double)

Definition at line 30 of file RooCFunction4Binding.h.

◆ CFUNCD4DDDI

typedef double(* RooFit::CFUNCD4DDDI) (double, double, double, Int_t)

Definition at line 31 of file RooCFunction4Binding.h.

◆ ModelConfig

Definition at line 374 of file ModelConfig.h.

◆ OwningPtr

template<typename T >
using RooFit::OwningPtr = typedef T *

An alias for raw pointers for indicating that the return type of a RooFit function is an owning pointer that must be deleted by the caller.

For RooFit developers, it can be very useful to make this an alias to std::unique_ptr<T>, in order to check that your code has no memory problems. Changing this alias is equivalent to forcing all code immediately wraps the result of functions returning a RooFit::OwningPtr<T> in a std::unique_ptr<T>.

Definition at line 35 of file Config.h.

◆ SuperFloat

Definition at line 29 of file Floats.h.

◆ SuperFloatPrecision

typedef std::numeric_limits<double> RooFit::SuperFloatPrecision

Definition at line 30 of file Floats.h.

Enumeration Type Documentation

◆ MPSplit

Enumerator
BulkPartition 
Interleave 
SimComponents 
Hybrid 

Definition at line 65 of file RooGlobalFunc.h.

◆ MsgLevel

Verbosity level for RooMsgService::StreamConfig in RooMsgService.

Enumerator
DEBUG 
INFO 
PROGRESS 
WARNING 
ERROR 
FATAL 

Definition at line 60 of file RooGlobalFunc.h.

◆ MsgTopic

Topics for a RooMsgService::StreamConfig in RooMsgService.

Enumerator
Generation 
Minimization 
Plotting 
Fitting 
Integration 
LinkStateMgmt 
Eval 
Caching 
Optimization 
ObjectHandling 
InputArguments 
Tracing 
Contents 
DataHandling 
NumIntegration 
FastEvaluations 
HistFactory 
IO 

Definition at line 62 of file RooGlobalFunc.h.

◆ OffsetMode

enum class RooFit::OffsetMode
strong

For setting the offset mode with the Offset() command argument to RooAbsPdf::fitTo()

Enumerator
None 
Initial 
Bin 

Definition at line 69 of file RooGlobalFunc.h.

Function Documentation

◆ BatchMode()

RooCmdArg RooFit::BatchMode ( std::string const &  batchMode)

Definition at line 490 of file RooGlobalFunc.cxx.

◆ bindFunction() [1/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD1D  func,
RooAbsReal x 
)

Definition at line 57 of file RooCFunction1Binding.cxx.

◆ bindFunction() [2/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD1I  func,
RooAbsReal x 
)

Definition at line 61 of file RooCFunction1Binding.cxx.

◆ bindFunction() [3/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD2DD  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 37 of file RooCFunction2Binding.cxx.

◆ bindFunction() [4/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD2DI  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 49 of file RooCFunction2Binding.cxx.

◆ bindFunction() [5/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD2ID  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 41 of file RooCFunction2Binding.cxx.

◆ bindFunction() [6/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD2II  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 53 of file RooCFunction2Binding.cxx.

◆ bindFunction() [7/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD2UD  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 45 of file RooCFunction2Binding.cxx.

◆ bindFunction() [8/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD3DDB  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 41 of file RooCFunction3Binding.cxx.

◆ bindFunction() [9/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD3DDD  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 37 of file RooCFunction3Binding.cxx.

◆ bindFunction() [10/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD3DII  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 45 of file RooCFunction3Binding.cxx.

◆ bindFunction() [11/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD3UDD  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 53 of file RooCFunction3Binding.cxx.

◆ bindFunction() [12/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD3UDU  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 49 of file RooCFunction3Binding.cxx.

◆ bindFunction() [13/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD3UUD  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 57 of file RooCFunction3Binding.cxx.

◆ bindFunction() [14/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD4DDDB  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z,
RooAbsReal w 
)

Definition at line 45 of file RooCFunction4Binding.cxx.

◆ bindFunction() [15/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD4DDDD  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z,
RooAbsReal w 
)

Definition at line 37 of file RooCFunction4Binding.cxx.

◆ bindFunction() [16/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
CFUNCD4DDDI  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z,
RooAbsReal w 
)

Definition at line 41 of file RooCFunction4Binding.cxx.

◆ bindFunction() [17/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
const ROOT::Math::IBaseFunctionMultiDim ftor,
const RooArgList vars 
)

Definition at line 155 of file RooFunctorBinding.cxx.

◆ bindFunction() [18/24]

RooAbsReal * RooFit::bindFunction ( const char *  name,
const ROOT::Math::IBaseFunctionOneDim ftor,
RooAbsReal vars 
)

Definition at line 121 of file RooFunctor1DBinding.cxx.

◆ bindFunction() [19/24]

RooAbsReal * RooFit::bindFunction ( TF1 func,
RooAbsReal x 
)

Bind a TFx function to RooFit variables. Also see RooTFnBinding.

Definition at line 93 of file RooTFnBinding.cxx.

◆ bindFunction() [20/24]

RooAbsReal * RooFit::bindFunction ( TF1 func,
RooAbsReal x,
const RooArgList params 
)

Bind a TFx function to RooFit variables. Also see RooTFnBinding.

Definition at line 105 of file RooTFnBinding.cxx.

◆ bindFunction() [21/24]

RooAbsReal * RooFit::bindFunction ( TF2 func,
RooAbsReal x,
RooAbsReal y 
)

Bind a TFx function to RooFit variables. Also see RooTFnBinding.

Definition at line 97 of file RooTFnBinding.cxx.

◆ bindFunction() [22/24]

RooAbsReal * RooFit::bindFunction ( TF2 func,
RooAbsReal x,
RooAbsReal y,
const RooArgList params 
)

Bind a TFx function to RooFit variables. Also see RooTFnBinding.

Definition at line 109 of file RooTFnBinding.cxx.

◆ bindFunction() [23/24]

RooAbsReal * RooFit::bindFunction ( TF3 func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Bind a TFx function to RooFit variables. Also see RooTFnBinding.

Definition at line 101 of file RooTFnBinding.cxx.

◆ bindFunction() [24/24]

RooAbsReal * RooFit::bindFunction ( TF3 func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z,
const RooArgList params 
)

Bind a TFx function to RooFit variables. Also see RooTFnBinding.

Definition at line 113 of file RooTFnBinding.cxx.

◆ bindPdf() [1/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD1D  func,
RooAbsReal x 
)

Definition at line 65 of file RooCFunction1Binding.cxx.

◆ bindPdf() [2/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD1I  func,
RooAbsReal x 
)

Definition at line 69 of file RooCFunction1Binding.cxx.

◆ bindPdf() [3/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD2DD  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 57 of file RooCFunction2Binding.cxx.

◆ bindPdf() [4/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD2DI  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 69 of file RooCFunction2Binding.cxx.

◆ bindPdf() [5/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD2ID  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 61 of file RooCFunction2Binding.cxx.

◆ bindPdf() [6/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD2II  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 73 of file RooCFunction2Binding.cxx.

◆ bindPdf() [7/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD2UD  func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 65 of file RooCFunction2Binding.cxx.

◆ bindPdf() [8/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD3DDB  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 65 of file RooCFunction3Binding.cxx.

◆ bindPdf() [9/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD3DDD  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 61 of file RooCFunction3Binding.cxx.

◆ bindPdf() [10/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD3DII  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 69 of file RooCFunction3Binding.cxx.

◆ bindPdf() [11/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD3UDD  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 77 of file RooCFunction3Binding.cxx.

◆ bindPdf() [12/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD3UDU  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 73 of file RooCFunction3Binding.cxx.

◆ bindPdf() [13/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD3UUD  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 81 of file RooCFunction3Binding.cxx.

◆ bindPdf() [14/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD4DDDB  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z,
RooAbsReal w 
)

Definition at line 57 of file RooCFunction4Binding.cxx.

◆ bindPdf() [15/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD4DDDD  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z,
RooAbsReal w 
)

Definition at line 49 of file RooCFunction4Binding.cxx.

◆ bindPdf() [16/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
CFUNCD4DDDI  func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z,
RooAbsReal w 
)

Definition at line 53 of file RooCFunction4Binding.cxx.

◆ bindPdf() [17/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
const ROOT::Math::IBaseFunctionMultiDim ftor,
const RooArgList vars 
)

Definition at line 159 of file RooFunctorBinding.cxx.

◆ bindPdf() [18/21]

RooAbsPdf * RooFit::bindPdf ( const char *  name,
const ROOT::Math::IBaseFunctionOneDim ftor,
RooAbsReal vars 
)

Definition at line 125 of file RooFunctor1DBinding.cxx.

◆ bindPdf() [19/21]

RooAbsPdf * RooFit::bindPdf ( TF1 func,
RooAbsReal x 
)

Definition at line 75 of file RooTFnPdfBinding.cxx.

◆ bindPdf() [20/21]

RooAbsPdf * RooFit::bindPdf ( TF2 func,
RooAbsReal x,
RooAbsReal y 
)

Definition at line 79 of file RooTFnPdfBinding.cxx.

◆ bindPdf() [21/21]

RooAbsPdf * RooFit::bindPdf ( TF3 func,
RooAbsReal x,
RooAbsReal y,
RooAbsReal z 
)

Definition at line 83 of file RooTFnPdfBinding.cxx.

◆ BootStrapData()

RooCmdArg RooFit::BootStrapData ( const RooDataSet dset)

Definition at line 917 of file RooGlobalFunc.cxx.

◆ getUniqueId()

template<class Class , class UniqueId_t = std::remove_reference_t<decltype(std::declval<std::remove_pointer_t<Class>>().uniqueId())>>
UniqueId_t const & RooFit::getUniqueId ( Class const *  ptr)

A helper function to replace pointer comparisons with UniqueId comparisons.

With pointer comparisons, we can also have nullptr. In the UniqueId case, this translates to the nullid.

Definition at line 89 of file UniqueId.h.

◆ makeOwningPtr() [1/2]

template<typename T >
OwningPtr< T > RooFit::makeOwningPtr ( std::unique_ptr< T > &&  ptr)

Internal helper to turn a std::unique_ptr<T> into an OwningPtr.

Definition at line 40 of file Config.h.

◆ makeOwningPtr() [2/2]

template<typename T , typename U >
OwningPtr< T > RooFit::makeOwningPtr ( std::unique_ptr< U > &&  ptr)

internal helper to turn a std::unique_ptr<t> into an owningptr.

Definition at line 51 of file Config.h.

◆ operator<<()

ostream & RooFit::operator<< ( std::ostream &  os,
const RooPrintable rp 
)

Definition at line 49 of file RooPrintable.cxx.

◆ ShowAsymError()

RooCmdArg RooFit::ShowAsymError ( bool  flag)

Definition at line 962 of file RooGlobalFunc.cxx.

◆ ShowError()

RooCmdArg RooFit::ShowError ( bool  flag)

Definition at line 958 of file RooGlobalFunc.cxx.

◆ ShowName()

RooCmdArg RooFit::ShowName ( bool  flag)

Definition at line 950 of file RooGlobalFunc.cxx.

◆ ShowUnit()

RooCmdArg RooFit::ShowUnit ( bool  flag)

Definition at line 966 of file RooGlobalFunc.cxx.

◆ ShowValue()

RooCmdArg RooFit::ShowValue ( bool  flag)

Definition at line 954 of file RooGlobalFunc.cxx.