|
OpenMS
2.6.0
|
Go to the documentation of this file.
47 class ChromatogramPeak;
55 private std::vector<ChromatogramPeak>,
64 public std::binary_function<MSChromatogram, MSChromatogram, bool>
90 typedef typename ContainerType::iterator
Iterator;
102 using ContainerType::operator[];
103 using ContainerType::begin;
104 using ContainerType::rbegin;
105 using ContainerType::end;
106 using ContainerType::rend;
107 using ContainerType::resize;
108 using ContainerType::size;
109 using ContainerType::push_back;
110 using ContainerType::pop_back;
111 using ContainerType::empty;
112 using ContainerType::front;
113 using ContainerType::back;
114 using ContainerType::reserve;
115 using ContainerType::insert;
116 using ContainerType::erase;
117 using ContainerType::swap;
119 using typename ContainerType::iterator;
120 using typename ContainerType::const_iterator;
121 using typename ContainerType::size_type;
122 using typename ContainerType::value_type;
123 using typename ContainerType::reference;
124 using typename ContainerType::const_reference;
125 using typename ContainerType::pointer;
126 using typename ContainerType::difference_type;
161 updateRanges_(ContainerType::begin(), ContainerType::end());
167 const String& getName()
const;
170 void setName(
const String& name);
175 double getMZ()
const;
189 const FloatDataArrays& getFloatDataArrays()
const;
194 FloatDataArrays& getFloatDataArrays();
199 float_data_arrays_ = fda;
203 const StringDataArrays& getStringDataArrays()
const;
206 StringDataArrays& getStringDataArrays();
211 string_data_arrays_ = sda;
215 const IntegerDataArrays& getIntegerDataArrays()
const;
218 IntegerDataArrays& getIntegerDataArrays();
223 integer_data_arrays_ = ida;
235 void sortByIntensity(
bool reverse =
false);
243 void sortByPosition();
246 bool isSorted()
const;
262 Size findNearest(CoordinateType rt)
const;
270 Iterator RTBegin(CoordinateType rt);
302 ConstIterator RTBegin(CoordinateType rt)
const;
310 ConstIterator RTBegin(ConstIterator begin, CoordinateType rt, ConstIterator end)
const;
318 ConstIterator RTEnd(CoordinateType rt)
const;
320 ConstIterator MZEnd(CoordinateType rt)
const;
328 ConstIterator RTEnd(ConstIterator begin, CoordinateType rt, ConstIterator end)
const;
338 Iterator PosBegin(CoordinateType rt);
358 ConstIterator PosBegin(CoordinateType rt)
const;
368 ConstIterator PosBegin(ConstIterator begin, CoordinateType rt, ConstIterator end)
const;
398 ConstIterator PosEnd(CoordinateType rt)
const;
408 ConstIterator PosEnd(ConstIterator begin, CoordinateType rt, ConstIterator end)
const;
415 void clear(
bool clear_meta_data);
Integer data array class.
Definition: DataArrays.h:52
FloatDataArrays float_data_arrays_
Float data arrays.
Definition: MSChromatogram.h:439
Comparator for the retention time.
Definition: MSChromatogram.h:63
A more convenient string class.
Definition: String.h:59
std::vector< IntegerDataArray > IntegerDataArrays
Definition: MSChromatogram.h:85
std::vector< FloatDataArray > FloatDataArrays
Definition: MSChromatogram.h:79
void setIntegerDataArrays(const IntegerDataArrays &ida)
Sets the integer meta data arrays.
Definition: MSChromatogram.h:221
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
std::vector< PeakType > ContainerType
Chromatogram base type.
Definition: MSChromatogram.h:76
IntegerDataArrays integer_data_arrays_
Integer data arrays.
Definition: MSChromatogram.h:445
OpenMS::DataArrays::StringDataArray StringDataArray
String data array vector type.
Definition: MSChromatogram.h:81
OpenMS::DataArrays::FloatDataArray FloatDataArray
Float data array vector type.
Definition: MSChromatogram.h:78
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Representation of chromatogram settings, e.g. SRM/MRM chromatograms.
Definition: ChromatogramSettings.h:59
Handles the management of a position and intensity range.
Definition: RangeManager.h:47
PeakType::CoordinateType CoordinateType
Coordinate (RT) type.
Definition: MSChromatogram.h:74
std::vector< StringDataArray > StringDataArrays
Definition: MSChromatogram.h:82
void setStringDataArrays(const StringDataArrays &sda)
Sets the string meta data arrays.
Definition: MSChromatogram.h:209
bool operator!=(const MSChromatogram &rhs) const
Equality operator.
Definition: MSChromatogram.h:152
A 1-dimensional raw data point or peak for chromatograms.
Definition: ChromatogramPeak.h:53
void updateRanges() override
Updates minimum and maximum position/intensity.
Definition: MSChromatogram.h:158
String data array class.
Definition: DataArrays.h:59
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
ContainerType::const_reverse_iterator ConstReverseIterator
Non-mutable reverse iterator.
Definition: MSChromatogram.h:97
ContainerType::iterator Iterator
Mutable iterator.
Definition: MSChromatogram.h:91
~MSChromatogram() override
Destructor.
Definition: MSChromatogram.h:139
ContainerType::reverse_iterator ReverseIterator
Mutable reverse iterator.
Definition: MSChromatogram.h:95
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
The representation of a chromatogram.
Definition: MSChromatogram.h:54
String name_
Name.
Definition: MSChromatogram.h:436
OpenMS::DataArrays::IntegerDataArray IntegerDataArray
Integer data array vector type.
Definition: MSChromatogram.h:84
ContainerType::const_iterator ConstIterator
Non-mutable iterator.
Definition: MSChromatogram.h:93
ChromatogramPeak PeakType
Definition: MSChromatogram.h:72
StringDataArrays string_data_arrays_
String data arrays.
Definition: MSChromatogram.h:442
void setFloatDataArrays(const FloatDataArrays &fda)
Sets the float meta data arrays.
Definition: MSChromatogram.h:197
Float data array class.
Definition: DataArrays.h:45