Belle II Software
release-05-01-25
sampleMuMu.py
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
4
import
basf2
5
from
ROOT
import
Belle2
6
7
from
beamparameters
import
add_beamparameters
8
from
generators
import
add_kkmc_generator
9
from
simulation
import
add_simulation
10
from
L1trigger
import
add_tsim
11
12
main = basf2.create_path()
13
14
main.add_module(
"EventInfoSetter"
)
15
# add_beamparameters(main, "Y4S")
16
main.add_module(
'Gearbox'
)
17
main.add_module(
'Geometry'
)
18
19
add_kkmc_generator(main,
'mu-mu+'
)
20
21
add_simulation(main)
22
add_tsim(main)
23
24
main.add_module(
"RootOutput"
)
25
main.add_module(
"Progress"
)
26
27
basf2.process
(main)
28
print(basf2.statistics)
basf2.process
def process(path, max_event=0)
Definition:
__init__.py:25
alignment
examples
sampleMuMu.py
Generated on Fri Nov 5 2021 03:44:48 for Belle II Software by
1.8.17