39 static double compute(
double fragment_mass_tolerance,
40 bool fragment_mass_tolerance_unit_ppm,
49 size_t matched_b_ions = 0;
50 size_t matched_y_ions = 0;
51 double mean_error = 0.0;
55 bool fragment_mass_tolerance_unit_ppm,
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
An implementation of the X!Tandem HyperScore PSM scoring function.
Definition: HyperScore.h:25
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:26
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:48