65 static double compute(
double fragment_mass_tolerance,
66 bool fragment_mass_tolerance_unit_ppm,
75 size_t matched_b_ions = 0;
76 size_t matched_y_ions = 0;
77 double mean_error = 0.0;
81 bool fragment_mass_tolerance_unit_ppm,
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
An implementation of the X!Tandem HyperScore PSM scoring function.
Definition: HyperScore.h:51
static double computeWithDetail(double fragment_mass_tolerance, bool fragment_mass_tolerance_unit_ppm, const PeakSpectrum &exp_spectrum, const PeakSpectrum &theo_spectrum, PSMDetail &d)
static double logfactorial_(const int x, int base=2)
helper to compute the log factorial
std::pair< Size, double > IndexScorePair
Definition: HyperScore.h:52
static double compute(double fragment_mass_tolerance, bool fragment_mass_tolerance_unit_ppm, const PeakSpectrum &exp_spectrum, const PeakSpectrum &theo_spectrum)
compute the (ln transformed) X!Tandem HyperScore 1. the dot product of peak intensities between match...
compute the (ln transformed) X!Tandem HyperScore overload that returns some additional information on...
Definition: HyperScore.h:74