3
<TITLE>IsotopeCluster.h Source File</TITLE>
4
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
5
<LINK HREF="style_ini.css" REL="stylesheet" TYPE="text/css">
7
<BODY BGCOLOR="#FFFFFF">
8
<A href="index.html">Home</A> ·
9
<A href="classes.html">Classes</A> ·
10
<A href="annotated.html">Annotated Classes</A> ·
11
<A href="modules.html">Modules</A> ·
12
<A href="functions_func.html">Members</A> ·
13
<A href="namespaces.html">Namespaces</A> ·
14
<A href="pages.html">Related Pages</A>
15
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
16
<!-- Generated by Doxygen 1.8.5 -->
17
<div id="nav-path" class="navpath">
19
<li class="navelem"><a class="el" href="dir_e770f0cf77e550adde3f44739ef529fe.html">include</a></li><li class="navelem"><a class="el" href="dir_6a63c4937d4da007e55fff5dcf71e0f8.html">OpenMS</a></li><li class="navelem"><a class="el" href="dir_c97e59dcfbe99554cb41e1ea312f2f72.html">DATASTRUCTURES</a></li> </ul>
23
<div class="headertitle">
24
<div class="title">IsotopeCluster.h</div> </div>
26
<div class="contents">
27
<a href="IsotopeCluster_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
28
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// OpenMS -- Open-Source Mass Spectrometry</span></div>
29
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
30
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,</span></div>
31
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// ETH Zurich, and Freie Universitaet Berlin 2002-2013.</span></div>
32
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">//</span></div>
33
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// This software is released under a three-clause BSD license:</span></div>
34
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// * Redistributions of source code must retain the above copyright</span></div>
35
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// notice, this list of conditions and the following disclaimer.</span></div>
36
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// * Redistributions in binary form must reproduce the above copyright</span></div>
37
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// notice, this list of conditions and the following disclaimer in the</span></div>
38
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// documentation and/or other materials provided with the distribution.</span></div>
39
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// * Neither the name of any author or any participating institution</span></div>
40
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// may be used to endorse or promote products derived from this software</span></div>
41
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// without specific prior written permission.</span></div>
42
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">// For a full list of authors, refer to the file AUTHORS.</span></div>
43
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
44
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"</span></div>
45
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
46
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
47
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">// ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING</span></div>
48
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">// INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span></div>
49
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span></div>
50
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;</span></div>
51
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,</span></div>
52
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR</span></div>
53
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF</span></div>
54
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
55
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">//</span></div>
56
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
57
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// $Maintainer: Stephan Aiche$</span></div>
58
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// $Authors: Marc Sturm $</span></div>
59
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
60
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div>
61
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#ifndef OPENMS_DATASTRUCTURES_ISOTOPECLUSTER_H</span></div>
62
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor"></span><span class="preprocessor">#define OPENMS_DATASTRUCTURES_ISOTOPECLUSTER_H</span></div>
63
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span></div>
64
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include <<a class="code" href="Types_8h.html">OpenMS/CONCEPT/Types.h</a>></span></div>
65
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include <vector></span></div>
66
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include <set></span></div>
67
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div>
68
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">namespace </span>OpenMS</div>
69
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div>
70
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structOpenMS_1_1IsotopeCluster.html"> 45</a></span>  <span class="keyword">struct </span>OPENMS_DLLAPI <a class="code" href="structOpenMS_1_1IsotopeCluster.html">IsotopeCluster</a></div>
71
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  {</div>
72
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structOpenMS_1_1IsotopeCluster.html#a0cab124671a3ada269f0553e1c8934da"> 48</a></span>  <span class="keyword">typedef</span> std::pair<Size, Size> <a class="code" href="structOpenMS_1_1IsotopeCluster.html#a0cab124671a3ada269f0553e1c8934da">IndexPair</a>;</div>
73
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structOpenMS_1_1IsotopeCluster.html#aed4049efd4228c847ab300ac4c466eca"> 50</a></span>  <span class="keyword">typedef</span> std::set<IndexPair> <a class="code" href="structOpenMS_1_1IsotopeCluster.html#aed4049efd4228c847ab300ac4c466eca">IndexSet</a>;</div>
74
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
75
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html"> 53</a></span>  <span class="keyword">struct </span><a class="code" href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html">ChargedIndexSet</a> :</div>
76
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">public</span> <a class="code" href="structOpenMS_1_1IsotopeCluster.html#aed4049efd4228c847ab300ac4c466eca">IndexSet</a></div>
77
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {</div>
78
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html#ab1aafa4407848848e4db97056404501b"> 56</a></span>  <a class="code" href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html#ab1aafa4407848848e4db97056404501b">ChargedIndexSet</a>() :</div>
79
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  charge(0)</div>
80
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  {</div>
81
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  }</div>
82
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div>
83
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html#a8253a7962ca1c79b71e6af96589b7720"> 62</a></span>  <a class="code" href="group__Concept.html#ga7cc214a236ad3bb6ad435bdcf5262a3f">Int</a> <a class="code" href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html#a8253a7962ca1c79b71e6af96589b7720">charge</a>;</div>
84
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  };</div>
85
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div>
86
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structOpenMS_1_1IsotopeCluster.html#a004d2a18e4dc394f2ede2d7fd88c8f23"> 65</a></span>  <a class="code" href="structOpenMS_1_1IsotopeCluster.html#a004d2a18e4dc394f2ede2d7fd88c8f23">IsotopeCluster</a>() :</div>
87
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  peaks(),</div>
88
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  scans()</div>
89
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  {</div>
90
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div>
91
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div>
92
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="structOpenMS_1_1IsotopeCluster.html#ad4c8689a4cd1334e0eccdadcb0cc5a54"> 72</a></span>  <a class="code" href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html">ChargedIndexSet</a> <a class="code" href="structOpenMS_1_1IsotopeCluster.html#ad4c8689a4cd1334e0eccdadcb0cc5a54">peaks</a>;</div>
93
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div>
94
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structOpenMS_1_1IsotopeCluster.html#a47b3744693f84a7d94f7181676f36758"> 75</a></span>  std::vector<Size> <a class="code" href="structOpenMS_1_1IsotopeCluster.html#a47b3744693f84a7d94f7181676f36758">scans</a>;</div>
95
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  };</div>
96
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div>
97
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> } <span class="comment">// namespace OPENMS</span></div>
98
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div>
99
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#endif // OPENMS_DATASTRUCTURES_ISOTOPECLUSTER_H</span></div>
100
<div class="ttc" id="Types_8h_html"><div class="ttname"><a href="Types_8h.html">Types.h</a></div></div>
101
<div class="ttc" id="structOpenMS_1_1IsotopeCluster_html_a0cab124671a3ada269f0553e1c8934da"><div class="ttname"><a href="structOpenMS_1_1IsotopeCluster.html#a0cab124671a3ada269f0553e1c8934da">OpenMS::IsotopeCluster::IndexPair</a></div><div class="ttdeci">std::pair< Size, Size > IndexPair</div><div class="ttdoc">An index e.g. in an MSExperiment. </div><div class="ttdef"><b>Definition:</b> IsotopeCluster.h:48</div></div>
102
<div class="ttc" id="structOpenMS_1_1IsotopeCluster_html_ad4c8689a4cd1334e0eccdadcb0cc5a54"><div class="ttname"><a href="structOpenMS_1_1IsotopeCluster.html#ad4c8689a4cd1334e0eccdadcb0cc5a54">OpenMS::IsotopeCluster::peaks</a></div><div class="ttdeci">ChargedIndexSet peaks</div><div class="ttdoc">peaks in this cluster </div><div class="ttdef"><b>Definition:</b> IsotopeCluster.h:72</div></div>
103
<div class="ttc" id="structOpenMS_1_1IsotopeCluster_html_a004d2a18e4dc394f2ede2d7fd88c8f23"><div class="ttname"><a href="structOpenMS_1_1IsotopeCluster.html#a004d2a18e4dc394f2ede2d7fd88c8f23">OpenMS::IsotopeCluster::IsotopeCluster</a></div><div class="ttdeci">IsotopeCluster()</div><div class="ttdef"><b>Definition:</b> IsotopeCluster.h:65</div></div>
104
<div class="ttc" id="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet_html_ab1aafa4407848848e4db97056404501b"><div class="ttname"><a href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html#ab1aafa4407848848e4db97056404501b">OpenMS::IsotopeCluster::ChargedIndexSet::ChargedIndexSet</a></div><div class="ttdeci">ChargedIndexSet()</div><div class="ttdef"><b>Definition:</b> IsotopeCluster.h:56</div></div>
105
<div class="ttc" id="structOpenMS_1_1IsotopeCluster_html_a47b3744693f84a7d94f7181676f36758"><div class="ttname"><a href="structOpenMS_1_1IsotopeCluster.html#a47b3744693f84a7d94f7181676f36758">OpenMS::IsotopeCluster::scans</a></div><div class="ttdeci">std::vector< Size > scans</div><div class="ttdoc">the scans of this cluster </div><div class="ttdef"><b>Definition:</b> IsotopeCluster.h:75</div></div>
106
<div class="ttc" id="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet_html"><div class="ttname"><a href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html">OpenMS::IsotopeCluster::ChargedIndexSet</a></div><div class="ttdoc">index set with associated charge estimate </div><div class="ttdef"><b>Definition:</b> IsotopeCluster.h:53</div></div>
107
<div class="ttc" id="structOpenMS_1_1IsotopeCluster_html"><div class="ttname"><a href="structOpenMS_1_1IsotopeCluster.html">OpenMS::IsotopeCluster</a></div><div class="ttdoc">Stores information about an isotopic cluster (i.e. potential peptide charge variants) ...</div><div class="ttdef"><b>Definition:</b> IsotopeCluster.h:45</div></div>
108
<div class="ttc" id="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet_html_a8253a7962ca1c79b71e6af96589b7720"><div class="ttname"><a href="structOpenMS_1_1IsotopeCluster_1_1ChargedIndexSet.html#a8253a7962ca1c79b71e6af96589b7720">OpenMS::IsotopeCluster::ChargedIndexSet::charge</a></div><div class="ttdeci">Int charge</div><div class="ttdoc">charge estimate (convention: zero means &quot;no charge estimate&quot;) </div><div class="ttdef"><b>Definition:</b> IsotopeCluster.h:62</div></div>
109
<div class="ttc" id="structOpenMS_1_1IsotopeCluster_html_aed4049efd4228c847ab300ac4c466eca"><div class="ttname"><a href="structOpenMS_1_1IsotopeCluster.html#aed4049efd4228c847ab300ac4c466eca">OpenMS::IsotopeCluster::IndexSet</a></div><div class="ttdeci">std::set< IndexPair > IndexSet</div><div class="ttdoc">A set of index pairs, usually referring to an MSExperiment. </div><div class="ttdef"><b>Definition:</b> IsotopeCluster.h:50</div></div>
110
<div class="ttc" id="group__Concept_html_ga7cc214a236ad3bb6ad435bdcf5262a3f"><div class="ttname"><a href="group__Concept.html#ga7cc214a236ad3bb6ad435bdcf5262a3f">OpenMS::Int</a></div><div class="ttdeci">int Int</div><div class="ttdoc">Signed integer type. </div><div class="ttdef"><b>Definition:</b> Types.h:100</div></div>
111
</div><!-- fragment --></div><!-- contents -->
112
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
113
<TABLE width="100%" border="0">
115
<TD><font color="#c0c0c0">OpenMS / TOPP release 1.11.1</font></TD>
116
<TD align="right"><font color="#c0c0c0">Documentation generated on Thu Nov 14 2013 11:19:15 using doxygen 1.8.5</font></TD>