The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
Base class for compare functors of spectra, that return a similarity value for two spectra.
Definition: PeakSpectrumCompareFunctor.h:28
SpectrumPrecursorComparator compares just the parent mass of two spectra.
Definition: SpectrumPrecursorComparator.h:25
double operator()(const PeakSpectrum &a, const PeakSpectrum &b) const override
function call operator, calculates the similarity
SpectrumPrecursorComparator(const SpectrumPrecursorComparator &source)
copy constructor
SpectrumPrecursorComparator()
default constructor
SpectrumPrecursorComparator & operator=(const SpectrumPrecursorComparator &source)
assignment operator
double operator()(const PeakSpectrum &a) const override
calculates self similarity
~SpectrumPrecursorComparator() override
destructor
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19