Belle II Software  release-06-00-14
beam_reco_sel.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 
4 
11 import basf2
12 from softwaretrigger import constants
13 from softwaretrigger.processing import setup_basf2_and_db, start_path, finalize_path, add_expressreco_processing
14 
15 args = setup_basf2_and_db()
16 
17 path = start_path(args, location=constants.Location.expressreco)
18 add_expressreco_processing(path, run_type=constants.RunTypes.beam, select_only_accepted_events=True)
19 finalize_path(path, args, location=constants.Location.expressreco)
20 
21 basf2.print_path(path)
22 basf2.process(path)