print content of TOPCalCommonT0
Definition at line 33 of file checkDB-commonT0.py.
◆ event()
event processing
Definition at line 51 of file checkDB-commonT0.py.
52 ''' event processing '''
55 runNo =
'r' +
'{:0=5d}'.format(evtMetaData.getRun())
58 b2.B2ERROR(runNo +
': payload not found')
60 if not self.db.hasChanged():
64 print(
'... to ' + self.lastRun)
67 if self.db.isCalibrated():
69 elif self.db.isUnusable():
71 elif self.db.isRoughlyCalibrated():
72 status =
'roughly calibrated'
75 n = round(self.db.getT0() / self.bunchTimeSep, 0)
77 print(runNo +
': T0 =',
78 round(self.db.getT0(), 4),
'+/-', round(self.db.getT0Error(), 4),
81 print(runNo +
': T0 =',
82 round(self.db.getT0(), 4),
'+/-', round(self.db.getT0Error(), 4),
83 status,
'-- out of range')
a (simplified) python wrapper for StoreObjPtr.
◆ initialize()
◆ terminate()
The documentation for this class was generated from the following file: