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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
|
<HTML>
<HEAD>
<TITLE>IMSIsotopeDistribution.h Source File</TITLE>
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
<LINK HREF="style_ini.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A href="index.html">Home</A> ·
<A href="classes.html">Classes</A> ·
<A href="annotated.html">Annotated Classes</A> ·
<A href="modules.html">Modules</A> ·
<A href="functions_func.html">Members</A> ·
<A href="namespaces.html">Namespaces</A> ·
<A href="pages.html">Related Pages</A>
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<!-- Generated by Doxygen 1.8.5 -->
<div id="nav-path" class="navpath">
<ul>
<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_5f4b1c13d07405f47ee611fa1c92df17.html">CHEMISTRY</a></li><li class="navelem"><a class="el" href="dir_b0236496b069f9a5bb167765bff837cf.html">MASSDECOMPOSITION</a></li><li class="navelem"><a class="el" href="dir_e5ce06617876553ec904e1435a0fb40c.html">IMS</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">IMSIsotopeDistribution.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="IMSIsotopeDistribution_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>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// OpenMS -- Open-Source Mass Spectrometry</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
<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>
<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>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">//</span></div>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// without specific prior written permission.</span></div>
<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>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">//</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// $Maintainer: Stephan Aiche $</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// $Authors: Anton Pervukhin <Anton.Pervukhin@CeBiTec.Uni-Bielefeld.DE> $</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">// --------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">//</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifndef OPENMS_CHEMISTRY_MASSDECOMPOSITION_IMS_IMSISOTOPEDISTRIBUTION_H</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor"></span><span class="preprocessor">#define OPENMS_CHEMISTRY_MASSDECOMPOSITION_IMS_IMSISOTOPEDISTRIBUTION_H</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor"></span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include <vector></span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include <ostream></span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include <algorithm></span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include <OpenMS/config.h></span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">namespace </span>OpenMS</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">namespace </span>ims</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  {</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html"> 88</a></span>  <span class="keyword">class </span>OPENMS_DLLAPI <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  {</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ad6ec2604e7135e7baf65aeca5fd2521f"> 93</a></span>  <span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ad6ec2604e7135e7baf65aeca5fd2521f">mass_type</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a5350157293e03a3f5838c62555b2a03d"> 96</a></span>  <span class="keyword">typedef</span> <span class="keywordtype">double</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a5350157293e03a3f5838c62555b2a03d">abundance_type</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#afaf336b71b2603a88b22fe504f0ce3b4"> 99</a></span>  <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#afaf336b71b2603a88b22fe504f0ce3b4">nominal_mass_type</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html"> 102</a></span>  <span class="keyword">struct </span><a class="code" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html">Peak</a></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  {</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#a85c241f8d8923e278b4038e8b5ce6672"> 104</a></span>  <a class="code" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#a85c241f8d8923e278b4038e8b5ce6672">Peak</a>(<a class="code" href="classdouble.html">mass_type</a> mass = 0.0, <a class="code" href="classdouble.html">abundance_type</a> abundance = 0.0) :</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  mass(mass), abundance(abundance)</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  {}</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#af8f96810aa40412bc76a6274c7f49a37"> 108</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#af8f96810aa40412bc76a6274c7f49a37">operator==</a>(<span class="keyword">const</span> <a class="code" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html">Peak</a> & peak)<span class="keyword"> const</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordflow">return</span> peak.<a class="code" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#af23aca9a97cada7c2d59cd884c672bc1">mass</a> == mass && peak.<a class="code" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#abd8149c466c05720467b9fad1bf0b55c">abundance</a> == abundance;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  }</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#af23aca9a97cada7c2d59cd884c672bc1"> 113</a></span>  <a class="code" href="classdouble.html">mass_type</a> <a class="code" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#af23aca9a97cada7c2d59cd884c672bc1">mass</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#abd8149c466c05720467b9fad1bf0b55c"> 114</a></span>  <a class="code" href="classdouble.html">abundance_type</a> <a class="code" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#abd8149c466c05720467b9fad1bf0b55c">abundance</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  };</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a9bba62144488efd68638cb599e2a6375"> 118</a></span>  <span class="keyword">typedef</span> <a class="code" href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html">Peak</a> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a9bba62144488efd68638cb599e2a6375">peak_type</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a1ae668cf040be6a6a4587088d3b65f9e"> 121</a></span>  <span class="keyword">typedef</span> std::vector<peak_type> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a1ae668cf040be6a6a4587088d3b65f9e">peaks_container</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a828d3f003bfd30921f66a2185561b197"> 124</a></span>  <span class="keyword">typedef</span> peaks_container::iterator <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a828d3f003bfd30921f66a2185561b197">peaks_iterator</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ac1a034524e404c7ef00e241608750990"> 127</a></span>  <span class="keyword">typedef</span> peaks_container::const_iterator <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ac1a034524e404c7ef00e241608750990">const_peaks_iterator</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8219d7da3bb5f39a2d999576c82b4d1b"> 130</a></span>  <span class="keyword">typedef</span> peaks_container::size_type <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8219d7da3bb5f39a2d999576c82b4d1b">size_type</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ac57e0db1384ad7bca29e16a023e9993b"> 133</a></span>  <span class="keyword">typedef</span> std::vector<mass_type> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ac57e0db1384ad7bca29e16a023e9993b">masses_container</a>;</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#acf35c608ebf2544f9aff1eef2414f9c5"> 136</a></span>  <span class="keyword">typedef</span> masses_container::iterator <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#acf35c608ebf2544f9aff1eef2414f9c5">masses_iterator</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ab416bc416dd3cdc3b7ca434b0140adee"> 139</a></span>  <span class="keyword">typedef</span> masses_container::const_iterator <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ab416bc416dd3cdc3b7ca434b0140adee">const_masses_iterator</a>;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a6127ddf604a3b6725378887fa2f03abc"> 142</a></span>  <span class="keyword">typedef</span> std::vector<abundance_type> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a6127ddf604a3b6725378887fa2f03abc">abundances_container</a>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ab0b8bc9fe7c407dc8f592745bf7b7f9d"> 145</a></span>  <span class="keyword">typedef</span> abundances_container::iterator <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ab0b8bc9fe7c407dc8f592745bf7b7f9d">abundances_iterator</a>;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ab71fb5d88ebf53bcac42afb9bc16d5ad"> 148</a></span>  <span class="keyword">typedef</span> abundances_container::const_iterator <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ab71fb5d88ebf53bcac42afb9bc16d5ad">const_abundances_iterator</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#addb7baa719fd0a3a36c685913df4ba2c"> 151</a></span>  <span class="keyword">static</span> <a class="code" href="classdouble.html">abundance_type</a> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#addb7baa719fd0a3a36c685913df4ba2c">ABUNDANCES_SUM_ERROR</a>;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a847247924be90ef485116fb8baf0ccb3"> 154</a></span>  <span class="keyword">static</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8219d7da3bb5f39a2d999576c82b4d1b">size_type</a> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a847247924be90ef485116fb8baf0ccb3">SIZE</a>;</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a304f223a03250c12927bc35fb4bb9c55"> 157</a></span>  <span class="keyword">explicit</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a304f223a03250c12927bc35fb4bb9c55">IMSIsotopeDistribution</a>(<a class="code" href="classunsigned_01int.html">nominal_mass_type</a> nominalMass = 0) :</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  nominal_mass_(nominalMass)</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  {}</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a592e95c9ad578d8488538a7e550c5471"> 162</a></span>  <span class="keyword">explicit</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a592e95c9ad578d8488538a7e550c5471">IMSIsotopeDistribution</a>(<a class="code" href="classdouble.html">mass_type</a> mass) :</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  nominal_mass_(0)</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  {</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  peaks_.push_back(peaks_container::value_type(mass, 1.0));</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  }</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a3944c8895fad9d8714af2ad7b5ed7c1c"> 169</a></span>  <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a3944c8895fad9d8714af2ad7b5ed7c1c">IMSIsotopeDistribution</a>(<span class="keyword">const</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a1ae668cf040be6a6a4587088d3b65f9e">peaks_container</a> & peaks,</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="classunsigned_01int.html">nominal_mass_type</a> nominalMass = 0) :</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  peaks_(peaks),</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  nominal_mass_(nominalMass)</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  {}</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> </div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a9f4042eda044bc52f27a3c62dcf5eb79"> 176</a></span>  <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a9f4042eda044bc52f27a3c62dcf5eb79">IMSIsotopeDistribution</a>(<span class="keyword">const</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a> & distribution) :</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  peaks_(distribution.peaks_),</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  nominal_mass_(distribution.nominal_mass_)</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  {}</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8c9c0593a9da8f73fb93c0deaec046ea"> 182</a></span>  <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8c9c0593a9da8f73fb93c0deaec046ea">~IMSIsotopeDistribution</a>()</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  {}</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a503ab01f6c0142145d3434f6924714e7"> 191</a></span>  <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8219d7da3bb5f39a2d999576c82b4d1b">size_type</a> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a503ab01f6c0142145d3434f6924714e7">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> std::min(peaks_.size(), SIZE); }</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a> & operator=(</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keyword">const</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a> & distribution);</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a> & distribution) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordtype">bool</span> operator!=(<span class="keyword">const</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a> & distribution) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a> & operator*=(</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keyword">const</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a> & distribution);</div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> </div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a> & operator*=(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> pow);</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> </div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a69f068218f28e51c545cde186ae14f85"> 251</a></span>  <a class="code" href="classdouble.html">mass_type</a> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a69f068218f28e51c545cde186ae14f85">getMass</a>(<a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8219d7da3bb5f39a2d999576c82b4d1b">size_type</a> i)<span class="keyword"> const</span></div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keywordflow">return</span> peaks_[i].mass + nominal_mass_ + i;</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  }</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> </div>
<div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ae951f4b99fdb144e55034e116c3cc8af"> 262</a></span>  <a class="code" href="classdouble.html">abundance_type</a> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ae951f4b99fdb144e55034e116c3cc8af">getAbundance</a>(<a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8219d7da3bb5f39a2d999576c82b4d1b">size_type</a> i)<span class="keyword"> const</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="keyword"> </span>{</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="keywordflow">return</span> peaks_[i].abundance;</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  }</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> </div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  mass_type getAverageMass() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> </div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#afe27112418634d174f6459bbbd974674"> 279</a></span>  <a class="code" href="classunsigned_01int.html">nominal_mass_type</a> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#afe27112418634d174f6459bbbd974674">getNominalMass</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> nominal_mass_; }</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ae939df1099c7e1293c3ddb928ed5c5bb"> 286</a></span>  <span class="keywordtype">void</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ae939df1099c7e1293c3ddb928ed5c5bb">setNominalMass</a>(<a class="code" href="classunsigned_01int.html">nominal_mass_type</a> nominalMass)</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  {</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  this->nominal_mass_ = nominalMass;</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  }</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> </div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  masses_container getMasses() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  abundances_container getAbundances() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> </div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordtype">void</span> <a class="code" href="namespaceOpenSwath.html#a546b9a9117f4207e3cfc9ef2ea4aad3d">normalize</a>();</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> </div>
<div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ac6e61de369e994009e36f344f99c15ad"> 317</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ac6e61de369e994009e36f344f99c15ad">empty</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> peaks_.empty(); }</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a139eb503fdda0bb9fcc11a2d9080f749"> 321</a></span>  <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a1ae668cf040be6a6a4587088d3b65f9e">peaks_container</a> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a139eb503fdda0bb9fcc11a2d9080f749">peaks_</a>;</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> </div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a254a4352042bdc7c9be3174c4a504d47"> 324</a></span>  <a class="code" href="classunsigned_01int.html">nominal_mass_type</a> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a254a4352042bdc7c9be3174c4a504d47">nominal_mass_</a>;</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keywordtype">void</span> setMinimumSize_();</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  };</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  OPENMS_DLLAPI std::ostream & <a class="code" href="namespaceOpenMS_1_1ims.html#a98ad29ea6eda375e52432d546bdd9a48">operator<<</a>(std::ostream & os,</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <span class="keyword">const</span> <a class="code" href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">IMSIsotopeDistribution</a> & distribution);</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> </div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  } <span class="comment">// namespace ims</span></div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> } <span class="comment">// namespace OpenMS</span></div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span> </div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="preprocessor">#endif // OPENMS_CHEMISTRY_MASSDECOMPOSITION_IMS_ISOTOPE_DISTRIBUTION_H</span></div>
<div class="ttc" id="classunsigned_01int_html"><div class="ttname"><a href="classunsigned_01int.html">unsigned int</a></div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a9bba62144488efd68638cb599e2a6375"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a9bba62144488efd68638cb599e2a6375">OpenMS::ims::IMSIsotopeDistribution::peak_type</a></div><div class="ttdeci">Peak peak_type</div><div class="ttdoc">Type of isotope peak. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:118</div></div>
<div class="ttc" id="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak_html"><div class="ttname"><a href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html">OpenMS::ims::IMSIsotopeDistribution::Peak</a></div><div class="ttdoc">Structure that represents an isotope peak - pair of mass and abundance. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:102</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a9f4042eda044bc52f27a3c62dcf5eb79"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a9f4042eda044bc52f27a3c62dcf5eb79">OpenMS::ims::IMSIsotopeDistribution::IMSIsotopeDistribution</a></div><div class="ttdeci">IMSIsotopeDistribution(const IMSIsotopeDistribution &distribution)</div><div class="ttdoc">Copy constructor. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:176</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a6127ddf604a3b6725378887fa2f03abc"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a6127ddf604a3b6725378887fa2f03abc">OpenMS::ims::IMSIsotopeDistribution::abundances_container</a></div><div class="ttdeci">std::vector< abundance_type > abundances_container</div><div class="ttdoc">Type of container with isotope abundances. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:142</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a592e95c9ad578d8488538a7e550c5471"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a592e95c9ad578d8488538a7e550c5471">OpenMS::ims::IMSIsotopeDistribution::IMSIsotopeDistribution</a></div><div class="ttdeci">IMSIsotopeDistribution(mass_type mass)</div><div class="ttdoc">Constructor with single isotope. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:162</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_ac57e0db1384ad7bca29e16a023e9993b"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ac57e0db1384ad7bca29e16a023e9993b">OpenMS::ims::IMSIsotopeDistribution::masses_container</a></div><div class="ttdeci">std::vector< mass_type > masses_container</div><div class="ttdoc">Type of container with isotope masses. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:133</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a847247924be90ef485116fb8baf0ccb3"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a847247924be90ef485116fb8baf0ccb3">OpenMS::ims::IMSIsotopeDistribution::SIZE</a></div><div class="ttdeci">static size_type SIZE</div><div class="ttdoc">Length of isotope distribution. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:154</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a254a4352042bdc7c9be3174c4a504d47"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a254a4352042bdc7c9be3174c4a504d47">OpenMS::ims::IMSIsotopeDistribution::nominal_mass_</a></div><div class="ttdeci">nominal_mass_type nominal_mass_</div><div class="ttdoc">Nominal mass of distribution. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:324</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_ab416bc416dd3cdc3b7ca434b0140adee"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ab416bc416dd3cdc3b7ca434b0140adee">OpenMS::ims::IMSIsotopeDistribution::const_masses_iterator</a></div><div class="ttdeci">masses_container::const_iterator const_masses_iterator</div><div class="ttdoc">Type of const iterator over container with isotope masses. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:139</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_ad6ec2604e7135e7baf65aeca5fd2521f"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ad6ec2604e7135e7baf65aeca5fd2521f">OpenMS::ims::IMSIsotopeDistribution::mass_type</a></div><div class="ttdeci">double mass_type</div><div class="ttdoc">Type of isotope mass. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:93</div></div>
<div class="ttc" id="classdouble_html"><div class="ttname"><a href="classdouble.html">double</a></div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a304f223a03250c12927bc35fb4bb9c55"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a304f223a03250c12927bc35fb4bb9c55">OpenMS::ims::IMSIsotopeDistribution::IMSIsotopeDistribution</a></div><div class="ttdeci">IMSIsotopeDistribution(nominal_mass_type nominalMass=0)</div><div class="ttdoc">Constructor with nominal mass. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:157</div></div>
<div class="ttc" id="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak_html_af23aca9a97cada7c2d59cd884c672bc1"><div class="ttname"><a href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#af23aca9a97cada7c2d59cd884c672bc1">OpenMS::ims::IMSIsotopeDistribution::Peak::mass</a></div><div class="ttdeci">mass_type mass</div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:113</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html">OpenMS::ims::IMSIsotopeDistribution</a></div><div class="ttdoc">Represents a distribution of isotopes restricted to the first K elements. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:88</div></div>
<div class="ttc" id="namespaceOpenSwath_html_a546b9a9117f4207e3cfc9ef2ea4aad3d"><div class="ttname"><a href="namespaceOpenSwath.html#a546b9a9117f4207e3cfc9ef2ea4aad3d">OpenSwath::normalize</a></div><div class="ttdeci">OPENSWATHALGO_DLLAPI void normalize(const std::vector< double > &intensities, double normalization_factor, std::vector< double > &normalized_intensities)</div><div class="ttdoc">Normalize intensities in vector by normalization_factor. </div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a69f068218f28e51c545cde186ae14f85"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a69f068218f28e51c545cde186ae14f85">OpenMS::ims::IMSIsotopeDistribution::getMass</a></div><div class="ttdeci">mass_type getMass(size_type i) const </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:251</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a3944c8895fad9d8714af2ad7b5ed7c1c"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a3944c8895fad9d8714af2ad7b5ed7c1c">OpenMS::ims::IMSIsotopeDistribution::IMSIsotopeDistribution</a></div><div class="ttdeci">IMSIsotopeDistribution(const peaks_container &peaks, nominal_mass_type nominalMass=0)</div><div class="ttdoc">Constructor with isotopes and nominal mass. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:169</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_ae939df1099c7e1293c3ddb928ed5c5bb"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ae939df1099c7e1293c3ddb928ed5c5bb">OpenMS::ims::IMSIsotopeDistribution::setNominalMass</a></div><div class="ttdeci">void setNominalMass(nominal_mass_type nominalMass)</div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:286</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_ac1a034524e404c7ef00e241608750990"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ac1a034524e404c7ef00e241608750990">OpenMS::ims::IMSIsotopeDistribution::const_peaks_iterator</a></div><div class="ttdeci">peaks_container::const_iterator const_peaks_iterator</div><div class="ttdoc">Type of const iterator over container with peaks. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:127</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a8219d7da3bb5f39a2d999576c82b4d1b"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8219d7da3bb5f39a2d999576c82b4d1b">OpenMS::ims::IMSIsotopeDistribution::size_type</a></div><div class="ttdeci">peaks_container::size_type size_type</div><div class="ttdoc">Type of peaks container&#39;s size. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:130</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a5350157293e03a3f5838c62555b2a03d"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a5350157293e03a3f5838c62555b2a03d">OpenMS::ims::IMSIsotopeDistribution::abundance_type</a></div><div class="ttdeci">double abundance_type</div><div class="ttdoc">Type of isotope abundance. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:96</div></div>
<div class="ttc" id="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak_html_abd8149c466c05720467b9fad1bf0b55c"><div class="ttname"><a href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#abd8149c466c05720467b9fad1bf0b55c">OpenMS::ims::IMSIsotopeDistribution::Peak::abundance</a></div><div class="ttdeci">abundance_type abundance</div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:114</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a1ae668cf040be6a6a4587088d3b65f9e"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a1ae668cf040be6a6a4587088d3b65f9e">OpenMS::ims::IMSIsotopeDistribution::peaks_container</a></div><div class="ttdeci">std::vector< peak_type > peaks_container</div><div class="ttdoc">Type of container to store peaks. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:121</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_acf35c608ebf2544f9aff1eef2414f9c5"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#acf35c608ebf2544f9aff1eef2414f9c5">OpenMS::ims::IMSIsotopeDistribution::masses_iterator</a></div><div class="ttdeci">masses_container::iterator masses_iterator</div><div class="ttdoc">Type of iterator over container with isotope masses. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:136</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a8c9c0593a9da8f73fb93c0deaec046ea"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a8c9c0593a9da8f73fb93c0deaec046ea">OpenMS::ims::IMSIsotopeDistribution::~IMSIsotopeDistribution</a></div><div class="ttdeci">~IMSIsotopeDistribution()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:182</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_ab71fb5d88ebf53bcac42afb9bc16d5ad"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ab71fb5d88ebf53bcac42afb9bc16d5ad">OpenMS::ims::IMSIsotopeDistribution::const_abundances_iterator</a></div><div class="ttdeci">abundances_container::const_iterator const_abundances_iterator</div><div class="ttdoc">Type of const iterator over container with isotope abundances. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:148</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_addb7baa719fd0a3a36c685913df4ba2c"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#addb7baa719fd0a3a36c685913df4ba2c">OpenMS::ims::IMSIsotopeDistribution::ABUNDANCES_SUM_ERROR</a></div><div class="ttdeci">static abundance_type ABUNDANCES_SUM_ERROR</div><div class="ttdoc">Error to be allowed for isotope distribution. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:151</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_afaf336b71b2603a88b22fe504f0ce3b4"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#afaf336b71b2603a88b22fe504f0ce3b4">OpenMS::ims::IMSIsotopeDistribution::nominal_mass_type</a></div><div class="ttdeci">unsigned int nominal_mass_type</div><div class="ttdoc">Type of isotope nominal mass. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:99</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_ae951f4b99fdb144e55034e116c3cc8af"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ae951f4b99fdb144e55034e116c3cc8af">OpenMS::ims::IMSIsotopeDistribution::getAbundance</a></div><div class="ttdeci">abundance_type getAbundance(size_type i) const </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:262</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a503ab01f6c0142145d3434f6924714e7"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a503ab01f6c0142145d3434f6924714e7">OpenMS::ims::IMSIsotopeDistribution::size</a></div><div class="ttdeci">size_type size() const </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:191</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_afe27112418634d174f6459bbbd974674"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#afe27112418634d174f6459bbbd974674">OpenMS::ims::IMSIsotopeDistribution::getNominalMass</a></div><div class="ttdeci">nominal_mass_type getNominalMass() const </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:279</div></div>
<div class="ttc" id="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak_html_af8f96810aa40412bc76a6274c7f49a37"><div class="ttname"><a href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#af8f96810aa40412bc76a6274c7f49a37">OpenMS::ims::IMSIsotopeDistribution::Peak::operator==</a></div><div class="ttdeci">bool operator==(const Peak &peak) const </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:108</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_ac6e61de369e994009e36f344f99c15ad"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ac6e61de369e994009e36f344f99c15ad">OpenMS::ims::IMSIsotopeDistribution::empty</a></div><div class="ttdeci">bool empty() const </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:317</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a139eb503fdda0bb9fcc11a2d9080f749"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a139eb503fdda0bb9fcc11a2d9080f749">OpenMS::ims::IMSIsotopeDistribution::peaks_</a></div><div class="ttdeci">peaks_container peaks_</div><div class="ttdoc">Container for isotopes. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:321</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_a828d3f003bfd30921f66a2185561b197"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#a828d3f003bfd30921f66a2185561b197">OpenMS::ims::IMSIsotopeDistribution::peaks_iterator</a></div><div class="ttdeci">peaks_container::iterator peaks_iterator</div><div class="ttdoc">Type of iterator over container with peaks. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:124</div></div>
<div class="ttc" id="classOpenMS_1_1ims_1_1IMSIsotopeDistribution_html_ab0b8bc9fe7c407dc8f592745bf7b7f9d"><div class="ttname"><a href="classOpenMS_1_1ims_1_1IMSIsotopeDistribution.html#ab0b8bc9fe7c407dc8f592745bf7b7f9d">OpenMS::ims::IMSIsotopeDistribution::abundances_iterator</a></div><div class="ttdeci">abundances_container::iterator abundances_iterator</div><div class="ttdoc">Type of iterator over container with isotope abundances. </div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:145</div></div>
<div class="ttc" id="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak_html_a85c241f8d8923e278b4038e8b5ce6672"><div class="ttname"><a href="structOpenMS_1_1ims_1_1IMSIsotopeDistribution_1_1Peak.html#a85c241f8d8923e278b4038e8b5ce6672">OpenMS::ims::IMSIsotopeDistribution::Peak::Peak</a></div><div class="ttdeci">Peak(mass_type mass=0.0, abundance_type abundance=0.0)</div><div class="ttdef"><b>Definition:</b> IMSIsotopeDistribution.h:104</div></div>
<div class="ttc" id="namespaceOpenMS_1_1ims_html_a98ad29ea6eda375e52432d546bdd9a48"><div class="ttname"><a href="namespaceOpenMS_1_1ims.html#a98ad29ea6eda375e52432d546bdd9a48">OpenMS::ims::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &os, const IMSAlphabet &alphabet)</div></div>
</div><!-- fragment --></div><!-- contents -->
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<TABLE width="100%" border="0">
<TR>
<TD><font color="#c0c0c0">OpenMS / TOPP release 1.11.1</font></TD>
<TD align="right"><font color="#c0c0c0">Documentation generated on Thu Nov 14 2013 11:19:15 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>
|