Belle II Software
release-05-01-25
runCDCDedxDQM.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
16
17
import
os
18
from
basf2
import
*
19
20
# main path
21
main = create_path()
22
23
# read in a sample
24
input_file =
'B2Electrons.root'
25
main.add_module(
"RootInput"
, inputFileName=input_file)
26
27
# register the HistoManager and specify output file
28
main.add_module(
"HistoManager"
, histoFileName=
"CDCDedxDQM.root"
)
29
30
# run the DQM module
31
main.add_module(
"CDCDedxDQM"
)
32
33
# Process events
34
process(main)
reconstruction
examples
runCDCDedxDQM.py
Generated on Fri Nov 5 2021 03:57:02 for Belle II Software by
1.8.17