15 from ROOT
import Belle2
20 """Returns 1 if current event contains at least one SVDSimHit or one
21 SVD-related BeamBackHit, 0 otherwise"""
24 """reimplementation of Module::initialize()."""
27 """reimplementation of Module::event()."""
32 if len(simhits) > 0
or len(bghits) > 0:
36 main = b2.create_path()
38 input = b2.register_module(
'RootInput')
39 main.add_module(input)
44 main.add_module(trigger)
48 emptypath = b2.create_path()
49 trigger.if_false(emptypath)
52 output = b2.register_module(
'RootOutput')
53 main.add_module(output)
55 main.add_module(b2.register_module(
'ProgressBar'))
A (simplified) python wrapper for StoreArray.