12 from ROOT
import Belle2
20 eventinfosetter = b2.register_module(
"EventInfoSetter")
21 eventinfoprinter = b2.register_module(
"EventInfoPrinter")
24 param_eventinfosetter = {
'expList': [1],
30 ''' check the SVDEventInfo object'''
33 '''print the SVDEventInfo to string in each event'''
35 b2.B2INFO(eventInfo.toString())
38 eventinfosetter.param(param_eventinfosetter)
41 main = b2.create_path()
42 main.add_module(eventinfosetter)
43 main.add_module(eventinfoprinter)
45 setInfo = b2.register_module(
'SVDEventInfoSetter')
54 main.add_module(setInfo)
57 main.add_module(checkInfo)
a (simplified) python wrapper for StoreObjPtr.