Belle II Software development
passthrough.py
1#!/usr/bin/env python3
2
3
10
11import basf2
12from softwaretrigger import constants
13from softwaretrigger.processing import setup_basf2_and_db, start_path, finalize_path, add_hlt_passthrough
14
15
16args = setup_basf2_and_db()
17
18path = start_path(args, location=constants.Location.hlt)
19add_hlt_passthrough(path)
20finalize_path(path, args, location=constants.Location.hlt)
21
22basf2.print_path(path)
23basf2.process(path, calculateStatistics=True)