OpenMS  2.4.0
Public Member Functions | Protected Attributes | List of all members
TargetedSpectraExtractor::Comparator Class Referenceabstract

#include <OpenMS/ANALYSIS/OPENSWATH/TargetedSpectraExtractor.h>

Inheritance diagram for TargetedSpectraExtractor::Comparator:
TargetedSpectraExtractor::BinnedSpectrumComparator

Public Member Functions

virtual void generateScores (const MSSpectrum &spec, std::vector< std::pair< Size, double >> &scores, double min_score) const =0
 
virtual void init (const std::vector< MSSpectrum > &library, const std::map< String, DataValue > &options)=0
 
const std::vector< MSSpectrum > & getLibrary () const
 

Protected Attributes

std::vector< MSSpectrumlibrary_
 

Member Function Documentation

◆ generateScores()

virtual void generateScores ( const MSSpectrum spec,
std::vector< std::pair< Size, double >> &  scores,
double  min_score 
) const
pure virtual

◆ getLibrary()

const std::vector<MSSpectrum>& getLibrary ( ) const
inline

◆ init()

virtual void init ( const std::vector< MSSpectrum > &  library,
const std::map< String, DataValue > &  options 
)
pure virtual

Member Data Documentation

◆ library_

std::vector<MSSpectrum> library_
protected