14from generators
import add_evtgen_generator
17basf2.conditions.metadata_providers = [
"/sw/belle/b2bii/database/conditions/b2bii.sqlite"]
18basf2.conditions.payload_locations = [
"/sw/belle/b2bii/database/conditions/"]
21basf2.conditions.override_globaltags()
22basf2.conditions.prepend_globaltag(
'b2bii_beamParameters_with_smearing')
25main = basf2.create_path()
28main.add_module(
'EventInfoSetter', expList=55, runList=0, evtNumList=100)
31add_evtgen_generator(path=main, finalstate=
'charged')
34main.add_module(
'BelleMCOutput', outputFileName=
'charged.dat')
37main.add_module(
'Progress')
43print(basf2.statistics)