Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
_roofit.pyzdoc
Go to the documentation of this file.
1/**
2\defgroup RoofitPythonizations RooFit Pythonizations
3\ingroup Roofitmain
4- [RooAbsCollection](\ref _rooabscollection)
5 - [printLatex](\ref _rooabscollection_printlatex)
6- [RooAbsData](\ref _rooabsdata)
7 - [createHistogram](\ref _rooabsdata_createhistogram)
8 - [plotOn](\ref _rooabsdata_ploton)
9 - [reduce](\ref _rooabsdata_reduce)
10 - [statOn](\ref _rooabsdata_staton)
11- [RooAbsPdf](\ref _rooabspdf)
12 - [createCdf](\ref _rooabspdf_createcdf)
13 - [createNLL](\ref _rooabspdf_createnll)
14 - [fitTo](\ref _rooabspdf_fitto)
15 - [generate](\ref _rooabspdf_generate)
16 - [generateBinned](\ref _rooabspdf_generatebinned)
17 - [paramOn](\ref _rooabspdf_paramon)
18 - [plotOn](\ref _rooabspdf_ploton)
19 - [prepareMultiGen](\ref _rooabspdf_preparemultigen)
20- [RooAbsReal](\ref _rooabsreal)
21 - [chi2FitTo](\ref _rooabsreal_chi2fitto)
22 - [createChi2](\ref _rooabsreal_createchi2)
23 - [createHistogram](\ref _rooabsreal_createhistogram)
24 - [createIntegral](\ref _rooabsreal_createintegral)
25 - [createRunningIntegral](\ref _rooabsreal_createrunningintegral)
26 - [plotOn](\ref _rooabsreal_ploton)
27- [RooAbsRealLValue](\ref _rooabsreallvalue)
28 - [createHistogram](\ref _rooabsreallvalue_createhistogram)
29 - [frame](\ref _rooabsreallvalue_frame)
30- [RooArgSet](\ref _rooargset)
31 - [__init__](\ref _rooargset___init__)
32- [RooBCPGenDecay](\ref _roobcpgendecay)
33 - [__init__](\ref _roobcpgendecay___init__)
34- [RooBCPEffDecay](\ref _roobcpeffdecay)
35 - [__init__](\ref _roobcpeffdecay___init__)
36- [RooBDecay](\ref _roobdecay)
37 - [__init__](\ref _roobdecay___init__)
38- [RooBMixDecay](\ref _roobmixdecay)
39 - [__init__](\ref _roobmixdecay___init__)
40- [RooCategory](\ref _roocategory)
41 - [__init__](\ref _roocategory___init__)
42- [RooChi2Var](\ref _roochi2var)
43 - [__init__](\ref _roochi2var___init__)
44- [RooDataHist](\ref _roodatahist)
45 - [__init__](\ref _roodatahist___init__)
46 - [from_numpy](\ref _roodatahist_from_numpy)
47 - [to_numpy](\ref _roodatahist_to_numpy)
48- [RooDataSet](\ref _roodataset)
49 - [__init__](\ref _roodataset___init__)
50 - [from_numpy](\ref _roodataset_from_numpy)
51 - [from_pandas](\ref _roodataset_from_pandas)
52 - [plotOnXY](\ref _roodataset_plotonxy)
53 - [to_numpy](\ref _roodataset_to_numpy)
54 - [to_pandas](\ref _roodataset_to_pandas)
55- [RooDecay](\ref _roodecay)
56 - [__init__](\ref _roodecay___init__)
57- [RooGenFitStudy](\ref _roogenfitstudy)
58 - [setGenConfig](\ref _roogenfitstudy_setgenconfig)
59- [RooJSONFactoryWSTool](\ref _roojsonfactorywstool)
60 - [gendoc](\ref _roojsonfactorywstool_gendoc)
61 - [writedoc](\ref _roojsonfactorywstool_writedoc)
62- [RooMCStudy](\ref _roomcstudy)
63 - [__init__](\ref _roomcstudy___init__)
64 - [plotError](\ref _roomcstudy_ploterror)
65 - [plotNLL](\ref _roomcstudy_plotnll)
66 - [plotParam](\ref _roomcstudy_plotparam)
67 - [plotParamOn](\ref _roomcstudy_plotparamon)
68 - [plotPull](\ref _roomcstudy_plotpull)
69- [RooMsgService](\ref _roomsgservice)
70 - [addStream](\ref _roomsgservice_addstream)
71- [RooNLLVar](\ref _roonllvar)
72 - [__init__](\ref _roonllvar___init__)
73- [RooProdPdf](\ref _rooprodpdf)
74 - [__init__](\ref _rooprodpdf___init__)
75- [RooRealVar](\ref _roorealvar)
76 - [bins](\ref _roorealvar_bins)
77- [RooSimultaneous](\ref _roosimultaneous)
78 - [__init__](\ref _roosimultaneous___init__)
79 - [plotOn](\ref _roosimultaneous_ploton)
80- [RooSimWSTool](\ref _roosimwstool)
81 - [build](\ref _roosimwstool_build)
82- [RooWorkspace](\ref _rooworkspace)
83 - [Import](\ref _rooworkspace_import)
84 - [__init__](\ref _rooworkspace___init__)
85 - [_ipython_key_completions_](\ref _rooworkspace__ipython_key_completions_)
86 - [RooWorkspace_import](\ref _rooworkspace_rooworkspace_import)
87- [SPlot](\ref _splot)
88 - [_SPlot_AddSWeight](\ref _splot__splot_addsweight)
89 - [_SPlot_init](\ref _splot__splot_init)
90
91\anchor _rooabscollection
92## RooAbsCollection
93\see RooAbsCollection
94
95Some member functions of RooAbsCollection that take a RooCmdArg as argument also support keyword arguments.
96So far, this applies to RooAbsCollection::printLatex. For example, the following code is equivalent in PyROOT:
97\code{.py}
98# Directly passing a RooCmdArg:
99params.printLatex(ROOT.RooFit.Sibling(initParams), ROOT.RooFit.Columns(2))
100
101# With keyword arguments:
102params.printLatex(Sibling=initParams, Columns =2)
103\endcode
104
105\anchor _rooabscollection_printlatex
106### RooAbsCollection.printLatex
107The RooAbsCollection::printLatex() function is pythonized with the command argument pythonization.
108The keywords must correspond to the CmdArgs of the function.
109
110\see RooAbsCollection::printLatex(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
111
112\anchor _rooabsdata
113## RooAbsData
114\see RooAbsData
115
116Some member functions of RooAbsData that take a RooCmdArg as argument also support keyword arguments.
117This applies to RooAbsData::plotOn, RooAbsData::createHistogram, RooAbsData::reduce, RooAbsData::statOn.
118For example, the following code is equivalent in PyROOT:
119\code{.py}
120# Directly passing a RooCmdArg:
121data.plotOn(frame, ROOT.RooFit.CutRange("r1"))
122
123# With keyword arguments:
124data.plotOn(frame, CutRange="r1")
125\endcode
126
127\anchor _rooabsdata_createhistogram
128### RooAbsData.createHistogram
129The RooAbsData::createHistogram() function is pythonized with the command argument pythonization.
130The keywords must correspond to the CmdArgs of the function.
131
132\see RooAbsData::createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
133
134\anchor _rooabsdata_ploton
135### RooAbsData.plotOn
136The RooAbsData::plotOn() function is pythonized with the command argument pythonization.
137The keywords must correspond to the CmdArgs of the function.
138
139\see RooAbsData::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
140
141\anchor _rooabsdata_reduce
142### RooAbsData.reduce
143The RooAbsData::reduce() function is pythonized with the command argument pythonization.
144The keywords must correspond to the CmdArgs of the function.
145
146\see RooAbsData::reduce(const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8)
147
148\anchor _rooabsdata_staton
149### RooAbsData.statOn
150The RooAbsData::statOn() function is pythonized with the command argument pythonization.
151The keywords must correspond to the CmdArgs of the function.
152
153\see RooAbsData::statOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
154
155\anchor _rooabspdf
156## RooAbsPdf
157\see RooAbsPdf
158
159Some member functions of RooAbsPdf that take a RooCmdArg as argument also support keyword arguments.
160So far, this applies to RooAbsPdf::fitTo, RooAbsPdf::plotOn, RooAbsPdf::generate, RooAbsPdf::paramOn, RooAbsPdf::createCdf,
161RooAbsPdf::generateBinned, RooAbsPdf::prepareMultiGen and RooAbsPdf::createNLL.
162For example, the following code is equivalent in PyROOT:
163\code{.py}
164# Directly passing a RooCmdArg:
165pdf.fitTo(data, ROOT.RooFit.Range("r1"))
166
167# With keyword arguments:
168pdf.fitTo(data, Range="r1")
169\endcode
170
171\anchor _rooabspdf_createcdf
172### RooAbsPdf.createCdf
173The RooAbsPdf::createCdf() function is pythonized with the command argument pythonization.
174The keywords must correspond to the CmdArgs of the function.
175
176\see RooAbsPdf::createCdf(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
177
178\anchor _rooabspdf_createnll
179### RooAbsPdf.createNLL
180The RooAbsPdf::createNLL() function is pythonized with the command argument pythonization.
181The keywords must correspond to the CmdArgs of the function.
182
183\see RooAbsPdf::createNLL()
184
185\anchor _rooabspdf_fitto
186### RooAbsPdf.fitTo
187The RooAbsPdf::fitTo() function is pythonized with the command argument pythonization.
188The keywords must correspond to the CmdArgs of the function.
189
190\see RooAbsPdf::fitTo()
191
192\anchor _rooabspdf_generate
193### RooAbsPdf.generate
194The RooAbsPdf::generate() function is pythonized with the command argument pythonization.
195The keywords must correspond to the CmdArgs of the function.
196
197\see RooAbsPdf::generate(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
198
199\anchor _rooabspdf_generatebinned
200### RooAbsPdf.generateBinned
201The RooAbsPdf::generateBinned() function is pythonized with the command argument pythonization.
202The keywords must correspond to the CmdArgs of the function.
203
204\see RooAbsPdf::generateBinned(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6) const
205
206\anchor _rooabspdf_paramon
207### RooAbsPdf.paramOn
208The RooAbsPdf::paramOn() function is pythonized with the command argument pythonization.
209The keywords must correspond to the CmdArgs of the function.
210
211\see RooAbsPdf::paramOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
212
213\anchor _rooabspdf_ploton
214### RooAbsPdf.plotOn
215The RooAbsPdf::plotOn() function is pythonized with the command argument pythonization.
216The keywords must correspond to the CmdArgs of the function.
217
218\see RooAbsPdf::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
219
220\anchor _rooabspdf_preparemultigen
221### RooAbsPdf.prepareMultiGen
222The RooAbsPdf::prepareMultiGen() function is pythonized with the command argument pythonization.
223The keywords must correspond to the CmdArgs of the function.
224
225\see RooAbsPdf::prepareMultiGen(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
226
227\anchor _rooabsreal
228## RooAbsReal
229\see RooAbsReal
230
231Some member functions of RooAbsReal that take a RooCmdArg as argument also support keyword arguments.
232So far, this applies to RooAbsReal::plotOn, RooAbsReal::createHistogram, RooAbsReal::chi2FitTo,
233RooAbsReal::createChi2, RooAbsReal::createRunningIntegral and RooAbsReal::createIntegral
234For example, the following code is equivalent in PyROOT:
235\code{.py}
236# Directly passing a RooCmdArg:
237var.plotOn(frame, ROOT.RooFit.Components("background"))
238
239# With keyword arguments:
240var.plotOn(frame, Components="background")
241\endcode
242
243\anchor _rooabsreal_chi2fitto
244### RooAbsReal.chi2FitTo
245The RooAbsReal::chi2FitTo() function is pythonized with the command argument pythonization.
246The keywords must correspond to the CmdArgs of the function.
247
248\see RooAbsReal::chi2FitTo(RooDataSet& xydata, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
249
250\anchor _rooabsreal_createchi2
251### RooAbsReal.createChi2
252The RooAbsReal::createChi2() function is pythonized with the command argument pythonization.
253The keywords must correspond to the CmdArgs of the function.
254
255\see RooAbsReal::createChi2(RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
256
257\anchor _rooabsreal_createhistogram
258### RooAbsReal.createHistogram
259The RooAbsReal::createHistogram() function is pythonized with the command argument pythonization.
260The keywords must correspond to the CmdArgs of the function.
261
262\see RooAbsReal::createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
263
264\anchor _rooabsreal_createintegral
265### RooAbsReal.createIntegral
266The RooAbsReal::createIntegral() function is pythonized with the command argument pythonization.
267The keywords must correspond to the CmdArgs of the function.
268
269\see RooAbsReal::createIntegral(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
270
271\anchor _rooabsreal_createrunningintegral
272### RooAbsReal.createRunningIntegral
273The RooAbsReal::createRunningIntegral() function is pythonized with the command argument pythonization.
274The keywords must correspond to the CmdArgs of the function.
275
276\see RooAbsReal::createRunningIntegral(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
277
278\anchor _rooabsreal_ploton
279### RooAbsReal.plotOn
280The RooAbsReal::plotOn() function is pythonized with the command argument pythonization.
281The keywords must correspond to the CmdArgs of the function.
282
283\see RooAbsReal::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
284
285\anchor _rooabsreallvalue
286## RooAbsRealLValue
287\see RooAbsRealLValue
288
289Some member functions of RooAbsRealLValue that take a RooCmdArg as argument also support keyword arguments.
290So far, this applies to RooAbsRealLValue::createHistogram and RooAbsRealLValue::frame.
291For example, the following code is equivalent in PyROOT:
292\code{.py}
293# Directly passing a RooCmdArg:
294frame = x.frame(ROOT.RooFit.Name("xframe"), ROOT.RooFit.Title("RooPlot with decorations"), ROOT.RooFit.Bins(40))
295
296# With keyword arguments:
297frame = x.frame(Name="xframe", Title="RooPlot with decorations", Bins=40)
298\endcode
299
300\anchor _rooabsreallvalue_createhistogram
301### RooAbsRealLValue.createHistogram
302The RooAbsRealLValue::createHistogram() function is pythonized with the command argument pythonization.
303The keywords must correspond to the CmdArgs of the function.
304
305\see RooAbsRealLValue::createHistogram(const char *name, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
306
307\anchor _rooabsreallvalue_frame
308### RooAbsRealLValue.frame
309The RooAbsRealLValue::frame() function is pythonized with the command argument pythonization.
310The keywords must correspond to the CmdArgs of the function.
311
312\see RooAbsRealLValue::frame(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
313
314\anchor _rooargset
315## RooArgSet
316\see RooArgSet
317
318\anchor _rooargset___init__
319### RooArgSet.__init__
320Pythonization of RooArgSet constructor to support implicit
321conversion from Python sets.
322
323\anchor _roobcpgendecay
324## RooBCPGenDecay
325\see RooBCPGenDecay
326
327\anchor _roobcpgendecay___init__
328### RooBCPGenDecay.__init__
329The RooBCPGenDecay constructor is pythonized with enum values.
330
331\see RooBCPGenDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& a, RooAbsReal& b, RooAbsReal& delMistag, RooAbsReal& mu, const RooResolutionModel& model, DecayType type)
332
333\anchor _roobcpeffdecay
334## RooBCPEffDecay
335\see RooBCPEffDecay
336
337\anchor _roobcpeffdecay___init__
338### RooBCPEffDecay.__init__
339The RooBCPEffDecay constructor is pythonized with enum values.
340
341\see RooBCPEffDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& CPeigenval, RooAbsReal& a, RooAbsReal& b, RooAbsReal& effRatio, RooAbsReal& delMistag, const RooResolutionModel& model, DecayType type)
342
343\anchor _roobdecay
344## RooBDecay
345\see RooBDecay
346
347\anchor _roobdecay___init__
348### RooBDecay.__init__
349The RooBDecay constructor is pythonized with enum values.
350
351\see RooBDecay(const char *name, const char *title, RooRealVar& t, RooAbsReal& tau, RooAbsReal& dgamma, RooAbsReal& f0, RooAbsReal& f1, RooAbsReal& f2, RooAbsReal& f3, RooAbsReal& dm, const RooResolutionModel& model, DecayType type)
352
353\anchor _roobmixdecay
354## RooBMixDecay
355\see RooBMixDecay
356
357\anchor _roobmixdecay___init__
358### RooBMixDecay.__init__
359The RooBMixDecay constructor is pythonized with enum values.
360
361\see RooBMixDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& mixState, RooAbsCategory& tagFlav, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& mistag, RooAbsReal& delMistag, const RooResolutionModel& model, DecayType type)
362
363\anchor _roocategory
364## RooCategory
365\see RooCategory
366
367Constructor of RooCategory takes a map as an argument also supports python dictionaries.
368For example, the following code is equivalent in PyROOT:
369\code{.py}
370# Default bindings :
371mixState = ROOT.RooCategory("mixState", "B0/B0bar mixing state")
372mixState.defineType("mixed", -1)
373mixState.defineType("unmixed", 1)
374
375# With pythonization :
376mixState = ROOT.RooCategory("mixState", "B0/B0bar mixing state", {"mixed" : -1, "unmixed" : 1})
377\endcode
378
379\anchor _roocategory___init__
380### RooCategory.__init__
381The RooCategory constructor is pythonized for converting python dict to std::map.
382The instances in the dict must correspond to the template argument in std::map of the constructor.
383
384\see RooCategory(const char* name, const char* title, const std::map<std::string, int>& allowedStates)
385
386\anchor _roochi2var
387## RooChi2Var
388\see RooChi2Var
389
390Constructor of RooChi2Var takes a RooCmdArg as argument also supports keyword arguments.
391
392\anchor _roochi2var___init__
393### RooChi2Var.__init__
394The RooCategory constructor is pythonized for converting python dict to std::map.
395The keywords must correspond to the CmdArg of the constructor function.
396
397\see RooChi2Var(const char* name, const char* title, RooAbsReal& func, RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
398
399\see RooChi2Var(const char* name, const char* title, RooAbsPdf& pdf, RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
400
401\anchor _roodatahist
402## RooDataHist
403\see RooDataHist
404
405Constructor of RooDataHist takes a RooCmdArg as argument also supports keyword arguments.
406For example, the following code is equivalent in PyROOT:
407\code{.py}
408# Directly passing a RooCmdArg:
409dh = ROOT.RooDataHist("dh", "dh", ROOT.RooArgList(x), ROOT.RooFit.Import("SampleA", histo))
410
411# With keyword arguments:
412dh = ROOT.RooDataHist("dh", "dh", ROOT.RooArgList(x), Import=("SampleA", histo))
413\endcode
414
415\anchor _roodatahist___init__
416### RooDataHist.__init__
417The RooDataHist constructor is pythonized with the command argument pythonization and for converting python dict to std::map.
418The keywords must correspond to the CmdArg of the constructor function.
419The instances in dict must correspond to the template argument in std::map of the constructor.
420
421\see RooDataHist(std::string_view name, std::string_view title, const RooArgList& vars, RooCategory& indexCat, std::map<std::string,TH1*> histMap, Double_t initWgt)
422
423\see RooDataHist(std::string_view name, std::string_view title, const RooArgList& vars, RooCategory& indexCat, std::map<std::string,RooDataHist*> dhistMap, Double_t wgt)
424
425\anchor _roodatahist_from_numpy
426### RooDataHist.from_numpy
427Create a RooDataHist from numpy arrays.
428
429Note: The argument structure was inspired by numpy.histogramdd.
430
431Args:
432 hist_weights (numpy.ndarray): The multidimensional histogram bin
433 weights.
434 bins (list): The bin specification, where each element is either:
435 * a numpy array describing the monotonically
436 increasing bin edges along each dimension.
437 * a scalar value for the number of bins (in this
438 case, the corresponding item in the `ranges`
439 argument must be filled)
440 * `None` for a category dimension or if you want to
441 use the default binning of the RooFit variable
442 variables (RooArgSet, or list/tuple of RooAbsArgs):
443 Specification of the variables in the RooDataHist, will be
444 forwarded to the RooDataHist constructor. Both real values and
445 categories are supported.
446 ranges (list): An optional list specifying the variable range
447 limits. Each element is either:
448 * `None` if a full bin edges array is given to
449 `bins` or for a category dimension
450 * a tuple with two values corresponding to the
451 minimum and maximum values
452 weights_squared_sum (numpy.ndarray):
453 The sum of squared weights of the original samples that were
454 used to fill the histogram. If the input weights are from a
455 weighted histogram, this parameter is no longer optional.
456 name (str): Name of the RooDataSet, `None` is equivalent to an
457 empty string.
458 title (str): Title of the RooDataSet, `None` is equivalent to an
459 empty string.
460
461Returns:
462 RooDataHist
463
464\anchor _roodatahist_to_numpy
465### RooDataHist.to_numpy
466Converts the weights and bin edges of a RooDataHist to numpy arrays.
467
468Note: The output structure was inspired by numpy.histogramdd.
469
470Returns:
471 weight (numpy.ndarray): The weights for each histrogram bin.
472 bin_edges (list): A list of `n_dim` arrays describing the bin edges
473 for each dimension. For dimensions of category
474 types, the list element is `None`.
475
476\anchor _roodataset
477## RooDataSet
478\see RooDataSet
479
480Some member functions of RooDataSet that take a RooCmdArg as argument also support keyword arguments.
481So far, this applies to RooDataSet() constructor and RooDataSet::plotOnXY.
482For example, the following code is equivalent in PyROOT:
483\code{.py}
484# Directly passing a RooCmdArg:
485dxy = ROOT.RooDataSet("dxy", "dxy", ROOT.RooArgSet(x, y), ROOT.RooFit.StoreError(ROOT.RooArgSet(x, y)))
486
487# With keyword arguments:
488dxy = ROOT.RooDataSet("dxy", "dxy", ROOT.RooArgSet(x, y), StoreError=(ROOT.RooArgSet(x, y)))
489\endcode
490
491\anchor _roodataset___init__
492### RooDataSet.__init__
493The RooDataSet constructor is pythonized with the command argument pythonization.
494The keywords must correspond to the CmdArgs of the constructor.
495
496\see RooDataSet(std::string_view name, std::string_view title, const RooArgSet& vars, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5, const RooCmdArg& arg6,const RooCmdArg& arg7,const RooCmdArg& arg8)
497
498\anchor _roodataset_from_numpy
499### RooDataSet.from_numpy
500Create a RooDataSet from a dictionary of numpy arrays.
501Args:
502 data (dict): Dictionary with strings as keys and numpy arrays as
503 values, to be imported into the RooDataSet.
504 variables (RooArgSet, or list/tuple of RooAbsArgs):
505 Specification of the variables in the RooDataSet, will be
506 forwarded to the RooDataSet constructor. Both real values and
507 categories are supported.
508 name (str): Name of the RooDataSet, `None` is equivalent to an
509 empty string.
510 title (str): Title of the RooDataSet, `None` is equivalent to an
511 empty string.
512 weight_name (str): Key of the array in `data` that will be used for
513 the dataset weights.
514
515Returns:
516 RooDataSet
517
518\anchor _roodataset_from_pandas
519### RooDataSet.from_pandas
520Create a RooDataSet from a pandas DataFrame.
521Args:
522 df (pandas.DataFrame): Pandas DataFrame to import.
523 variables (RooArgSet, or list/tuple of RooAbsArgs):
524 Specification of the variables in the RooDataSet, will be
525 forwarded to the RooDataSet constructor. Both real values and
526 categories are supported.
527 name (str): Name of the RooDataSet, `None` is equivalent to an
528 empty string.
529 title (str): Title of the RooDataSet, `None` is equivalent to an
530 empty string.
531 weight_name (str): Key of the array in `data` that will be used for
532 the dataset weights.
533
534Returns:
535 RooDataSet
536
537\anchor _roodataset_plotonxy
538### RooDataSet.plotOnXY
539The RooDataSet::plotOnXY() function is pythonized with the command argument pythonization.
540The keywords must correspond to the CmdArgs of the function.
541
542\see RooDataSet::plotOnXY(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
543
544\anchor _roodataset_to_numpy
545### RooDataSet.to_numpy
546Export a RooDataSet to a dictionary of numpy arrays.
547
548Args:
549 copy (bool): If False, the data will not be copied. Use with
550 caution, as the numpy arrays and the RooAbsData now
551 own the same memory. If the dataset uses a
552 RooTreeDataStore, there will always be a copy and the
553 copy argument is ignored.
554
555Returns:
556 dict: A dictionary with the variable or weight names as keys and
557 the numpy arrays as values.
558
559\anchor _roodataset_to_pandas
560### RooDataSet.to_pandas
561Export a RooDataSet to a pandas DataFrame.
562
563Args:
564
565Note:
566 Pandas copies the data from the numpy arrays when creating a
567 DataFrame. That's why we can disable copying in the to_numpy call.
568
569Returns:
570 pandas.DataFrame: A dataframe with the variable or weight names as
571 column names and the a row for each variable or
572 weight in the dataset.
573
574\anchor _roodecay
575## RooDecay
576\see RooDecay
577
578Some constructors of classes like RooDecay, RooBDecay, RooBCPGenDecay, RooBCPEffDecay and RooBMixDecay that take an enum
579DecayType as argument also support keyword arguments.
580For example, the following code is equivalent in PyROOT:
581\code{.py}
582# Directly passing keyword argument with string corresponding to enum value name:
583decay_tm = ROOT.RooDecay("decay_tm", "decay", dt, tau, tm, ROOT.RooDecay.DoubleSided)
584
585# With enum value:
586decay_tm = ROOT.RooDecay("decay_tm", "decay", dt, tau, tm, type="DoubleSided")
587\endcode
588
589\anchor _roodecay___init__
590### RooDecay.__init__
591The RooDecay constructor is pythonized with enum values.
592
593\see RooDecay(const char *name, const char *title, RooRealVar& t, RooAbsReal& tau, const RooResolutionModel& model, DecayType type)
594
595\anchor _roogenfitstudy
596## RooGenFitStudy
597\see RooGenFitStudy
598
599Some member functions of RooGenFitStudy that take a RooCmdArg as argument also support keyword arguments.
600So far, this applies to RooGenFitStudy::setGenConfig.
601
602\anchor _roogenfitstudy_setgenconfig
603### RooGenFitStudy.setGenConfig
604The RooGenFitStudy::setGenConfig() function is pythonized with the command argument pythonization.
605The keywords must correspond to the CmdArg of the function.
606
607\see RooGenFitStudy::setGenConfig(const char* pdfName, const char* obsName, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3)
608
609\see RooGenFitStudy::setFitConfig(const char* pdfName, const char* obsName, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3)
610
611\anchor _roojsonfactorywstool
612## RooJSONFactoryWSTool
613\see RooJSONFactoryWSTool
614
615\anchor _roojsonfactorywstool_gendoc
616### RooJSONFactoryWSTool.gendoc
617Generate the importer and exporter documentation.
618
619\anchor _roojsonfactorywstool_writedoc
620### RooJSONFactoryWSTool.writedoc
621Write the importer and exporter documentation as LaTeX code.
622
623\anchor _roomcstudy
624## RooMCStudy
625\see RooMCStudy
626
627Some member functions of RooMCStudy that take a RooCmdArg as argument also support keyword arguments.
628So far, this applies to constructor RooMCStudy(), RooMCStudy::plotParamOn, RooMCStudy::plotParam, RooMCStudy::plotNLL, RooMCStudy::plotError and RooMCStudy::plotPull.
629For example, the following code is equivalent in PyROOT:
630\code{.py}
631# Directly passing a RooCmdArg:
632frame3 = mcstudy.plotPull(mean, ROOT.RooFit.Bins(40), ROOT.RooFit.FitGauss(True))
633
634# With keyword arguments:
635frame3 = mcstudy.plotPull(mean, Bins=40, FitGauss=True)
636\endcode
637
638\anchor _roomcstudy___init__
639### RooMCStudy.__init__
640The RooMCStudy constructor is pythonized with the command argument pythonization.
641The keywords must correspond to the CmdArg of the constructor function.
642
643\see RooMCStudy(const RooAbsPdf& model, const RooArgSet& observables, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
644
645\anchor _roomcstudy_ploterror
646### RooMCStudy.plotError
647The RooMCStudy::plotError() function is pythonized with the command argument pythonization.
648The keywords must correspond to the CmdArg of the function.
649
650\see RooMCStudy::plotError(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
651
652\anchor _roomcstudy_plotnll
653### RooMCStudy.plotNLL
654The RooMCStudy::plotNLL() function is pythonized with the command argument pythonization.
655The keywords must correspond to the CmdArg of the function.
656
657\see RooMCStudy::plotNLL(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
658
659\anchor _roomcstudy_plotparam
660### RooMCStudy.plotParam
661The RooMCStudy::plotParam() function is pythonized with the command argument pythonization.
662The keywords must correspond to the CmdArg of the function.
663
664\see RooMCStudy::plotParam(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
665
666\see RooMCStudy::plotParam(const char* paramName, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
667
668\anchor _roomcstudy_plotparamon
669### RooMCStudy.plotParamOn
670The RooMCStudy::plotParamOn() function is pythonized with the command argument pythonization.
671The keywords must correspond to the CmdArg of the function.
672
673\see RooMCStudy::plotParamOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
674
675\anchor _roomcstudy_plotpull
676### RooMCStudy.plotPull
677The RooMCStudy::plotError() function is pythonized with the command argument pythonization.
678The keywords must correspond to the CmdArg of the function.
679
680\see RooMCStudy::plotPull(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
681
682\anchor _roomsgservice
683## RooMsgService
684\see RooMsgService
685
686Some member functions of RooMsgService that take a RooCmdArg as argument also support keyword arguments.
687So far, this applies to RooMsgService::addStream.
688For example, the following code is equivalent in PyROOT:
689\code{.py}
690# Directly passing a RooCmdArg:
691ROOT.RooMsgService.instance().addStream(ROOT.RooFit.DEBUG, ROOT.RooFit.Topic(ROOT.RooFit.Tracing), ROOT.RooFit.ClassName("RooGaussian"))
692
693# With keyword arguments:
694ROOT.RooMsgService.instance().addStream(ROOT.RooFit.DEBUG, Topic = ROOT.RooFit.Tracing, ClassName = "RooGaussian")
695\endcode
696
697\anchor _roomsgservice_addstream
698### RooMsgService.addStream
699The RooMsgService::addStream() function is pythonized with the command argument pythonization.
700The keywords must correspond to the CmdArg of the function.
701
702\see RooMsgService::addStream(RooFit::MsgLevel level, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6)
703
704\anchor _roonllvar
705## RooNLLVar
706\see RooNLLVar
707
708RooNLLVar() constructor takes a RooCmdArg as argument also supports keyword arguments.
709
710\anchor _roonllvar___init__
711### RooNLLVar.__init__
712The RooNLLVar constructor is pythonized with the command argument pythonization.
713The keywords must correspond to the CmdArg of the constructor function.
714
715\see RooNLLVar(const char* name, const char* title, RooAbsPdf& pdf, RooAbsData& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
716
717\anchor _rooprodpdf
718## RooProdPdf
719\see RooProdPdf
720
721RooProdPdf() constructor takes a RooCmdArg as argument also supports keyword arguments.
722For example, the following code is equivalent in PyROOT:
723\code{.py}
724# Directly passing a RooCmdArg:
725model = ROOT.RooProdPdf(
726 "model", "model", ROOT.RooArgSet(shapePdf), ROOT.RooFit.Conditional(ROOT.RooArgSet(effPdf), ROOT.RooArgSet(cut))
727 )
728
729# With keyword arguments:
730model = ROOT.RooProdPdf(
731 "model", "model", ROOT.RooArgSet(shapePdf), Conditional=(ROOT.RooArgSet(effPdf), ROOT.RooArgSet(cut))
732 )
733\endcode
734
735\anchor _rooprodpdf___init__
736### RooProdPdf.__init__
737The RooProdPdf constructor is pythonized with the command argument pythonization.
738The keywords must correspond to the CmdArgs of the constructor.
739
740\see RooProdPdf(const char* name, const char* title, const RooArgSet& fullPdfSet, const RooCmdArg& arg1 , const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
741
742\anchor _roorealvar
743## RooRealVar
744\see RooRealVar
745
746\anchor _roorealvar_bins
747### RooRealVar.bins
748Return the binning of this RooRealVar as a numpy array.
749
750\anchor _roosimultaneous
751## RooSimultaneous
752\see RooSimultaneous
753
754Some member functions of RooSimultaneous that take a RooCmdArg as argument also support keyword arguments.
755So far, this applies to RooSimultaneous::plotOn.
756For example, the following code is equivalent in PyROOT:
757\code{.py}
758# Directly passing a RooCmdArg:
759pdfSim.plotOn(frame, ROOT.RooFit.Slice(sample,"control"), ROOT.RooFit.ProjWData(sampleSet, combData))
760
761# With keyword arguments:
762simPdf.plotOn(frame, Slice=(sample, "control"), ProjWData=(sampleSet, combData))
763\endcode
764
765\anchor _roosimultaneous___init__
766### RooSimultaneous.__init__
767The RooSimultaneous constructor that takes a map of category names
768to PDFs is accepting a Python dictionary in Python.
769
770\see RooSimultaneous(const char *name, const char *title, std::map<std::string,RooAbsPdf*> pdfMap, RooAbsCategoryLValue& inIndexCat)
771
772\anchor _roosimultaneous_ploton
773### RooSimultaneous.plotOn
774The RooSimultaneous::plotOn() function is pythonized with the command argument pythonization.
775The keywords must correspond to the CmdArgs of the function.
776
777\see RooSimultaneous::plotOn(RooPlot* frame, const RooCmdArg& arg1 , const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
778
779\anchor _roosimwstool
780## RooSimWSTool
781\see RooSimWSTool
782
783Some member functions of RooSimWSTool that take a RooCmdArg as argument also support keyword arguments.
784So far, this applies to RooSimWSTool::build.
785For example, the following code is equivalent in PyROOT:
786\code{.py}
787# Directly passing a RooCmdArg:
788sct.build("model_sim2", "model", ROOT.RooFit.SplitParam("p0", "c,d"))
789
790# With keyword arguments:
791sct.build("model_sim2", "model", SplitParam=("p0", "c,d"))
792\endcode
793
794\anchor _roosimwstool_build
795### RooSimWSTool.build
796The RooSimWSTool::build() function is pythonized with the command argument pythonization.
797The keywords must correspond to the CmdArgs of the function.
798
799\see RooSimWSTool::build(const char* simPdfName, const char* protoPdfName, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
800
801\anchor _rooworkspace
802## RooWorkspace
803\see RooWorkspace
804
805The RooWorkspace::import function can't be used in PyROOT because `import` is a reserved python keyword.
806For this reason, an alternative with a capitalized name is provided:
807\code{.py}
808workspace.Import(x)
809\endcode
810
811\anchor _rooworkspace_import
812### RooWorkspace.Import
813Support the C++ `import()` as `Import()` in python
814
815\see RooWorkspace::import(const RooAbsArg& arg, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
816
817\see RooWorkspace::import(RooAbsData& data, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
818
819\see RooWorkspace::import(const char *fileSpec, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
820
821\anchor _rooworkspace___init__
822### RooWorkspace.__init__
823The RooWorkspace constructor is pythonized with the command argument pythonization.
824The keywords must correspond to the CmdArgs of the constructor.
825
826\see RooWorkspace::import(const RooAbsArg& arg, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
827
828\anchor _rooworkspace__ipython_key_completions_
829### RooWorkspace._ipython_key_completions_
830Support tab completion for `__getitem__`, suggesting all components in
831the workspace.
832
833\anchor _rooworkspace_rooworkspace_import
834### RooWorkspace.RooWorkspace_import
835The RooWorkspace::import function can't be used in PyROOT because `import` is a reserved python keyword.
836So, Import() is used and pythonized with the command argument pythonization.
837The keywords must correspond to the CmdArg of the `import()` function.
838
839\anchor _splot
840## SPlot
841\see SPlot
842
843The constructor of RooStats::SPlot takes RooCmdArg as arguments also support keyword arguments.
844This also applies to SPlot::AddSWeights. For example, the following code is equivalent in PyROOT:
845\code{.py}
846# Directly passing a RooCmdArg:
847RooStats.SPlot(data, ROOT.RooStats.RooCmdArg("Strategy", 0))
848
849# With keyword arguments:
850RooStats.SPlot(data, Strategy = 0)
851\endcode
852
853\anchor _splot__splot_addsweight
854### SPlot._SPlot_AddSWeight
855The SPlot::AddSWeight function is pythonized with the command argument pythonization.
856For example, the following code is equivalent in PyROOT:
857\code{.py}
858
859splot = ROOT.RooStats.SPlot("sData", "An SPlot", data, massModel, [zYield, qcdYield])
860
861# Directly passing a RooCmdArg:
862splot.AddSWeight(pdf, [zYield, qcdYield], ROOT.RooStats.RooCmdArg("Strategy", 0), ROOT.RooStats.RooCmdArg("InitialHesse", 1))
863
864# With keyword arguments:
865splot.AddSWeight(pdf, [zYield, qcdYield], Strategy=3, InitialHesse=1)
866\endcode
867
868\see SPlot::AddSWeight( RooAbsPdf* pdf, const RooArgList &yieldsTmp, const RooArgSet &projDeps, bool includeWeights, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
869
870\anchor _splot__splot_init
871### SPlot._SPlot_init
872The SPlot constructor is pythonized with the command argument pythonization.
873The keywords must correspond to the CmdArgs of the constructor. The constructor automatically calls AddSWeight() with the given RooCmdArg
874
875For example, the following code is equivalent in PyROOT:
876\code{.py}
877# Directly passing a RooCmdArg:
878sData = ROOT.RooStats.SPlot("sData", "An SPlot", data, massModel, [zYield, qcdYield], ROOT.RooStats.RooCmdArg("Strategy", 0))
879
880# With keyword arguments:
881sData = ROOT.RooStats.SPlot("sData", "An SPlot", data, massModel, [zYield, qcdYield], Strategy=0)
882\endcode
883
884\see SPlot::SPlot(const char* name, const char* title, RooDataSet& data, RooAbsPdf* pdf, const RooArgList &yieldsList, const RooArgSet &projDeps, bool useWeights, bool cloneData, const char* newName, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8):TNamed(name, title)
885
886
887\class RooAbsCollection
888\brief \parblock \endparblock
889\htmlonly
890<div class="pyrootbox">
891\endhtmlonly
892## PyROOT
893Some member functions of RooAbsCollection that take a RooCmdArg as argument also support keyword arguments.
894So far, this applies to RooAbsCollection::printLatex. For example, the following code is equivalent in PyROOT:
895\code{.py}
896# Directly passing a RooCmdArg:
897params.printLatex(ROOT.RooFit.Sibling(initParams), ROOT.RooFit.Columns(2))
898
899# With keyword arguments:
900params.printLatex(Sibling=initParams, Columns =2)
901\endcode
902\htmlonly
903</div>
904\endhtmlonly
905
906\fn RooAbsCollection::printLatex(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
907\brief \parblock \endparblock
908\htmlonly
909<div class="pyrootbox">
910\endhtmlonly
911## PyROOT
912The RooAbsCollection::printLatex() function is pythonized with the command argument pythonization.
913The keywords must correspond to the CmdArgs of the function.
914\htmlonly
915</div>
916\endhtmlonly
917
918\class RooAbsData
919\brief \parblock \endparblock
920\htmlonly
921<div class="pyrootbox">
922\endhtmlonly
923## PyROOT
924Some member functions of RooAbsData that take a RooCmdArg as argument also support keyword arguments.
925This applies to RooAbsData::plotOn, RooAbsData::createHistogram, RooAbsData::reduce, RooAbsData::statOn.
926For example, the following code is equivalent in PyROOT:
927\code{.py}
928# Directly passing a RooCmdArg:
929data.plotOn(frame, ROOT.RooFit.CutRange("r1"))
930
931# With keyword arguments:
932data.plotOn(frame, CutRange="r1")
933\endcode
934\htmlonly
935</div>
936\endhtmlonly
937
938\fn RooAbsData::createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
939\brief \parblock \endparblock
940\htmlonly
941<div class="pyrootbox">
942\endhtmlonly
943## PyROOT
944The RooAbsData::createHistogram() function is pythonized with the command argument pythonization.
945The keywords must correspond to the CmdArgs of the function.
946\htmlonly
947</div>
948\endhtmlonly
949
950\fn RooAbsData::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
951\brief \parblock \endparblock
952\htmlonly
953<div class="pyrootbox">
954\endhtmlonly
955## PyROOT
956The RooAbsData::plotOn() function is pythonized with the command argument pythonization.
957The keywords must correspond to the CmdArgs of the function.
958\htmlonly
959</div>
960\endhtmlonly
961
962\fn RooAbsData::reduce(const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8)
963\brief \parblock \endparblock
964\htmlonly
965<div class="pyrootbox">
966\endhtmlonly
967## PyROOT
968The RooAbsData::reduce() function is pythonized with the command argument pythonization.
969The keywords must correspond to the CmdArgs of the function.
970\htmlonly
971</div>
972\endhtmlonly
973
974\fn RooAbsData::statOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
975\brief \parblock \endparblock
976\htmlonly
977<div class="pyrootbox">
978\endhtmlonly
979## PyROOT
980The RooAbsData::statOn() function is pythonized with the command argument pythonization.
981The keywords must correspond to the CmdArgs of the function.
982\htmlonly
983</div>
984\endhtmlonly
985
986\class RooAbsPdf
987\brief \parblock \endparblock
988\htmlonly
989<div class="pyrootbox">
990\endhtmlonly
991## PyROOT
992Some member functions of RooAbsPdf that take a RooCmdArg as argument also support keyword arguments.
993So far, this applies to RooAbsPdf::fitTo, RooAbsPdf::plotOn, RooAbsPdf::generate, RooAbsPdf::paramOn, RooAbsPdf::createCdf,
994RooAbsPdf::generateBinned, RooAbsPdf::prepareMultiGen and RooAbsPdf::createNLL.
995For example, the following code is equivalent in PyROOT:
996\code{.py}
997# Directly passing a RooCmdArg:
998pdf.fitTo(data, ROOT.RooFit.Range("r1"))
999
1000# With keyword arguments:
1001pdf.fitTo(data, Range="r1")
1002\endcode
1003\htmlonly
1004</div>
1005\endhtmlonly
1006
1007\fn RooAbsPdf::createCdf(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1008\brief \parblock \endparblock
1009\htmlonly
1010<div class="pyrootbox">
1011\endhtmlonly
1012## PyROOT
1013The RooAbsPdf::createCdf() function is pythonized with the command argument pythonization.
1014The keywords must correspond to the CmdArgs of the function.
1015\htmlonly
1016</div>
1017\endhtmlonly
1018
1019\fn RooAbsPdf::createNLL()
1020\brief \parblock \endparblock
1021\htmlonly
1022<div class="pyrootbox">
1023\endhtmlonly
1024## PyROOT
1025The RooAbsPdf::createNLL() function is pythonized with the command argument pythonization.
1026The keywords must correspond to the CmdArgs of the function.
1027\htmlonly
1028</div>
1029\endhtmlonly
1030
1031\fn RooAbsPdf::fitTo()
1032\brief \parblock \endparblock
1033\htmlonly
1034<div class="pyrootbox">
1035\endhtmlonly
1036## PyROOT
1037The RooAbsPdf::fitTo() function is pythonized with the command argument pythonization.
1038The keywords must correspond to the CmdArgs of the function.
1039\htmlonly
1040</div>
1041\endhtmlonly
1042
1043\fn RooAbsPdf::generate(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
1044\brief \parblock \endparblock
1045\htmlonly
1046<div class="pyrootbox">
1047\endhtmlonly
1048## PyROOT
1049The RooAbsPdf::generate() function is pythonized with the command argument pythonization.
1050The keywords must correspond to the CmdArgs of the function.
1051\htmlonly
1052</div>
1053\endhtmlonly
1054
1055\fn RooAbsPdf::generateBinned(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6) const
1056\brief \parblock \endparblock
1057\htmlonly
1058<div class="pyrootbox">
1059\endhtmlonly
1060## PyROOT
1061The RooAbsPdf::generateBinned() function is pythonized with the command argument pythonization.
1062The keywords must correspond to the CmdArgs of the function.
1063\htmlonly
1064</div>
1065\endhtmlonly
1066
1067\fn RooAbsPdf::paramOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1068\brief \parblock \endparblock
1069\htmlonly
1070<div class="pyrootbox">
1071\endhtmlonly
1072## PyROOT
1073The RooAbsPdf::paramOn() function is pythonized with the command argument pythonization.
1074The keywords must correspond to the CmdArgs of the function.
1075\htmlonly
1076</div>
1077\endhtmlonly
1078
1079\fn RooAbsPdf::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
1080\brief \parblock \endparblock
1081\htmlonly
1082<div class="pyrootbox">
1083\endhtmlonly
1084## PyROOT
1085The RooAbsPdf::plotOn() function is pythonized with the command argument pythonization.
1086The keywords must correspond to the CmdArgs of the function.
1087\htmlonly
1088</div>
1089\endhtmlonly
1090
1091\fn RooAbsPdf::prepareMultiGen(const RooArgSet &whatVars, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
1092\brief \parblock \endparblock
1093\htmlonly
1094<div class="pyrootbox">
1095\endhtmlonly
1096## PyROOT
1097The RooAbsPdf::prepareMultiGen() function is pythonized with the command argument pythonization.
1098The keywords must correspond to the CmdArgs of the function.
1099\htmlonly
1100</div>
1101\endhtmlonly
1102
1103\class RooAbsReal
1104\brief \parblock \endparblock
1105\htmlonly
1106<div class="pyrootbox">
1107\endhtmlonly
1108## PyROOT
1109Some member functions of RooAbsReal that take a RooCmdArg as argument also support keyword arguments.
1110So far, this applies to RooAbsReal::plotOn, RooAbsReal::createHistogram, RooAbsReal::chi2FitTo,
1111RooAbsReal::createChi2, RooAbsReal::createRunningIntegral and RooAbsReal::createIntegral
1112For example, the following code is equivalent in PyROOT:
1113\code{.py}
1114# Directly passing a RooCmdArg:
1115var.plotOn(frame, ROOT.RooFit.Components("background"))
1116
1117# With keyword arguments:
1118var.plotOn(frame, Components="background")
1119\endcode
1120\htmlonly
1121</div>
1122\endhtmlonly
1123
1124\fn RooAbsReal::chi2FitTo(RooDataSet& xydata, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1125\brief \parblock \endparblock
1126\htmlonly
1127<div class="pyrootbox">
1128\endhtmlonly
1129## PyROOT
1130The RooAbsReal::chi2FitTo() function is pythonized with the command argument pythonization.
1131The keywords must correspond to the CmdArgs of the function.
1132\htmlonly
1133</div>
1134\endhtmlonly
1135
1136\fn RooAbsReal::createChi2(RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1137\brief \parblock \endparblock
1138\htmlonly
1139<div class="pyrootbox">
1140\endhtmlonly
1141## PyROOT
1142The RooAbsReal::createChi2() function is pythonized with the command argument pythonization.
1143The keywords must correspond to the CmdArgs of the function.
1144\htmlonly
1145</div>
1146\endhtmlonly
1147
1148\fn RooAbsReal::createHistogram(const char *name, const RooAbsRealLValue& xvar, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1149\brief \parblock \endparblock
1150\htmlonly
1151<div class="pyrootbox">
1152\endhtmlonly
1153## PyROOT
1154The RooAbsReal::createHistogram() function is pythonized with the command argument pythonization.
1155The keywords must correspond to the CmdArgs of the function.
1156\htmlonly
1157</div>
1158\endhtmlonly
1159
1160\fn RooAbsReal::createIntegral(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1161\brief \parblock \endparblock
1162\htmlonly
1163<div class="pyrootbox">
1164\endhtmlonly
1165## PyROOT
1166The RooAbsReal::createIntegral() function is pythonized with the command argument pythonization.
1167The keywords must correspond to the CmdArgs of the function.
1168\htmlonly
1169</div>
1170\endhtmlonly
1171
1172\fn RooAbsReal::createRunningIntegral(const RooArgSet& iset, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1173\brief \parblock \endparblock
1174\htmlonly
1175<div class="pyrootbox">
1176\endhtmlonly
1177## PyROOT
1178The RooAbsReal::createRunningIntegral() function is pythonized with the command argument pythonization.
1179The keywords must correspond to the CmdArgs of the function.
1180\htmlonly
1181</div>
1182\endhtmlonly
1183
1184\fn RooAbsReal::plotOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
1185\brief \parblock \endparblock
1186\htmlonly
1187<div class="pyrootbox">
1188\endhtmlonly
1189## PyROOT
1190The RooAbsReal::plotOn() function is pythonized with the command argument pythonization.
1191The keywords must correspond to the CmdArgs of the function.
1192\htmlonly
1193</div>
1194\endhtmlonly
1195
1196\class RooAbsRealLValue
1197\brief \parblock \endparblock
1198\htmlonly
1199<div class="pyrootbox">
1200\endhtmlonly
1201## PyROOT
1202Some member functions of RooAbsRealLValue that take a RooCmdArg as argument also support keyword arguments.
1203So far, this applies to RooAbsRealLValue::createHistogram and RooAbsRealLValue::frame.
1204For example, the following code is equivalent in PyROOT:
1205\code{.py}
1206# Directly passing a RooCmdArg:
1207frame = x.frame(ROOT.RooFit.Name("xframe"), ROOT.RooFit.Title("RooPlot with decorations"), ROOT.RooFit.Bins(40))
1208
1209# With keyword arguments:
1210frame = x.frame(Name="xframe", Title="RooPlot with decorations", Bins=40)
1211\endcode
1212\htmlonly
1213</div>
1214\endhtmlonly
1215
1216\fn RooAbsRealLValue::createHistogram(const char *name, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1217\brief \parblock \endparblock
1218\htmlonly
1219<div class="pyrootbox">
1220\endhtmlonly
1221## PyROOT
1222The RooAbsRealLValue::createHistogram() function is pythonized with the command argument pythonization.
1223The keywords must correspond to the CmdArgs of the function.
1224\htmlonly
1225</div>
1226\endhtmlonly
1227
1228\fn RooAbsRealLValue::frame(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1229\brief \parblock \endparblock
1230\htmlonly
1231<div class="pyrootbox">
1232\endhtmlonly
1233## PyROOT
1234The RooAbsRealLValue::frame() function is pythonized with the command argument pythonization.
1235The keywords must correspond to the CmdArgs of the function.
1236\htmlonly
1237</div>
1238\endhtmlonly
1239
1240\fn RooBCPGenDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& a, RooAbsReal& b, RooAbsReal& delMistag, RooAbsReal& mu, const RooResolutionModel& model, DecayType type)
1241\brief \parblock \endparblock
1242\htmlonly
1243<div class="pyrootbox">
1244\endhtmlonly
1245## PyROOT
1246The RooBCPGenDecay constructor is pythonized with enum values.
1247\htmlonly
1248</div>
1249\endhtmlonly
1250
1251\fn RooBCPEffDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& CPeigenval, RooAbsReal& a, RooAbsReal& b, RooAbsReal& effRatio, RooAbsReal& delMistag, const RooResolutionModel& model, DecayType type)
1252\brief \parblock \endparblock
1253\htmlonly
1254<div class="pyrootbox">
1255\endhtmlonly
1256## PyROOT
1257The RooBCPEffDecay constructor is pythonized with enum values.
1258\htmlonly
1259</div>
1260\endhtmlonly
1261
1262\fn RooBDecay(const char *name, const char *title, RooRealVar& t, RooAbsReal& tau, RooAbsReal& dgamma, RooAbsReal& f0, RooAbsReal& f1, RooAbsReal& f2, RooAbsReal& f3, RooAbsReal& dm, const RooResolutionModel& model, DecayType type)
1263\brief \parblock \endparblock
1264\htmlonly
1265<div class="pyrootbox">
1266\endhtmlonly
1267## PyROOT
1268The RooBDecay constructor is pythonized with enum values.
1269\htmlonly
1270</div>
1271\endhtmlonly
1272
1273\fn RooBMixDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& mixState, RooAbsCategory& tagFlav, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& mistag, RooAbsReal& delMistag, const RooResolutionModel& model, DecayType type)
1274\brief \parblock \endparblock
1275\htmlonly
1276<div class="pyrootbox">
1277\endhtmlonly
1278## PyROOT
1279The RooBMixDecay constructor is pythonized with enum values.
1280\htmlonly
1281</div>
1282\endhtmlonly
1283
1284\class RooCategory
1285\brief \parblock \endparblock
1286\htmlonly
1287<div class="pyrootbox">
1288\endhtmlonly
1289## PyROOT
1290Constructor of RooCategory takes a map as an argument also supports python dictionaries.
1291For example, the following code is equivalent in PyROOT:
1292\code{.py}
1293# Default bindings :
1294mixState = ROOT.RooCategory("mixState", "B0/B0bar mixing state")
1295mixState.defineType("mixed", -1)
1296mixState.defineType("unmixed", 1)
1297
1298# With pythonization :
1299mixState = ROOT.RooCategory("mixState", "B0/B0bar mixing state", {"mixed" : -1, "unmixed" : 1})
1300\endcode
1301\htmlonly
1302</div>
1303\endhtmlonly
1304
1305\fn RooCategory(const char* name, const char* title, const std::map<std::string, int>& allowedStates)
1306\brief \parblock \endparblock
1307\htmlonly
1308<div class="pyrootbox">
1309\endhtmlonly
1310## PyROOT
1311The RooCategory constructor is pythonized for converting python dict to std::map.
1312The instances in the dict must correspond to the template argument in std::map of the constructor.
1313\htmlonly
1314</div>
1315\endhtmlonly
1316
1317\class RooChi2Var
1318\brief \parblock \endparblock
1319\htmlonly
1320<div class="pyrootbox">
1321\endhtmlonly
1322## PyROOT
1323Constructor of RooChi2Var takes a RooCmdArg as argument also supports keyword arguments.
1324\htmlonly
1325</div>
1326\endhtmlonly
1327
1328\fn RooChi2Var(const char* name, const char* title, RooAbsReal& func, RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
1329\brief \parblock \endparblock
1330\htmlonly
1331<div class="pyrootbox">
1332\endhtmlonly
1333## PyROOT
1334The RooCategory constructor is pythonized for converting python dict to std::map.
1335The keywords must correspond to the CmdArg of the constructor function.
1336\htmlonly
1337</div>
1338\endhtmlonly
1339
1340\fn RooChi2Var(const char* name, const char* title, RooAbsPdf& pdf, RooDataHist& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
1341\brief \parblock \endparblock
1342\htmlonly
1343<div class="pyrootbox">
1344\endhtmlonly
1345## PyROOT
1346The RooCategory constructor is pythonized for converting python dict to std::map.
1347The keywords must correspond to the CmdArg of the constructor function.
1348\htmlonly
1349</div>
1350\endhtmlonly
1351
1352\class RooDataHist
1353\brief \parblock \endparblock
1354\htmlonly
1355<div class="pyrootbox">
1356\endhtmlonly
1357## PyROOT
1358Constructor of RooDataHist takes a RooCmdArg as argument also supports keyword arguments.
1359For example, the following code is equivalent in PyROOT:
1360\code{.py}
1361# Directly passing a RooCmdArg:
1362dh = ROOT.RooDataHist("dh", "dh", ROOT.RooArgList(x), ROOT.RooFit.Import("SampleA", histo))
1363
1364# With keyword arguments:
1365dh = ROOT.RooDataHist("dh", "dh", ROOT.RooArgList(x), Import=("SampleA", histo))
1366\endcode
1367\htmlonly
1368</div>
1369\endhtmlonly
1370
1371\fn RooDataHist(std::string_view name, std::string_view title, const RooArgList& vars, RooCategory& indexCat, std::map<std::string,TH1*> histMap, Double_t initWgt)
1372\brief \parblock \endparblock
1373\htmlonly
1374<div class="pyrootbox">
1375\endhtmlonly
1376## PyROOT
1377The RooDataHist constructor is pythonized with the command argument pythonization and for converting python dict to std::map.
1378The keywords must correspond to the CmdArg of the constructor function.
1379The instances in dict must correspond to the template argument in std::map of the constructor.
1380\htmlonly
1381</div>
1382\endhtmlonly
1383
1384\fn RooDataHist(std::string_view name, std::string_view title, const RooArgList& vars, RooCategory& indexCat, std::map<std::string,RooDataHist*> dhistMap, Double_t wgt)
1385\brief \parblock \endparblock
1386\htmlonly
1387<div class="pyrootbox">
1388\endhtmlonly
1389## PyROOT
1390The RooDataHist constructor is pythonized with the command argument pythonization and for converting python dict to std::map.
1391The keywords must correspond to the CmdArg of the constructor function.
1392The instances in dict must correspond to the template argument in std::map of the constructor.
1393\htmlonly
1394</div>
1395\endhtmlonly
1396
1397\class RooDataSet
1398\brief \parblock \endparblock
1399\htmlonly
1400<div class="pyrootbox">
1401\endhtmlonly
1402## PyROOT
1403Some member functions of RooDataSet that take a RooCmdArg as argument also support keyword arguments.
1404So far, this applies to RooDataSet() constructor and RooDataSet::plotOnXY.
1405For example, the following code is equivalent in PyROOT:
1406\code{.py}
1407# Directly passing a RooCmdArg:
1408dxy = ROOT.RooDataSet("dxy", "dxy", ROOT.RooArgSet(x, y), ROOT.RooFit.StoreError(ROOT.RooArgSet(x, y)))
1409
1410# With keyword arguments:
1411dxy = ROOT.RooDataSet("dxy", "dxy", ROOT.RooArgSet(x, y), StoreError=(ROOT.RooArgSet(x, y)))
1412\endcode
1413\htmlonly
1414</div>
1415\endhtmlonly
1416
1417\fn RooDataSet(std::string_view name, std::string_view title, const RooArgSet& vars, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5, const RooCmdArg& arg6,const RooCmdArg& arg7,const RooCmdArg& arg8)
1418\brief \parblock \endparblock
1419\htmlonly
1420<div class="pyrootbox">
1421\endhtmlonly
1422## PyROOT
1423The RooDataSet constructor is pythonized with the command argument pythonization.
1424The keywords must correspond to the CmdArgs of the constructor.
1425\htmlonly
1426</div>
1427\endhtmlonly
1428
1429\fn RooDataSet::plotOnXY(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8) const
1430\brief \parblock \endparblock
1431\htmlonly
1432<div class="pyrootbox">
1433\endhtmlonly
1434## PyROOT
1435The RooDataSet::plotOnXY() function is pythonized with the command argument pythonization.
1436The keywords must correspond to the CmdArgs of the function.
1437\htmlonly
1438</div>
1439\endhtmlonly
1440
1441\class RooDecay
1442\brief \parblock \endparblock
1443\htmlonly
1444<div class="pyrootbox">
1445\endhtmlonly
1446## PyROOT
1447Some constructors of classes like RooDecay, RooBDecay, RooBCPGenDecay, RooBCPEffDecay and RooBMixDecay that take an enum
1448DecayType as argument also support keyword arguments.
1449For example, the following code is equivalent in PyROOT:
1450\code{.py}
1451# Directly passing keyword argument with string corresponding to enum value name:
1452decay_tm = ROOT.RooDecay("decay_tm", "decay", dt, tau, tm, ROOT.RooDecay.DoubleSided)
1453
1454# With enum value:
1455decay_tm = ROOT.RooDecay("decay_tm", "decay", dt, tau, tm, type="DoubleSided")
1456\endcode
1457\htmlonly
1458</div>
1459\endhtmlonly
1460
1461\fn RooDecay(const char *name, const char *title, RooRealVar& t, RooAbsReal& tau, const RooResolutionModel& model, DecayType type)
1462\brief \parblock \endparblock
1463\htmlonly
1464<div class="pyrootbox">
1465\endhtmlonly
1466## PyROOT
1467The RooDecay constructor is pythonized with enum values.
1468\htmlonly
1469</div>
1470\endhtmlonly
1471
1472\class RooGenFitStudy
1473\brief \parblock \endparblock
1474\htmlonly
1475<div class="pyrootbox">
1476\endhtmlonly
1477## PyROOT
1478Some member functions of RooGenFitStudy that take a RooCmdArg as argument also support keyword arguments.
1479So far, this applies to RooGenFitStudy::setGenConfig.
1480\htmlonly
1481</div>
1482\endhtmlonly
1483
1484\fn RooGenFitStudy::setGenConfig(const char* pdfName, const char* obsName, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3)
1485\brief \parblock \endparblock
1486\htmlonly
1487<div class="pyrootbox">
1488\endhtmlonly
1489## PyROOT
1490The RooGenFitStudy::setGenConfig() function is pythonized with the command argument pythonization.
1491The keywords must correspond to the CmdArg of the function.
1492\htmlonly
1493</div>
1494\endhtmlonly
1495
1496\fn RooGenFitStudy::setFitConfig(const char* pdfName, const char* obsName, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3)
1497\brief \parblock \endparblock
1498\htmlonly
1499<div class="pyrootbox">
1500\endhtmlonly
1501## PyROOT
1502The RooGenFitStudy::setGenConfig() function is pythonized with the command argument pythonization.
1503The keywords must correspond to the CmdArg of the function.
1504\htmlonly
1505</div>
1506\endhtmlonly
1507
1508\class RooMCStudy
1509\brief \parblock \endparblock
1510\htmlonly
1511<div class="pyrootbox">
1512\endhtmlonly
1513## PyROOT
1514Some member functions of RooMCStudy that take a RooCmdArg as argument also support keyword arguments.
1515So far, this applies to constructor RooMCStudy(), RooMCStudy::plotParamOn, RooMCStudy::plotParam, RooMCStudy::plotNLL, RooMCStudy::plotError and RooMCStudy::plotPull.
1516For example, the following code is equivalent in PyROOT:
1517\code{.py}
1518# Directly passing a RooCmdArg:
1519frame3 = mcstudy.plotPull(mean, ROOT.RooFit.Bins(40), ROOT.RooFit.FitGauss(True))
1520
1521# With keyword arguments:
1522frame3 = mcstudy.plotPull(mean, Bins=40, FitGauss=True)
1523\endcode
1524\htmlonly
1525</div>
1526\endhtmlonly
1527
1528\fn RooMCStudy(const RooAbsPdf& model, const RooArgSet& observables, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1529\brief \parblock \endparblock
1530\htmlonly
1531<div class="pyrootbox">
1532\endhtmlonly
1533## PyROOT
1534The RooMCStudy constructor is pythonized with the command argument pythonization.
1535The keywords must correspond to the CmdArg of the constructor function.
1536\htmlonly
1537</div>
1538\endhtmlonly
1539
1540\fn RooMCStudy::plotError(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1541\brief \parblock \endparblock
1542\htmlonly
1543<div class="pyrootbox">
1544\endhtmlonly
1545## PyROOT
1546The RooMCStudy::plotError() function is pythonized with the command argument pythonization.
1547The keywords must correspond to the CmdArg of the function.
1548\htmlonly
1549</div>
1550\endhtmlonly
1551
1552\fn RooMCStudy::plotNLL(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1553\brief \parblock \endparblock
1554\htmlonly
1555<div class="pyrootbox">
1556\endhtmlonly
1557## PyROOT
1558The RooMCStudy::plotNLL() function is pythonized with the command argument pythonization.
1559The keywords must correspond to the CmdArg of the function.
1560\htmlonly
1561</div>
1562\endhtmlonly
1563
1564\fn RooMCStudy::plotParam(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1565\brief \parblock \endparblock
1566\htmlonly
1567<div class="pyrootbox">
1568\endhtmlonly
1569## PyROOT
1570The RooMCStudy::plotParam() function is pythonized with the command argument pythonization.
1571The keywords must correspond to the CmdArg of the function.
1572\htmlonly
1573</div>
1574\endhtmlonly
1575
1576\fn RooMCStudy::plotParam(const char* paramName, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1577\brief \parblock \endparblock
1578\htmlonly
1579<div class="pyrootbox">
1580\endhtmlonly
1581## PyROOT
1582The RooMCStudy::plotParam() function is pythonized with the command argument pythonization.
1583The keywords must correspond to the CmdArg of the function.
1584\htmlonly
1585</div>
1586\endhtmlonly
1587
1588\fn RooMCStudy::plotParamOn(RooPlot* frame, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1589\brief \parblock \endparblock
1590\htmlonly
1591<div class="pyrootbox">
1592\endhtmlonly
1593## PyROOT
1594The RooMCStudy::plotParamOn() function is pythonized with the command argument pythonization.
1595The keywords must correspond to the CmdArg of the function.
1596\htmlonly
1597</div>
1598\endhtmlonly
1599
1600\fn RooMCStudy::plotPull(const RooRealVar& param, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1601\brief \parblock \endparblock
1602\htmlonly
1603<div class="pyrootbox">
1604\endhtmlonly
1605## PyROOT
1606The RooMCStudy::plotError() function is pythonized with the command argument pythonization.
1607The keywords must correspond to the CmdArg of the function.
1608\htmlonly
1609</div>
1610\endhtmlonly
1611
1612\class RooMsgService
1613\brief \parblock \endparblock
1614\htmlonly
1615<div class="pyrootbox">
1616\endhtmlonly
1617## PyROOT
1618Some member functions of RooMsgService that take a RooCmdArg as argument also support keyword arguments.
1619So far, this applies to RooMsgService::addStream.
1620For example, the following code is equivalent in PyROOT:
1621\code{.py}
1622# Directly passing a RooCmdArg:
1623ROOT.RooMsgService.instance().addStream(ROOT.RooFit.DEBUG, ROOT.RooFit.Topic(ROOT.RooFit.Tracing), ROOT.RooFit.ClassName("RooGaussian"))
1624
1625# With keyword arguments:
1626ROOT.RooMsgService.instance().addStream(ROOT.RooFit.DEBUG, Topic = ROOT.RooFit.Tracing, ClassName = "RooGaussian")
1627\endcode
1628\htmlonly
1629</div>
1630\endhtmlonly
1631
1632\fn RooMsgService::addStream(RooFit::MsgLevel level, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6)
1633\brief \parblock \endparblock
1634\htmlonly
1635<div class="pyrootbox">
1636\endhtmlonly
1637## PyROOT
1638The RooMsgService::addStream() function is pythonized with the command argument pythonization.
1639The keywords must correspond to the CmdArg of the function.
1640\htmlonly
1641</div>
1642\endhtmlonly
1643
1644\class RooNLLVar
1645\brief \parblock \endparblock
1646\htmlonly
1647<div class="pyrootbox">
1648\endhtmlonly
1649## PyROOT
1650RooNLLVar() constructor takes a RooCmdArg as argument also supports keyword arguments.
1651\htmlonly
1652</div>
1653\endhtmlonly
1654
1655\fn RooNLLVar(const char* name, const char* title, RooAbsPdf& pdf, RooAbsData& data, const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8,const RooCmdArg& arg9)
1656\brief \parblock \endparblock
1657\htmlonly
1658<div class="pyrootbox">
1659\endhtmlonly
1660## PyROOT
1661The RooNLLVar constructor is pythonized with the command argument pythonization.
1662The keywords must correspond to the CmdArg of the constructor function.
1663\htmlonly
1664</div>
1665\endhtmlonly
1666
1667\class RooProdPdf
1668\brief \parblock \endparblock
1669\htmlonly
1670<div class="pyrootbox">
1671\endhtmlonly
1672## PyROOT
1673RooProdPdf() constructor takes a RooCmdArg as argument also supports keyword arguments.
1674For example, the following code is equivalent in PyROOT:
1675\code{.py}
1676# Directly passing a RooCmdArg:
1677model = ROOT.RooProdPdf(
1678 "model", "model", ROOT.RooArgSet(shapePdf), ROOT.RooFit.Conditional(ROOT.RooArgSet(effPdf), ROOT.RooArgSet(cut))
1679 )
1680
1681# With keyword arguments:
1682model = ROOT.RooProdPdf(
1683 "model", "model", ROOT.RooArgSet(shapePdf), Conditional=(ROOT.RooArgSet(effPdf), ROOT.RooArgSet(cut))
1684 )
1685\endcode
1686\htmlonly
1687</div>
1688\endhtmlonly
1689
1690\fn RooProdPdf(const char* name, const char* title, const RooArgSet& fullPdfSet, const RooCmdArg& arg1 , const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1691\brief \parblock \endparblock
1692\htmlonly
1693<div class="pyrootbox">
1694\endhtmlonly
1695## PyROOT
1696The RooProdPdf constructor is pythonized with the command argument pythonization.
1697The keywords must correspond to the CmdArgs of the constructor.
1698\htmlonly
1699</div>
1700\endhtmlonly
1701
1702\class RooSimultaneous
1703\brief \parblock \endparblock
1704\htmlonly
1705<div class="pyrootbox">
1706\endhtmlonly
1707## PyROOT
1708Some member functions of RooSimultaneous that take a RooCmdArg as argument also support keyword arguments.
1709So far, this applies to RooSimultaneous::plotOn.
1710For example, the following code is equivalent in PyROOT:
1711\code{.py}
1712# Directly passing a RooCmdArg:
1713pdfSim.plotOn(frame, ROOT.RooFit.Slice(sample,"control"), ROOT.RooFit.ProjWData(sampleSet, combData))
1714
1715# With keyword arguments:
1716simPdf.plotOn(frame, Slice=(sample, "control"), ProjWData=(sampleSet, combData))
1717\endcode
1718\htmlonly
1719</div>
1720\endhtmlonly
1721
1722\fn RooSimultaneous(const char *name, const char *title, std::map<std::string,RooAbsPdf*> pdfMap, RooAbsCategoryLValue& inIndexCat)
1723\brief \parblock \endparblock
1724\htmlonly
1725<div class="pyrootbox">
1726\endhtmlonly
1727## PyROOT
1728The RooSimultaneous constructor that takes a map of category names
1729to PDFs is accepting a Python dictionary in Python.
1730\htmlonly
1731</div>
1732\endhtmlonly
1733
1734\fn RooSimultaneous::plotOn(RooPlot* frame, const RooCmdArg& arg1 , const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9, const RooCmdArg& arg10) const
1735\brief \parblock \endparblock
1736\htmlonly
1737<div class="pyrootbox">
1738\endhtmlonly
1739## PyROOT
1740The RooSimultaneous::plotOn() function is pythonized with the command argument pythonization.
1741The keywords must correspond to the CmdArgs of the function.
1742\htmlonly
1743</div>
1744\endhtmlonly
1745
1746\class RooSimWSTool
1747\brief \parblock \endparblock
1748\htmlonly
1749<div class="pyrootbox">
1750\endhtmlonly
1751## PyROOT
1752Some member functions of RooSimWSTool that take a RooCmdArg as argument also support keyword arguments.
1753So far, this applies to RooSimWSTool::build.
1754For example, the following code is equivalent in PyROOT:
1755\code{.py}
1756# Directly passing a RooCmdArg:
1757sct.build("model_sim2", "model", ROOT.RooFit.SplitParam("p0", "c,d"))
1758
1759# With keyword arguments:
1760sct.build("model_sim2", "model", SplitParam=("p0", "c,d"))
1761\endcode
1762\htmlonly
1763</div>
1764\endhtmlonly
1765
1766\fn RooSimWSTool::build(const char* simPdfName, const char* protoPdfName, const RooCmdArg& arg1,const RooCmdArg& arg2, const RooCmdArg& arg3,const RooCmdArg& arg4, const RooCmdArg& arg5,const RooCmdArg& arg6)
1767\brief \parblock \endparblock
1768\htmlonly
1769<div class="pyrootbox">
1770\endhtmlonly
1771## PyROOT
1772The RooSimWSTool::build() function is pythonized with the command argument pythonization.
1773The keywords must correspond to the CmdArgs of the function.
1774\htmlonly
1775</div>
1776\endhtmlonly
1777
1778\class RooWorkspace
1779\brief \parblock \endparblock
1780\htmlonly
1781<div class="pyrootbox">
1782\endhtmlonly
1783## PyROOT
1784The RooWorkspace::import function can't be used in PyROOT because `import` is a reserved python keyword.
1785For this reason, an alternative with a capitalized name is provided:
1786\code{.py}
1787workspace.Import(x)
1788\endcode
1789\htmlonly
1790</div>
1791\endhtmlonly
1792
1793\fn RooWorkspace::import(const RooAbsArg& arg, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
1794\brief \parblock \endparblock
1795\htmlonly
1796<div class="pyrootbox">
1797\endhtmlonly
1798## PyROOT
1799Support the C++ `import()` as `Import()` in python
1800\htmlonly
1801</div>
1802\endhtmlonly
1803
1804\fn RooWorkspace::import(RooAbsData& data, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
1805\brief \parblock \endparblock
1806\htmlonly
1807<div class="pyrootbox">
1808\endhtmlonly
1809## PyROOT
1810Support the C++ `import()` as `Import()` in python
1811\htmlonly
1812</div>
1813\endhtmlonly
1814
1815\fn RooWorkspace::import(const char *fileSpec, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
1816\brief \parblock \endparblock
1817\htmlonly
1818<div class="pyrootbox">
1819\endhtmlonly
1820## PyROOT
1821Support the C++ `import()` as `Import()` in python
1822\htmlonly
1823</div>
1824\endhtmlonly
1825
1826\fn RooWorkspace::import(const RooAbsArg& arg, const RooCmdArg& arg1,const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6, const RooCmdArg& arg7,const RooCmdArg& arg8,const RooCmdArg& arg9)
1827\brief \parblock \endparblock
1828\htmlonly
1829<div class="pyrootbox">
1830\endhtmlonly
1831## PyROOT
1832The RooWorkspace constructor is pythonized with the command argument pythonization.
1833The keywords must correspond to the CmdArgs of the constructor.
1834\htmlonly
1835</div>
1836\endhtmlonly
1837
1838\class RooStats::SPlot
1839\brief \parblock \endparblock
1840\htmlonly
1841<div class="pyrootbox">
1842\endhtmlonly
1843## PyROOT
1844The constructor of RooStats::SPlot takes RooCmdArg as arguments also support keyword arguments.
1845This also applies to SPlot::AddSWeights. For example, the following code is equivalent in PyROOT:
1846\code{.py}
1847# Directly passing a RooCmdArg:
1848RooStats.SPlot(data, ROOT.RooStats.RooCmdArg("Strategy", 0))
1849
1850# With keyword arguments:
1851RooStats.SPlot(data, Strategy = 0)
1852\endcode
1853\htmlonly
1854</div>
1855\endhtmlonly
1856
1857\fn SPlot::AddSWeight( RooAbsPdf* pdf, const RooArgList &yieldsTmp, const RooArgSet &projDeps, bool includeWeights, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)
1858\brief \parblock \endparblock
1859\htmlonly
1860<div class="pyrootbox">
1861\endhtmlonly
1862## PyROOT
1863The SPlot::AddSWeight function is pythonized with the command argument pythonization.
1864For example, the following code is equivalent in PyROOT:
1865\code{.py}
1866
1867splot = ROOT.RooStats.SPlot("sData", "An SPlot", data, massModel, [zYield, qcdYield])
1868
1869# Directly passing a RooCmdArg:
1870splot.AddSWeight(pdf, [zYield, qcdYield], ROOT.RooStats.RooCmdArg("Strategy", 0), ROOT.RooStats.RooCmdArg("InitialHesse", 1))
1871
1872# With keyword arguments:
1873splot.AddSWeight(pdf, [zYield, qcdYield], Strategy=3, InitialHesse=1)
1874\endcode
1875\htmlonly
1876</div>
1877\endhtmlonly
1878
1879\fn SPlot::SPlot(const char* name, const char* title, RooDataSet& data, RooAbsPdf* pdf, const RooArgList &yieldsList, const RooArgSet &projDeps, bool useWeights, bool cloneData, const char* newName, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8):TNamed(name, title)
1880\brief \parblock \endparblock
1881\htmlonly
1882<div class="pyrootbox">
1883\endhtmlonly
1884## PyROOT
1885The SPlot constructor is pythonized with the command argument pythonization.
1886The keywords must correspond to the CmdArgs of the constructor. The constructor automatically calls AddSWeight() with the given RooCmdArg
1887
1888For example, the following code is equivalent in PyROOT:
1889\code{.py}
1890# Directly passing a RooCmdArg:
1891sData = ROOT.RooStats.SPlot("sData", "An SPlot", data, massModel, [zYield, qcdYield], ROOT.RooStats.RooCmdArg("Strategy", 0))
1892
1893# With keyword arguments:
1894sData = ROOT.RooStats.SPlot("sData", "An SPlot", data, massModel, [zYield, qcdYield], Strategy=0)
1895\endcode
1896\htmlonly
1897</div>
1898\endhtmlonly
1899
1900\fn RooFit::DataError(Int_t)
1901\brief \parblock \endparblock
1902\htmlonly
1903<div class="pyrootbox">
1904\endhtmlonly
1905## PyROOT
1906Instead of passing an enum value to this function, you can pass a
1907string with the name of that enum value, for example:
1908
1909~~~ {.py}
1910 data.plotOn(frame, DataError="SumW2")
1911 # instead of DataError=ROOT.RooAbsData.SumW2
1912~~~
1913
1914If you want to use the `"None"` enum value to disable error plotting, you
1915can also pass `None` directly instead of passing a string:
1916
1917~~~ {.py}
1918 data.plotOn(frame, DataError=None)
1919 # instead of DataError="None"
1920~~~
1921\htmlonly
1922</div>
1923\endhtmlonly
1924
1925\fn RooFit::FitOptions(const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3,const RooCmdArg& arg4,const RooCmdArg& arg5,const RooCmdArg& arg6)
1926\brief \parblock \endparblock
1927\htmlonly
1928<div class="pyrootbox">
1929\endhtmlonly
1930## PyROOT
1931The FitOptions() function is pythonized with the command argument pythonization.
1932The keywords must correspond to the CmdArg of the function.
1933\htmlonly
1934</div>
1935\endhtmlonly
1936
1937\fn RooFit::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)
1938\brief \parblock \endparblock
1939\htmlonly
1940<div class="pyrootbox">
1941\endhtmlonly
1942## PyROOT
1943The Format() function is pythonized with the command argument pythonization.
1944The keywords must correspond to the CmdArg of the function.
1945\htmlonly
1946</div>
1947\endhtmlonly
1948
1949\fn RooFit::Frame(const RooCmdArg& arg1, const RooCmdArg& arg2,const RooCmdArg& arg3, const RooCmdArg& arg4,const RooCmdArg& arg5, const RooCmdArg& arg6)
1950\brief \parblock \endparblock
1951\htmlonly
1952<div class="pyrootbox">
1953\endhtmlonly
1954## PyROOT
1955The Frame() function is pythonized with the command argument pythonization.
1956The keywords must correspond to the CmdArg of the function.
1957\htmlonly
1958</div>
1959\endhtmlonly
1960
1961\fn RooFit::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)
1962\brief \parblock \endparblock
1963\htmlonly
1964<div class="pyrootbox">
1965\endhtmlonly
1966## PyROOT
1967The MultiArg() function is pythonized with the command argument pythonization.
1968The keywords must correspond to the CmdArg of the function.
1969\htmlonly
1970</div>
1971\endhtmlonly
1972
1973\fn RooFit::YVar(const RooAbsRealLValue& var, const RooCmdArg& arg)
1974\brief \parblock \endparblock
1975\htmlonly
1976<div class="pyrootbox">
1977\endhtmlonly
1978## PyROOT
1979The YVar() function is pythonized with the command argument pythonization.
1980The keywords must correspond to the CmdArg of the function.
1981\htmlonly
1982</div>
1983\endhtmlonly
1984
1985\fn RooFit::ZVar(const RooAbsRealLValue& var, const RooCmdArg& arg)
1986\brief \parblock \endparblock
1987\htmlonly
1988<div class="pyrootbox">
1989\endhtmlonly
1990## PyROOT
1991The ZVar() function is pythonized with the command argument pythonization.
1992The keywords must correspond to the CmdArg of the function.
1993\htmlonly
1994</div>
1995\endhtmlonly
1996
1997\fn RooFit::Slice(std::map<RooCategory*, std::string> const&)
1998\brief \parblock \endparblock
1999\htmlonly
2000<div class="pyrootbox">
2001\endhtmlonly
2002## PyROOT
2003The Slice function is pythonized for converting python dict to std::map.
2004The keywords must correspond to the CmdArg of the function.
2005The instances in the dict must correspond to the template argument in std::map of the function.
2006\htmlonly
2007</div>
2008\endhtmlonly
2009
2010\fn RooFit::Import(const std::map<std::string,RooDataSet*>& )
2011\brief \parblock \endparblock
2012\htmlonly
2013<div class="pyrootbox">
2014\endhtmlonly
2015## PyROOT
2016The Import function is pythonized for converting python dict to std::map.
2017The keywords must correspond to the CmdArg of the function.
2018The instances in the dict must correspond to the template argument in std::map of the function.
2019\htmlonly
2020</div>
2021\endhtmlonly
2022
2023\fn RooFit::Import(const std::map<std::string,TH1*>&)
2024\brief \parblock \endparblock
2025\htmlonly
2026<div class="pyrootbox">
2027\endhtmlonly
2028## PyROOT
2029The Import function is pythonized for converting python dict to std::map.
2030The keywords must correspond to the CmdArg of the function.
2031The instances in the dict must correspond to the template argument in std::map of the function.
2032\htmlonly
2033</div>
2034\endhtmlonly
2035
2036\fn RooFit::Import(const std::map<std::string,RooDataHist*>&)
2037\brief \parblock \endparblock
2038\htmlonly
2039<div class="pyrootbox">
2040\endhtmlonly
2041## PyROOT
2042The Import function is pythonized for converting python dict to std::map.
2043The keywords must correspond to the CmdArg of the function.
2044The instances in the dict must correspond to the template argument in std::map of the function.
2045\htmlonly
2046</div>
2047\endhtmlonly
2048
2049\fn RooFit::Link(const std::map<std::string,RooAbsData*>&)
2050\brief \parblock \endparblock
2051\htmlonly
2052<div class="pyrootbox">
2053\endhtmlonly
2054## PyROOT
2055The Link function is pythonized for converting python dict to std::map.
2056The keywords must correspond to the CmdArg of the function.
2057The instances in the dict must correspond to the template argument in std::map of the function.
2058\htmlonly
2059</div>
2060\endhtmlonly
2061
2062*/