Belle II Software
development
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
e
f
g
n
p
s
v
z
Enumerator
c
d
f
p
t
v
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Symbols
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
▼
Belle II Software
►
Topics
►
Namespaces
►
Classes
▼
Files
▼
File List
►
alignment
►
analysis
►
arich
►
b2bii
►
background
►
beast
►
calibration
►
cdc
►
daq
►
decfiles
►
display
►
dqm
►
ecl
►
framework
►
generators
►
geometry
►
hlt
►
ir
►
klm
►
masterclass
►
mdst
▼
mva
►
dataobjects
▼
examples
►
advanced
▼
basics
application_in_basf2.py
create_data_sample.py
usage_in_python.py
►
data_driven
►
keras
►
orthogonal_discriminators
►
python
►
tensorflow
►
tmva
►
torch
►
interface
►
methods
►
modules
►
scripts
►
tests
►
tools
►
utility
►
online_book
►
pxd
►
rawdata
►
reconstruction
►
simulation
►
site_scons
►
structure
►
svd
►
top
►
tracking
►
trg
►
validation
►
vxd
Doxygen.h
resource_analyzer.py
►
File Members
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
reconstruction_path(inputfiles)
Definition
create_data_sample.py:34
mva
examples
basics
application_in_basf2.py
Generated on Mon May 19 2025 18:00:24 for Belle II Software by
1.13.2