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