Belle II Software  release-06-02-00
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  environmentType="default",
12  filelist=[b2.find_file("starterkit/2021/1111540100_eph3_BGx0_0.root", "examples")],
13  path=main
14 )
15 
16 # Start the event loop (actually start processing things)
17 b2.process(main)