Prints Calibration trigger results in a well formatted way.
User is prompted to continue or quit at each event
Definition at line 23 of file print_calib_trig_results.py.
◆ event()
Print log likelihoods and wait for user respond.
Definition at line 30 of file print_calib_trig_results.py.
30 def event(self):
31 '''
32 Print log likelihoods and wait for user respond.
33 '''
34
36 exp = evtMetaData.obj().getExperiment()
37 run = evtMetaData.obj().getRun()
38 evt = evtMetaData.obj().getEvent()
39 print()
40 print('Experiment ' + str(exp) + ' Run ' + str(run) + ' Event ' + str(evt) + ':')
41 print()
43 for name, result in trigger_result.getResults():
44 print('Result ' + str(name) + ': ' + str(result))
45 if result == 1:
46 global results
47 results[name] += 1
48 print('')
49
50
a (simplified) python wrapper for StoreObjPtr.
The documentation for this class was generated from the following file: