17 from ROOT.Belle2
import TOPDatabaseImporter
20 main = b2.create_path()
23 eventinfosetter = b2.register_module(
'EventInfoSetter')
24 eventinfosetter.param(
'evtNumList', [1])
25 main.add_module(eventinfosetter)
28 gearbox = b2.register_module(
'Gearbox')
29 main.add_module(gearbox)
32 main.add_module(
'TOPGeometryParInitializer', useDB=
False)
38 b2.conditions.expert_settings(save_payloads=
"localDB/localDB.txt")
41 dbImporter = TOPDatabaseImporter()
52 for i
in range(len(params)):
57 print(
'time_walk =', params)
58 print(
'a =', a,
'b = ', b)
60 dbImporter.importTimeWalk(params, a, b)