/// <summary> /// Default constructor. /// </summary> public UMCLight() { ChargeStateChromatograms = new Dictionary <int, Chromatogram>(); IsotopeChromatograms = new Dictionary <int, List <Chromatogram> >(); GroupId = DEFAULT_GROUP_ID; UmcCluster = null; Scan = -1; ScanEnd = Scan; ScanStart = Scan; MsMsCount = 0; this.MinCharge = 1; this.MaxCharge = 1; if (MsFeatures == null) { MsFeatures = new List <MSFeatureLight>(); } MsFeatures.Clear(); if (m_umcList == null) { m_umcList = new List <UMCLight>(); } m_umcList.Clear(); }
public void AddChildFeature(MSFeatureLight feature) { feature.SetParentFeature(this); MsFeatures.Add(feature); }