Belle II Software development
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 FANNOptions():
24 '''
25 Wrapper around FANNOptions Belle2::MVA:FANNOptions().
26 '''
27 # Always avoid the top-level 'import ROOT'.
28 import ROOT # noqa
29 return ROOT.Belle2.MVA.FANNOptions()
30
31
32def FastBDTOptions():
33 '''
34 Wrapper around FastBDTOptions Belle2::MVA:FastBDTOptions().
35 '''
36 # Always avoid the top-level 'import ROOT'.
37 import ROOT # noqa
38 return ROOT.Belle2.MVA.FastBDTOptions()
39
40
41def GeneralOptions():
42 '''
43 Wrapper around GeneralOptions Belle2::MVA:GeneralOptions().
44 '''
45 import ROOT # noqa
46 return ROOT.Belle2.MVA.GeneralOptions()
47
48
49def MetaOptions():
50 '''
51 Wrapper around MetaOptions Belle2::MVA:MetaOptions().
52 '''
53 # Always avoid the top-level 'import ROOT'.
54 import ROOT # noqa
55 return ROOT.Belle2.MVA.MetaOptions()
56
57
58def PDFOptions():
59 '''
60 Wrapper around PDFOptions Belle2::MVA:PDFOptions().
61 '''
62 # Always avoid the top-level 'import ROOT'.
63 import ROOT # noqa
64 return ROOT.Belle2.MVA.PDFOptions()
65
66
67def PythonOptions():
68 '''
69 Wrapper around PythonOptions Belle2::MVA:PythonOptions().
70 '''
71 # Always avoid the top-level 'import ROOT'.
72 import ROOT # noqa
73 return ROOT.Belle2.MVA.PythonOptions()
74
75
76def RegressionFastBDTOptions():
77 '''
78 Wrapper around RegressionFastBDTOptions Belle2::MVA:RegressionFastBDTOptions().
79 '''
80 # Always avoid the top-level 'import ROOT'.
81 import ROOT # noqa
82 return ROOT.Belle2.MVA.RegressionFastBDTOptions()
83
84
85def ReweighterOptions():
86 '''
87 Wrapper around ReweighterOptions Belle2::MVA:ReweighterOptions().
88 '''
89 # Always avoid the top-level 'import ROOT'.
90 import ROOT # noqa
91 return ROOT.Belle2.MVA.ReweighterOptions()
92
93
94def TMVAOptionsClassification():
95 '''
96 Wrapper around TMVAOptionsClassification Belle2::MVA:TMVAOptionsClassification().
97 '''
98 # Always avoid the top-level 'import ROOT'.
99 import ROOT # noqa
100 return ROOT.Belle2.MVA.TMVAOptionsClassification()
101
102
103def TMVAOptionsMulticlass():
104 '''
105 Wrapper around TMVAOptionsMulticlass Belle2::MVA:TMVAOptionsMulticlass().
106 '''
107 # Always avoid the top-level 'import ROOT'.
108 import ROOT # noqa
109 return ROOT.Belle2.MVA.TMVAOptionsMulticlass()
110
111
112def TMVAOptionsRegression():
113 '''
114 Wrapper around TMVAOptionsRegression Belle2::MVA:TMVAOptionsRegression().
115 '''
116 # Always avoid the top-level 'import ROOT'.
117 import ROOT # noqa
118 return ROOT.Belle2.MVA.TMVAOptionsRegression()
119
120
121def TrivialOptions():
122 '''
123 Wrapper around TrivialOptions Belle2::MVA:TrivialOptions().
124 '''
125 # Always avoid the top-level 'import ROOT'.
126 import ROOT # noqa
127 return ROOT.Belle2.MVA.TrivialOptions()