Logo ROOT  
Reference Guide
No Matches
Go to the documentation of this file.
2 * Project: RooFit *
3 * Package: RooFitCore *
4 * File: $Id: RooGlobalFunc.h,v 1.14 2007/07/16 21:04:28 wouter Exp $
5 * Authors: *
6 * WV, Wouter Verkerke, UC Santa Barbara, verkerke@slac.stanford.edu *
7 * DK, David Kirkby, UC Irvine, dkirkby@uci.edu *
8 * *
9 * Copyright (c) 2000-2005, Regents of the University of California *
10 * and Stanford University. All rights reserved. *
11 * *
12 * Redistribution and use in source and binary forms, *
13 * with or without modification, are permitted according to the terms *
14 * listed in LICENSE (http://roofit.sourceforge.net/license.txt) *
15 *****************************************************************************/
19#include "RooCmdArg.h"
20#include "RooArgSet.h"
22#include "ROOT/RConfig.hxx"
24#include <map>
25#include <string>
27class RooDataHist ;
28class RooDataSet ;
29class RooFitResult ;
30class RooAbsPdf ;
31class RooAbsRealLValue ;
32class RooRealConstant ;
33class RooMsgService ;
34class RooFormulaVar ;
35class RooAbsData ;
36class RooCategory ;
37class RooAbsReal ;
38class RooAbsBinning ;
39class RooAbsCollection ;
40class RooAbsPdf ;
41class RooConstVar ;
42class RooRealVar ;
43class RooAbsCategory ;
44class RooNumIntConfig ;
45class RooArgList ;
46class RooAbsCollection ;
47class TH1 ;
48class TTree ;
50namespace RooFitLegacy {
52RooCmdArg FitOptions(const char* opts);
56/*! \namespace RooFit
57The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs
58(or other types of arguments).
60These switches are documented with the relevant functions, e.g. RooAbsPdf::fitTo().
61For an introduction to RooFit (not the namespace), check the [user's guides](https://root.cern.ch/root-user-guides-and-manuals),
62[courses](https://root.cern.ch/courses) or [the RooFit chapter of the Manual](https://root.cern/manual/roofit/).
64namespace RooFit {
66/// Verbosity level for RooMsgService::StreamConfig in RooMsgService
67enum MsgLevel { DEBUG=0, INFO=1, PROGRESS=2, WARNING=3, ERROR=4, FATAL=5 } ;
68/// Topics for a RooMsgService::StreamConfig in RooMsgService
71 Contents=4096, DataHandling=8192, NumIntegration=16384, FastEvaluations=1<<15, HistFactory=1<<16, IO=1<<17 };
74/// For setting the batch mode flag with the BatchMode() command argument to
75/// RooAbsPdf::fitTo();
76enum class BatchModeOption { Off, Cpu, Cuda, Old };
79 * \defgroup CmdArgs RooFit command arguments
80 * These arguments can be passed to functions of RooFit objects.
81 * \ingroup Roofitmain
82 * @{
83 */
86 * \defgroup Plotting Arguments for plotOn functions
87 * @{
88 */
89RooCmdArg DrawOption(const char* opt) ;
90RooCmdArg Normalization(Double_t scaleFactor) ;
91RooCmdArg Slice(const RooArgSet& sliceSet) ;
92RooCmdArg Slice(RooArgSet && sliceSet) ;
93RooCmdArg Slice(RooCategory& cat, const char* label) ;
94RooCmdArg Slice(std::map<RooCategory*, std::string> const&) ;
95RooCmdArg Project(const RooArgSet& projSet) ;
96RooCmdArg Project(RooArgSet && projSet) ;
97RooCmdArg ProjWData(const RooAbsData& projData, Bool_t binData=kFALSE) ;
98RooCmdArg ProjWData(const RooArgSet& projSet, const RooAbsData& projData, Bool_t binData=kFALSE) ;
99RooCmdArg ProjWData(RooArgSet && projSet, const RooAbsData& projData, Bool_t binData=kFALSE) ;
100RooCmdArg Asymmetry(const RooCategory& cat) ;
103RooCmdArg Range(const char* rangeName, Bool_t adjustNorm=kTRUE) ;
104RooCmdArg Range(Double_t lo, Double_t hi, Bool_t adjustNorm=kTRUE) ;
105RooCmdArg NormRange(const char* rangeNameList) ;
112RooCmdArg ProjectionRange(const char* rangeName) ;
113RooCmdArg Name(const char* name) ;
114RooCmdArg Invisible(bool inv=true) ;
115RooCmdArg AddTo(const char* name, double wgtSel=1.0, double wgtOther=1.0) ;
118RooCmdArg VisualizeError(const RooDataSet& paramData, Double_t Z=1) ;
119RooCmdArg VisualizeError(const RooFitResult& fitres, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
120RooCmdArg VisualizeError(const RooFitResult& fitres, const RooArgSet& param, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
121RooCmdArg VisualizeError(const RooFitResult& fitres, RooArgSet && param, Double_t Z=1, Bool_t linearMethod=kTRUE) ;
124// RooAbsPdf::plotOn arguments
125RooCmdArg Normalization(Double_t scaleFactor, Int_t scaleType) ;
126template<class... Args_t>
127RooCmdArg Components(Args_t &&... argsOrArgSet) {
128 return RooCmdArg("SelectCompSet",0,0,0,0,0,0,
129 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}), 0);
131RooCmdArg Components(const char* compSpec) ;
133// RooAbsData::plotOn arguments
134RooCmdArg Cut(const char* cutSpec) ;
135RooCmdArg Cut(const RooFormulaVar& cutVar) ;
136RooCmdArg Binning(const RooAbsBinning& binning) ;
137RooCmdArg Binning(const char* binningName) ;
138RooCmdArg Binning(int nBins, double xlo=0., double xhi=0.) ;
142RooCmdArg CutRange(const char* rangeName) ;
145RooCmdArg Efficiency(const RooCategory& cat) ;
146RooCmdArg Rescale(Double_t factor) ;
148/** @} */
151 * \defgroup ConstructorArgs Arguments for various constructors
152 * @{
153 */
154// RooDataHist::ctor arguments
156RooCmdArg Index(RooCategory& icat) ;
157RooCmdArg Import(const char* state, TH1& histo) ;
158RooCmdArg Import(const std::map<std::string,TH1*>&) ;
159RooCmdArg Import(const char* state, RooDataHist& dhist) ;
160RooCmdArg Import(const std::map<std::string,RooDataHist*>&) ;
161RooCmdArg Import(TH1& histo, Bool_t importDensity=kFALSE) ;
163// RooDataSet::ctor arguments
164RooCmdArg WeightVar(const char* name, Bool_t reinterpretAsWeight=kFALSE) ;
165RooCmdArg WeightVar(const RooRealVar& arg, Bool_t reinterpretAsWeight=kFALSE) ;
166RooCmdArg Import(const char* state, RooDataSet& data) ;
167RooCmdArg Import(const std::map<std::string,RooDataSet*>& ) ;
168RooCmdArg Link(const char* state, RooAbsData& data) ;
169RooCmdArg Link(const std::map<std::string,RooAbsData*>&) ;
172RooCmdArg ImportFromFile(const char* fname, const char* tname) ;
173RooCmdArg StoreError(const RooArgSet& aset) ;
179/** @} */
181// RooAbsPdf::printLatex arguments
182RooCmdArg Columns(Int_t ncol) ;
183RooCmdArg OutputFile(const char* fileName) ;
184RooCmdArg Format(const char* format, Int_t sigDigit) ;
185RooCmdArg Format(const char* what, const RooCmdArg& arg1=RooCmdArg::none(), const RooCmdArg& arg2=RooCmdArg::none(),
186 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
187 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
188 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
189RooCmdArg Sibling(const RooAbsCollection& sibling) ;
191// RooAbsRealLValue::frame arguments
192RooCmdArg Title(const char* name) ;
193RooCmdArg Bins(Int_t nbin) ;
194RooCmdArg AutoSymRange(const RooAbsData& data, Double_t marginFactor=0.1) ;
195RooCmdArg AutoRange(const RooAbsData& data, Double_t marginFactor=0.1) ;
197// RooAbsData::createHistogram arguments
198RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1) ;
199RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1) ;
201// RooAbsReal::fillHistogram arguments
205// RooAbsData::reduce arguments
206RooCmdArg SelectVars(const RooArgSet& vars) ;
208RooCmdArg EventRange(Int_t nStart, Int_t nStop) ;
212 * \defgroup Fitting Arguments for fitting
213 * @{
214 */
215// RooChi2Var::ctor / RooNLLVar arguments
218RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0) ;
220RooCmdArg BatchMode(std::string const& batchMode="cpu");
221// The const char * overload is necessary, otherwise the compiler will cast a
222// C-Style string to a bool and choose the BatchMode(bool) overload if one
223// calls for example BatchMode("off").
224inline RooCmdArg BatchMode(const char * batchMode) { return BatchMode(std::string(batchMode)); }
225inline RooCmdArg BatchMode(bool batchModeOn) { return BatchMode(batchModeOn ? "cpu" : "off"); }
227RooCmdArg IntegrateBins(double precision);
229// RooAbsPdf::fitTo arguments
230RooCmdArg PrefitDataFraction(Double_t data_ratio = 0.0) ;
231RooCmdArg FitOptions(const char* opts)
232 R__DEPRECATED(6,28,"Please migrate to the RooCmdArg-based fit configuration"
233 " (or use RooFitLegacy::FitOptions(const char*) to silence this warning,"
234 " but be warned that the RooFitLegacy function also gets removed in ROOT v6.28).") ;
235RooCmdArg Optimize(Int_t flag=2) ;
238/// Create a RooCmdArg to declare conditional observables.
239/// \param[in] argsOrArgSet Can either be one or more RooRealVar with the
240// observables or a single RooArgSet containing them.
241template<class... Args_t>
242RooCmdArg ConditionalObservables(Args_t &&... argsOrArgSet) {
243 return RooCmdArg("ProjectedObservables",0,0,0,0,0,0,
244 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}));
247// obsolete, for backward compatibility
248template<class... Args_t>
249RooCmdArg ProjectedObservables(Args_t &&... argsOrArgSet) {
250 return ConditionalObservables(std::forward<Args_t>(argsOrArgSet)...);
262RooCmdArg Minos(const RooArgSet& minosArgs) ;
263RooCmdArg Minos(RooArgSet && minosArgs) ;
265RooCmdArg SumCoefRange(const char* rangeName) ;
266RooCmdArg Constrain(const RooArgSet& params) ;
267RooCmdArg Constrain(RooArgSet && params) ;
269template<class... Args_t>
270RooCmdArg GlobalObservables(Args_t &&... argsOrArgSet) {
271 return RooCmdArg("GlobalObservables",0,0,0,0,0,0,0,0,0,0,
272 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}));
274RooCmdArg GlobalObservablesSource(const char* sourceName);
275RooCmdArg GlobalObservablesTag(const char* tagName) ;
276RooCmdArg ExternalConstraints(const RooArgSet& constraintPdfs) ;
277RooCmdArg ExternalConstraints(RooArgSet && constraintPdfs) ;
284RooCmdArg Minimizer(const char* type, const char* alg=0) ;
287/** @} */
289// RooAbsPdf::paramOn arguments
290RooCmdArg Label(const char* str) ;
292RooCmdArg Parameters(const RooArgSet& params) ;
293RooCmdArg Parameters(RooArgSet && params) ;
296// RooTreeData::statOn arguments
297RooCmdArg What(const char* str) ;
299// RooProdPdf::ctor arguments
300RooCmdArg Conditional(const RooArgSet& pdfSet, const RooArgSet& depSet, Bool_t depsAreCond=kFALSE) ;
301RooCmdArg Conditional(RooArgSet && pdfSet, const RooArgSet& depSet, Bool_t depsAreCond=kFALSE) ;
302RooCmdArg Conditional(const RooArgSet& pdfSet, RooArgSet && depSet, Bool_t depsAreCond=kFALSE) ;
303RooCmdArg Conditional(RooArgSet && pdfSet, RooArgSet && depSet, Bool_t depsAreCond=kFALSE) ;
306 * \defgroup Generating Arguments for generating data
307 * @{
308 */
309// RooAbsPdf::generate arguments
310RooCmdArg ProtoData(const RooDataSet& protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE) ;
311RooCmdArg NumEvents(Int_t numEvents) ;
312RooCmdArg NumEvents(Double_t numEvents) ;
314RooCmdArg GenBinned(const char* tag) ;
319/** @} */
321// RooAbsRealLValue::createHistogram arguments
322RooCmdArg YVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
323RooCmdArg ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg=RooCmdArg::none()) ;
324RooCmdArg AxisLabel(const char* name) ;
328// RooAbsReal::createHistogram arguments
331// RooAbsReal::createIntegral arguments
332template<class... Args_t>
333RooCmdArg NormSet(Args_t &&... argsOrArgSet) {
334 return RooCmdArg("NormSet",0,0,0,0,0,0,
335 &RooCmdArg::take(RooArgSet{std::forward<Args_t>(argsOrArgSet)...}), 0);
339// RooMCStudy::ctor arguments
342RooCmdArg FitOptions(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
343 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
344 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
347// RooMCStudy::plot* arguments
348RooCmdArg Frame(const RooCmdArg& arg1 ,const RooCmdArg& arg2=RooCmdArg::none(),
349 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
350 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none()) ;
355// RooRealVar::format arguments
356RooCmdArg AutoPrecision(Int_t ndigit=2) ;
363// RooMsgService::addReportingStream arguments
364RooCmdArg Topic(Int_t topic) ;
365RooCmdArg ObjectName(const char* name) ;
366RooCmdArg ClassName(const char* name) ;
367RooCmdArg BaseClassName(const char* name) ;
368RooCmdArg TagName(const char* name) ;
369RooCmdArg OutputStream(std::ostream& os) ;
370RooCmdArg Prefix(Bool_t flag) ;
371RooCmdArg Color(Color_t color) ;
373// RooWorkspace::import() arguments
374RooCmdArg RenameConflictNodes(const char* suffix, Bool_t renameOrigNodes=kFALSE) ;
375RooCmdArg RenameAllNodes(const char* suffix) ;
376RooCmdArg RenameAllVariables(const char* suffix) ;
377RooCmdArg RenameAllVariablesExcept(const char* suffix,const char* exceptionList) ;
378RooCmdArg RenameVariable(const char* inputName, const char* outputName) ;
379RooCmdArg Rename(const char* suffix) ;
384// RooSimCloneTool::build() arguments
385RooCmdArg SplitParam(const char* varname, const char* catname) ;
386RooCmdArg SplitParam(const RooRealVar& var, const RooAbsCategory& cat) ;
387RooCmdArg SplitParamConstrained(const char* varname, const char* catname, const char* rsname) ;
388RooCmdArg SplitParamConstrained(const RooRealVar& var, const RooAbsCategory& cat, const char* rsname) ;
389RooCmdArg Restrict(const char* catName, const char* stateNameList) ;
391// RooAbsPdf::createCdf() arguments
392RooCmdArg SupNormSet(const RooArgSet& nset) ;
394RooCmdArg ScanParameters(Int_t nbins,Int_t intOrder) ;
399// Generic container arguments (to be able to supply more command line arguments)
400RooCmdArg MultiArg(const RooCmdArg& arg1, const RooCmdArg& arg2,
401 const RooCmdArg& arg3=RooCmdArg::none(),const RooCmdArg& arg4=RooCmdArg::none(),
402 const RooCmdArg& arg5=RooCmdArg::none(),const RooCmdArg& arg6=RooCmdArg::none(),
403 const RooCmdArg& arg7=RooCmdArg::none(),const RooCmdArg& arg8=RooCmdArg::none()) ;
407// End group CmdArgs:
409 * @}
410 */
413namespace RooFitShortHand {
415RooConstVar& C(Double_t value);
417} // namespace RooFitShortHand
Definition RConfig.hxx:516
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Definition RtypesCore.h:45
float Size_t
Definition RtypesCore.h:96
const Bool_t kFALSE
Definition RtypesCore.h:101
short Width_t
Definition RtypesCore.h:91
double Double_t
Definition RtypesCore.h:59
short Color_t
Definition RtypesCore.h:92
short Style_t
Definition RtypesCore.h:89
const Bool_t kTRUE
Definition RtypesCore.h:100
include TDocParser_001 C image html pict1_TDocParser_001 png width
char name[80]
Definition TGX11.cxx:110
int type
Definition TGX11.cxx:121
float xmin
#define hi
float ymin
float xmax
RooAbsBinning is the abstract base class for RooRealVar binning definitions.
RooAbsCategory is the base class for objects that represent a discrete value with a finite number of ...
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition RooAbsData.h:82
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition RooAbsReal.h:64
RooArgList is a container object that can hold multiple RooAbsArg objects.
Definition RooArgList.h:22
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition RooArgSet.h:35
RooCategory is an object to represent discrete states.
Definition RooCategory.h:27
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
Definition RooCmdArg.h:27
static T const & take(T &&obj)
Definition RooCmdArg.h:102
static const RooCmdArg & none()
Return reference to null argument.
Definition RooCmdArg.cxx:52
RooConstVar represent a constant real-valued object.
Definition RooConstVar.h:26
The RooDataHist is a container class to hold N-dimensional binned data.
Definition RooDataHist.h:45
RooDataSet is a container class to hold unbinned data.
Definition RooDataSet.h:36
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
A RooFormulaVar is a generic implementation of a real-valued object, which takes a RooArgList of serv...
The class RooMsgService is a singleton that organizes messages generated in RooFit.
RooNumIntConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooRealConstant provides static functions to create and keep track of RooRealVar constants.
RooRealVar represents a variable that can be changed from the outside.
Definition RooRealVar.h:39
TH1 is the base class of all histogram classes in ROOT.
Definition TH1.h:58
A TTree represents a columnar dataset.
Definition TTree.h:79
RooCmdArg ScanNoCdf()
RooCmdArg Scaling(Bool_t flag)
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg FrameBins(Int_t nbins)
RooCmdArg NoRecursion(Bool_t flag=kTRUE)
RooCmdArg TLatexStyle(Bool_t flag=kTRUE)
RooCmdArg ClassName(const char *name)
RooCmdArg Binned(Bool_t flag=kTRUE)
RooCmdArg FitModel(RooAbsPdf &pdf)
RooCmdArg RecycleConflictNodes(Bool_t flag=kTRUE)
RooCmdArg IntegratedObservables(const RooArgSet &intObs)
RooCmdArg OutputStream(std::ostream &os)
RooCmdArg Topic(Int_t topic)
RooCmdArg Embedded(Bool_t flag=kTRUE)
RooCmdArg ShowConstants(Bool_t flag=kTRUE)
RooCmdArg Parameters(const RooArgSet &params)
RooCmdArg NumIntConfig(const RooNumIntConfig &cfg)
RooCmdArg ScanParameters(Int_t nbins, Int_t intOrder)
RooCmdArg Label(const char *str)
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg=RooCmdArg::none())
RooCmdArg TagName(const char *name)
RooCmdArg AutoSymBinning(Int_t nbins=100, Double_t marginFactor=0.1)
RooCmdArg BaseClassName(const char *name)
RooCmdArg Restrict(const char *catName, const char *stateNameList)
RooCmdArg FrameRange(Double_t xlo, Double_t xhi)
RooCmdArg 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 IntrinsicBinning(Bool_t flag=kTRUE)
RooCmdArg RenameAllVariables(const char *suffix)
RooCmdArg FitGauss(Bool_t flag=kTRUE)
RooCmdArg RenameConflictNodes(const char *suffix, Bool_t renameOrigNodes=kFALSE)
RooCmdArg RenameVariable(const char *inputName, const char *outputName)
RooCmdArg Color(Color_t color)
RooCmdArg FixedPrecision(Int_t ndigit=2)
RooCmdArg AutoPrecision(Int_t ndigit=2)
RooCmdArg Title(const char *name)
RooCmdArg RenameAllNodes(const char *suffix)
RooCmdArg SplitParam(const char *varname, const char *catname)
RooCmdArg Rename(const char *suffix)
RooCmdArg Format(const char *format, Int_t sigDigit)
RooCmdArg SupNormSet(const RooArgSet &nset)
RooCmdArg Layout(Double_t xmin, Double_t xmax=0.99, Double_t ymin=0.95)
RooCmdArg SelectVars(const RooArgSet &vars)
RooCmdArg Silence(Bool_t flag=kTRUE)
RooCmdArg LatexTableStyle(Bool_t flag=kTRUE)
RooConstVar & RooConst(Double_t val)
RooCmdArg RenameAllVariablesExcept(const char *suffix, const char *exceptionList)
RooCmdArg VerbatimName(Bool_t flag=kTRUE)
RooCmdArg Columns(Int_t ncol)
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
RooCmdArg ScanAllCdf()
RooCmdArg 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 ObjectName(const char *name)
RooCmdArg AutoSymRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooCmdArg AxisLabel(const char *name)
RooCmdArg Sibling(const RooAbsCollection &sibling)
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, Bool_t depsAreCond=kFALSE)
RooCmdArg NormSet(Args_t &&... argsOrArgSet)
RooCmdArg SplitParamConstrained(const char *varname, const char *catname, const char *rsname)
RooCmdArg AutoRange(const RooAbsData &data, Double_t marginFactor=0.1)
RooCmdArg What(const char *str)
RooCmdArg ScanNumCdf()
RooCmdArg AutoBinning(Int_t nbins=100, Double_t marginFactor=0.1)
RooCmdArg Bins(Int_t nbin)
RooCmdArg OutputFile(const char *fileName)
RooCmdArg LatexStyle(Bool_t flag=kTRUE)
RooCmdArg WeightVar(const char *name, Bool_t reinterpretAsWeight=kFALSE)
RooCmdArg OwnLinked()
RooCmdArg ImportFromFile(const char *fname, const char *tname)
RooCmdArg StoreAsymError(const RooArgSet &aset)
RooCmdArg Weight(Double_t wgt)
RooCmdArg StoreError(const RooArgSet &aset)
RooCmdArg Link(const char *state, RooAbsData &data)
RooCmdArg Import(const char *state, TH1 &histo)
RooCmdArg IntegrateBins(double precision)
Integrate the PDF over bins. Improves accuracy for binned fits. Switch off using 0....
RooCmdArg ProjectedObservables(Args_t &&... argsOrArgSet)
RooCmdArg EvalErrorWall(Bool_t flag)
RooCmdArg Constrain(const RooArgSet &params)
RooCmdArg GlobalObservablesTag(const char *tagName)
RooCmdArg Strategy(Int_t code)
RooCmdArg Warnings(Bool_t flag=kTRUE)
RooCmdArg Integrate(Bool_t flag)
RooCmdArg SumW2Error(Bool_t flag)
RooCmdArg Extended(Bool_t flag=kTRUE)
RooCmdArg GlobalObservables(Args_t &&... argsOrArgSet)
RooCmdArg GlobalObservablesSource(const char *sourceName)
RooCmdArg SumCoefRange(const char *rangeName)
RooCmdArg SplitRange(Bool_t flag=kTRUE)
RooCmdArg PrintEvalErrors(Int_t numErrors)
RooCmdArg Optimize(Int_t flag=2)
RooCmdArg Hesse(Bool_t flag=kTRUE)
RooCmdArg Please migrate to the RooCmdArg based fit 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 InitialHesse(Bool_t flag=kTRUE)
RooCmdArg DataError(Int_t)
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
RooCmdArg CloneData(Bool_t flag)
RooCmdArg FitOptions(const char *opts) R__DEPRECATED(6
RooCmdArg Save(Bool_t flag=kTRUE)
RooCmdArg PrintLevel(Int_t code)
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
RooCmdArg RecoverFromUndefinedRegions(double strength)
When parameters are chosen such that a PDF is undefined, try to indicate to the minimiser how to leav...
RooCmdArg BatchMode(std::string const &batchMode="cpu")
RooCmdArg Verbose(Bool_t flag=kTRUE)
RooCmdArg PrefitDataFraction(Double_t data_ratio=0.0)
RooCmdArg AsymptoticError(Bool_t flag)
RooCmdArg Offset(Bool_t flag=kTRUE)
RooCmdArg ConditionalObservables(Args_t &&... argsOrArgSet)
Create a RooCmdArg to declare conditional observables.
RooCmdArg Minimizer(const char *type, const char *alg=0)
RooCmdArg Minos(Bool_t flag=kTRUE)
RooCmdArg ProtoData(const RooDataSet &protoData, Bool_t randomizeOrder=kFALSE, Bool_t resample=kFALSE)
RooCmdArg Asimov(Bool_t flag=kTRUE)
RooCmdArg AllBinned()
RooCmdArg AutoBinned(Bool_t flag=kTRUE)
RooCmdArg NumEvents(Int_t numEvents)
RooCmdArg GenBinned(const char *tag)
RooCmdArg ExpectedData(Bool_t flag=kTRUE)
RooCmdArg MarkerColor(Color_t color)
RooCmdArg VisualizeError(const RooDataSet &paramData, Double_t Z=1)
RooCmdArg RefreshNorm()
RooCmdArg Components(Args_t &&... argsOrArgSet)
RooCmdArg ProjWData(const RooAbsData &projData, Bool_t binData=kFALSE)
RooCmdArg ProjectionRange(const char *rangeName)
RooCmdArg FillColor(Color_t color)
RooCmdArg Binning(const RooAbsBinning &binning)
RooCmdArg NormRange(const char *rangeNameList)
RooCmdArg ShowProgress()
RooCmdArg DrawOption(const char *opt)
RooCmdArg Project(const RooArgSet &projSet)
RooCmdArg FillStyle(Style_t style)
RooCmdArg EvalErrorValue(Double_t value)
RooCmdArg Rescale(Double_t factor)
RooCmdArg Invisible(bool inv=true)
RooCmdArg MarkerStyle(Style_t style)
RooCmdArg LineWidth(Width_t width)
RooCmdArg ShiftToZero()
RooCmdArg Slice(const RooArgSet &sliceSet)
RooCmdArg AddTo(const char *name, double wgtSel=1.0, double wgtOther=1.0)
RooCmdArg CutRange(const char *rangeName)
RooCmdArg MoveToBack()
RooCmdArg MarkerSize(Size_t size)
RooCmdArg Precision(Double_t prec)
RooCmdArg Cut(const char *cutSpec)
RooCmdArg Range(const char *rangeName, Bool_t adjustNorm=kTRUE)
RooCmdArg XErrorSize(Double_t width)
RooCmdArg Normalization(Double_t scaleFactor)
RooCmdArg Efficiency(const RooCategory &cat)
RooCmdArg LineColor(Color_t color)
RooCmdArg Name(const char *name)
RooCmdArg LineStyle(Style_t style)
RooCmdArg VLines()
RooCmdArg Asymmetry(const RooCategory &cat)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
RooCmdArg FitOptions(const char *opts)
RooConstVar & C(Double_t value)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition Common.h:18
Verbosity level for RooMsgService::StreamConfig in RooMsgService.
@ SimComponents
@ BulkPartition
For setting the batch mode flag with the BatchMode() command argument to RooAbsPdf::fitTo();.
Topics for a RooMsgService::StreamConfig in RooMsgService.
@ FastEvaluations
@ NumIntegration
@ InputArguments
@ ObjectHandling
@ LinkStateMgmt
Definition tree.py:1
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
Definition rsaaux.cxx:949
static const char * what
Definition stlLoader.cc:6
TCanvas * style()
Definition style.C:1
static int Prefix[TSIZE]
Definition gifdecode.c:12