subtract time of the first calibration signal
Definition at line 29 of file subtractCalPulse.py.
◆ event()
event function
Definition at line 32 of file subtractCalPulse.py.
33 ''' event function '''
36 t0 = [0
for i
in range(64)]
37 num = [0
for i
in range(64)]
39 channel = digit.getChannel()
42 if ch == calChannel
and digit.getHitQuality() == 4:
44 t0[i] = digit.getTime()
47 t0[i] = min(t0[i], digit.getTime())
51 i = int(digit.getChannel()/8)
53 digit.subtractT0(t0[i])
56 digit.setHitQuality(0)
58 B2ERROR(
"No calibration double pulses found in the event")
The documentation for this class was generated from the following file: