11from ROOT
import Belle2
19eventinfosetter = b2.register_module(
"EventInfoSetter")
20eventinfoprinter = b2.register_module(
"EventInfoPrinter")
23param_eventinfosetter = {
'expList': [1],
29 ''' check the SVDEventInfo object'''
32 '''print the SVDEventInfo to string in each event'''
34 b2.B2INFO(eventInfo.toString())
37eventinfosetter.param(param_eventinfosetter)
40main = b2.create_path()
41main.add_module(eventinfosetter)
42main.add_module(eventinfoprinter)
44setInfo = b2.register_module(
'SVDEventInfoSetter')
53main.add_module(setInfo)
56main.add_module(checkInfo)
a (simplified) python wrapper for StoreObjPtr.