Belle II Software
development
MakeDumHSLBData.py
1
#!/usr/bin/env python3
2
3
10
11
24
25
import
basf2
as
b2
26
27
# Set the log level to show only error and fatal messages
28
# set_log_level(LogLevel.ERROR)
29
b2.set_log_level(b2.LogLevel.INFO)
30
31
# input
32
input = b2.register_module(
'SeqRootInput'
)
33
# input.param('inputFileName', '/x02/data/e0000r000554.sroot')
34
35
# output
36
output = b2.register_module(
'MakeDumHSLBData'
)
37
38
prog = b2.register_module(
'Progress'
)
39
40
# Create main path
41
main = b2.create_path()
42
43
# Add modules to main path
44
main.add_module(input)
45
main.add_module(output)
46
main.add_module(prog)
47
48
# Process all events
49
b2.process(main)
rawdata
examples
MakeDumHSLBData.py
Generated on Tue Nov 12 2024 02:40:46 for Belle II Software by
1.9.6