12from ROOT
import Belle2
15basf2.set_random_seed(
"something important")
16basf2.set_log_level(basf2.LogLevel.ERROR)
20 """Delay second event in each run"""
23 """reimplementation of Module::event()."""
28 basf2.B2ERROR(
'No EventMetaData found')
30 event = evtmetadata.obj().getEvent()
37basf2.set_nprocesses(2)
39main.add_module(
"EventInfoSetter", evtNumList=[2] * nruns, expList=[0] * nruns,
40 runList=list(range(1, nruns + 1)))
42test.set_property_flags(basf2.ModulePropFlags.PARALLELPROCESSINGCERTIFIED)
43main.add_module(
'Progress', logLevel=basf2.LogLevel.INFO)
a (simplified) python wrapper for StoreObjPtr.