Belle II Software  release-05-01-25
printDataStore.py
1 #!/usr/bin/env python3
2 
3 # Doxygen should skip this script
4 # @cond
5 
6 """
7 This script loads specified ROOT file and prints the content of the DataStore
8 for each event. To be used for debugging.
9 
10 Execute script with:
11  $> basf2 printDataStore.py -i [input_ROOT_file]
12 
13 """
14 
15 import basf2
16 from modularAnalysis import printDataStore
17 
18 path = basf2.Path()
19 path.add_module('RootInput')
20 printDataStore(path=path)
21 basf2.process(path)
22 
23 # @endcond
printDataStore
Definition: printDataStore.py:1
basf2.process
def process(path, max_event=0)
Definition: __init__.py:25