Belle II Software
development
Toggle main menu visibility
Main Page
Modules
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
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 Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
sampleMuMu.py
1
#!/usr/bin/env python
2
3
10
11
import
basf2
12
13
# from beamparameters import add_beamparameters
14
from
generators
import
add_kkmc_generator
15
from
simulation
import
add_simulation
16
17
main = basf2.create_path()
18
19
main.add_module(
"EventInfoSetter"
)
20
# add_beamparameters(main, "Y4S")
21
main.add_module(
'Gearbox'
)
22
main.add_module(
'Geometry'
)
23
24
add_kkmc_generator(main,
'mu-mu+'
)
25
26
add_simulation(main)
27
28
main.add_module(
"RootOutput"
)
29
main.add_module(
"Progress"
)
30
31
basf2.process(main)
32
print(basf2.statistics)
alignment
examples
sampleMuMu.py
Generated on Wed Apr 9 2025 02:33:50 for Belle II Software by
1.9.6