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