Belle II Software development
printDataStore.py
1#!/usr/bin/env python3
2
3
10
11"""
12This script loads specified ROOT file and prints the content of the DataStore
13for each event. To be used for debugging.
14
15Execute script with:
16 $> basf2 printDataStore.py -i [input_ROOT_file]
17"""
18
19import basf2
20import modularAnalysis as ma
21
22path = basf2.Path()
23ma.inputMdst(filename=basf2.find_file('mdst16.root', 'validation', True),
24 path=path)
25ma.printDataStore(path=path)
26basf2.process(path)