13 from ROOT
import Belle2
24 Print BackgroundInfo stored in the root file
28 ''' event function '''
34 elif bgInfos.isValid():
35 if bgInfos.getEntries() == 0:
36 print(
"Background info is empty")
38 for bgInfo
in bgInfos:
39 print(
"===========================")
40 print(
"* Backgroud info: entry", str(i))
41 print(
"===========================")
45 print(
"No background info available")
48 evtMetaData.obj().setEndOfData()
51 b2.set_log_level(b2.LogLevel.ERROR)
54 main = b2.create_path()
57 roinput = b2.register_module(
'RootInput')
58 main.add_module(roinput)
a (simplified) python wrapper for StoreArray.
a (simplified) python wrapper for StoreObjPtr.