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