16from ROOT
import Belle2
18from collections
import defaultdict
20results = defaultdict(int)
26 Prints Calibration trigger results in a well formatted way.
27 User
is prompted to
continue or quit at each event
32 Print log likelihoods and wait
for user respond.
36 exp = evtMetaData.obj().getExperiment()
37 run = evtMetaData.obj().getRun()
38 evt = evtMetaData.obj().getEvent()
40 print(
'Experiment ' + str(exp) +
' Run ' + str(run) +
' Event ' + str(evt) +
':')
43 for name, result
in trigger_result.getResults():
44 print(
'Result ' + str(name) +
': ' + str(result))
51b2.set_log_level(b2.LogLevel.ERROR)
54main = b2.create_path()
57roinput = b2.register_module(
'SeqRootInput')
58main.add_module(roinput)
a (simplified) python wrapper for StoreObjPtr.