Belle II Software
release-08-01-10
printDataStore.py
1
#!/usr/bin/env python3
2
3
10
11
# Doxygen should skip this script
12
# @cond
13
14
"""
15
This script loads specified ROOT file and prints the content of the DataStore
16
for each event. To be used for debugging.
17
18
Execute script with:
19
$> basf2 printDataStore.py -i [input_ROOT_file]
20
"""
21
22
import
basf2
23
import
modularAnalysis
as
ma
24
25
path = basf2.Path()
26
ma.inputMdst(filename=basf2.find_file(
'mdst14.root'
,
'validation'
,
True
),
27
path=path)
28
ma.printDataStore(path=path)
29
basf2.process(path)
30
31
# @endcond
analysis
examples
printDataStore.py
Generated on Mon Sep 23 2024 13:59:52 for Belle II Software by
1.9.1