print content of TOPCalCommonT0
Definition at line 25 of file checkDB-commonT0.py.
◆ event()
event processing
Definition at line 43 of file checkDB-commonT0.py.
44 ''' event processing '''
47 runNo =
'r' +
'{:0=5d}'.format(evtMetaData.getRun())
50 B2ERROR(runNo +
': payload not found')
52 if not self.db.hasChanged():
56 print(
'... to ' + self.lastRun)
59 if self.db.isCalibrated():
61 elif self.db.isUnusable():
63 elif self.db.isRoughlyCalibrated():
64 status =
'roughly calibrated'
67 n = round(self.db.getT0() / self.bunchTimeSep, 0)
69 print(runNo +
': T0 =',
70 round(self.db.getT0(), 4),
'+/-', round(self.db.getT0Error(), 4),
73 print(runNo +
': T0 =',
74 round(self.db.getT0(), 4),
'+/-', round(self.db.getT0Error(), 4),
75 status,
'-- out of range')
◆ initialize()
◆ terminate()
The documentation for this class was generated from the following file: