Belle II Software light-2609-luna
options.py
1
8
9'''
10Wrappers around options and interfaces defined within the Belle2::MVA namespace.
11'''
12
13
14def CombinationOptions():
15 '''
16 Wrapper around CombinationOptions Belle2::MVA:CombinationOptions().
17 '''
18 # Always avoid the top-level 'import ROOT'.
19 import ROOT # noqa
20 return ROOT.Belle2.MVA.CombinationOptions()
21
22
23def FastBDTOptions():
24 '''
25 Wrapper around FastBDTOptions Belle2::MVA:FastBDTOptions().
26 '''
27 # Always avoid the top-level 'import ROOT'.
28 import ROOT # noqa
29 return ROOT.Belle2.MVA.FastBDTOptions()
30
31
32def GeneralOptions():
33 '''
34 Wrapper around GeneralOptions Belle2::MVA:GeneralOptions().
35 '''
36 import ROOT # noqa
37 return ROOT.Belle2.MVA.GeneralOptions()
38
39
40def MetaOptions():
41 '''
42 Wrapper around MetaOptions Belle2::MVA:MetaOptions().
43 '''
44 # Always avoid the top-level 'import ROOT'.
45 import ROOT # noqa
46 return ROOT.Belle2.MVA.MetaOptions()
47
48
49def PDFOptions():
50 '''
51 Wrapper around PDFOptions Belle2::MVA:PDFOptions().
52 '''
53 # Always avoid the top-level 'import ROOT'.
54 import ROOT # noqa
55 return ROOT.Belle2.MVA.PDFOptions()
56
57
58def PythonOptions():
59 '''
60 Wrapper around PythonOptions Belle2::MVA:PythonOptions().
61 '''
62 # Always avoid the top-level 'import ROOT'.
63 import ROOT # noqa
64 return ROOT.Belle2.MVA.PythonOptions()
65
66
67def RegressionFastBDTOptions():
68 '''
69 Wrapper around RegressionFastBDTOptions Belle2::MVA:RegressionFastBDTOptions().
70 '''
71 # Always avoid the top-level 'import ROOT'.
72 import ROOT # noqa
73 return ROOT.Belle2.MVA.RegressionFastBDTOptions()
74
75
76def ReweighterOptions():
77 '''
78 Wrapper around ReweighterOptions Belle2::MVA:ReweighterOptions().
79 '''
80 # Always avoid the top-level 'import ROOT'.
81 import ROOT # noqa
82 return ROOT.Belle2.MVA.ReweighterOptions()
83
84
85def TMVAOptionsClassification():
86 '''
87 Wrapper around TMVAOptionsClassification Belle2::MVA:TMVAOptionsClassification().
88 '''
89 # Always avoid the top-level 'import ROOT'.
90 import ROOT # noqa
91 return ROOT.Belle2.MVA.TMVAOptionsClassification()
92
93
94def TMVAOptionsMulticlass():
95 '''
96 Wrapper around TMVAOptionsMulticlass Belle2::MVA:TMVAOptionsMulticlass().
97 '''
98 # Always avoid the top-level 'import ROOT'.
99 import ROOT # noqa
100 return ROOT.Belle2.MVA.TMVAOptionsMulticlass()
101
102
103def TMVAOptionsRegression():
104 '''
105 Wrapper around TMVAOptionsRegression Belle2::MVA:TMVAOptionsRegression().
106 '''
107 # Always avoid the top-level 'import ROOT'.
108 import ROOT # noqa
109 return ROOT.Belle2.MVA.TMVAOptionsRegression()
110
111
112def TrivialOptions():
113 '''
114 Wrapper around TrivialOptions Belle2::MVA:TrivialOptions().
115 '''
116 # Always avoid the top-level 'import ROOT'.
117 import ROOT # noqa
118 return ROOT.Belle2.MVA.TrivialOptions()
119
120
121def ONNXOptions():
122 '''
123 Wrapper around ONNXOptions Belle2::MVA:ONNXOptions().
124 '''
125 # Always avoid the top-level 'import ROOT'.
126 import ROOT # noqa
127 return ROOT.Belle2.MVA.ONNXOptions()