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