58 return "SpectrumPrecursorComparator";
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
static PeakSpectrumCompareFunctor * create()
Definition: SpectrumPrecursorComparator.h:53
static const String getProductName()
Definition: SpectrumPrecursorComparator.h:56
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22