Belle II Software development
010_first_steering_file.py
1#!/usr/bin/env python3
2
3import basf2 as b2
4import modularAnalysis as ma
5
6# create path
7main = b2.Path()
8
9# load input data from mdst/udst file
10ma.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)
16b2.process(main)