Correction in RawInput and implementation of pdfReader for SiPM threshold cut version 2