forked from PNNL-Comp-Mass-Spec/MASIC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clsUniqueMZListItem.cs
66 lines (55 loc) · 1.86 KB
/
clsUniqueMZListItem.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
using System.Collections.Generic;
namespace MASIC
{
public class clsUniqueMZListItem
{
/// <summary>
/// Average m/z
/// </summary>
public double MZAvg { get; set; }
/// <summary>
/// Highest intensity value of the similar parent ions
/// </summary>
public double MaxIntensity { get; set; }
/// <summary>
/// Largest peak intensity value of the similar parent ions
/// </summary>
public double MaxPeakArea { get; set; }
/// <summary>
/// Scan number of the parent ion with the highest intensity
/// </summary>
public int ScanNumberMaxIntensity { get; set; }
/// <summary>
/// Elution time of the parent ion with the highest intensity
/// </summary>
public float ScanTimeMaxIntensity { get; set; }
/// <summary>
/// Pointer to an entry in scanList.ParentIons
/// </summary>
public int ParentIonIndexMaxIntensity { get; set; }
/// <summary>
/// Pointer to an entry in scanList.ParentIons
/// </summary>
public int ParentIonIndexMaxPeakArea { get; set; }
/// <summary>
/// Number of items in MatchIndices
/// </summary>
/// <returns></returns>
public int MatchCount => MatchIndices.Count;
/// <summary>
/// Pointers to entries in scanList.ParentIons
/// </summary>
public readonly List<int> MatchIndices;
/// <summary>
/// Constructor
/// </summary>
public clsUniqueMZListItem()
{
MatchIndices = new List<int>();
}
public override string ToString()
{
return "m/z avg: " + MZAvg + ", MatchCount: " + MatchIndices.Count;
}
}
}