subtract time of the first calibration signal
Definition at line 37 of file subtractCalPulse.py.
◆ event()
event function
Definition at line 40 of file subtractCalPulse.py.
41 ''' event function '''
44 t0 = [0
for i
in range(64)]
45 num = [0
for i
in range(64)]
47 channel = digit.getChannel()
50 if ch == calChannel
and digit.getHitQuality() == 4:
52 t0[i] = digit.getTime()
55 t0[i] = min(t0[i], digit.getTime())
59 i = int(digit.getChannel()/8)
61 digit.subtractT0(t0[i])
64 digit.setHitQuality(0)
66 b2.B2ERROR(
"No calibration double pulses found in the event")
a (simplified) python wrapper for StoreArray.
The documentation for this class was generated from the following file: