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