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