Belle II Software
development
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 Tue Nov 12 2024 02:31:51 for Belle II Software by
1.9.6