added variables fitted by waveform for the digitizer