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