Belle II Software  release-08-02-06
010_first_steering_file.py
1 #!/usr/bin/env python3
2 
3 import basf2 as b2
4 import modularAnalysis as ma
5 
6 # create path
7 main = b2.Path()
8 
9 # load input data from mdst/udst file
10 ma.inputMdstList(
11  filelist=[b2.find_file("starterkit/2021/1111540100_eph3_BGx0_0.root", "examples")],
12  path=main
13 )
14 
15 # start the event loop (actually start processing things)
16 b2.process(main)