protected void AppendScan(List <IsobaricItem> result, int scan, string mode, double isolationWidth) { IsobaricItem item = new IsobaricItem(); PeakList <Peak> pkl = RawReader.GetPeakList(scan, MinMz, MaxMz); if (pkl.Count < MinPeakCount) { return; } var recordScan = GetIdentificationScan(scan); if (pkl.ScanTimes.Count == 0) { pkl.ScanTimes.Add(RawReader.GetScanTime(recordScan)); } item.ScanMode = mode; item.RawPeaks = pkl; item.PeakInIsolationWindow = RawReader.GetPeakInIsolationWindow(scan, isolationWidth); item.PlexType = this.PlexType; result.Add(item); }