Belle II Software development
sampleMuMu.py
1#!/usr/bin/env python
2
3
10
11import basf2
12
13# from beamparameters import add_beamparameters
14from generators import add_kkmc_generator
15from simulation import add_simulation
16
17main = basf2.create_path()
18
19main.add_module("EventInfoSetter")
20# add_beamparameters(main, "Y4S")
21main.add_module('Gearbox')
22main.add_module('Geometry')
23
24add_kkmc_generator(main, 'mu-mu+')
25
26add_simulation(main)
27
28main.add_module("RootOutput")
29main.add_module("Progress")
30
31basf2.process(main)
32print(basf2.statistics)