Belle II Software
release-06-02-00
sampleMuMu.py
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
4
11
12
import
basf2
13
14
# from beamparameters import add_beamparameters
15
from
generators
import
add_kkmc_generator
16
from
simulation
import
add_simulation
17
18
main = basf2.create_path()
19
20
main.add_module(
"EventInfoSetter"
)
21
# add_beamparameters(main, "Y4S")
22
main.add_module(
'Gearbox'
)
23
main.add_module(
'Geometry'
)
24
25
add_kkmc_generator(main,
'mu-mu+'
)
26
27
add_simulation(main)
28
29
main.add_module(
"RootOutput"
)
30
main.add_module(
"Progress"
)
31
32
basf2.process(main)
33
print(basf2.statistics)
alignment
examples
sampleMuMu.py
Generated on Thu Dec 28 2023 02:16:51 for Belle II Software by
1.9.1