Belle II Software development
RecvCOPPER.py
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3
4
11
12
25
26import basf2 as b2
27
28# Set the log level to show only error and fatal messages
29b2.set_log_level(b2.LogLevel.ERROR)
30b2.set_log_level(b2.LogLevel.INFO)
31
32# Modules
33reader = b2.register_module('DeSerializerCOPPER')
34
35# Create main path
36main = b2.create_path()
37
38# Add modules to main path
39main.add_module(reader)
40
41# Process all events
42b2.process(main)