9 from ROOT
import Belle2
14 """Returns 1 if current event contains at least one SVDSimHit or one
15 SVD-related BeamBackHit, 0 otherwise"""
18 """reimplementation of Module::initialize()."""
21 """reimplementation of Module::event()."""
26 if len(simhits) > 0
or len(bghits) > 0:
32 input = register_module(
'RootInput')
33 main.add_module(input)
38 main.add_module(trigger)
42 emptypath = create_path()
43 trigger.if_false(emptypath)
46 output = register_module(
'RootOutput')
47 main.add_module(output)
49 main.add_module(register_module(
'ProgressBar'))