Belle II Software
light-2406-ragdoll
application_in_basf2.py
1
#!/usr/bin/env python3
2
3
10
11
# Use training in a basf2 path
12
# Run basics/*.py before
13
14
import
basf2
as
b2
15
import
modularAnalysis
as
ma
16
import
create_data_sample
17
18
if
__name__ ==
"__main__"
:
19
path =
create_data_sample.reconstruction_path
([b2.find_file(
'Dst2D0pi.root'
,
'examples'
,
False
)])
20
path.add_module(
'MVAExpert'
, listNames=[
'D0'
], extraInfoName=
'Test'
, identifier=
'weightfile.root'
)
21
ma.variablesToNtuple(
'D0'
, [
'isSignal'
,
'extraInfo(Test)'
], path=path)
22
b2.process(path)
create_data_sample.reconstruction_path
def reconstruction_path(inputfiles)
Definition:
create_data_sample.py:34
mva
examples
basics
application_in_basf2.py
Generated on Tue Jul 9 2024 23:29:49 for Belle II Software by
1.9.6