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