Belle II Software
development
runCDCDedxDQM.py
1
#!/usr/bin/env python3
2
3
10
11
20
21
import
basf2
as
b2
22
23
# main path
24
main = b2.create_path()
25
26
# read in a sample
27
input_file =
'B2Electrons.root'
28
main.add_module(
"RootInput"
, inputFileName=input_file)
29
30
# register the HistoManager and specify output file
31
main.add_module(
"HistoManager"
, histoFileName=
"CDCDedxDQM.root"
)
32
33
# run the DQM module
34
main.add_module(
"CDCDedxDQM"
)
35
36
# Process events
37
b2.process(main)
reconstruction
examples
runCDCDedxDQM.py
Generated on Tue Nov 12 2024 02:41:00 for Belle II Software by
1.9.6