77       return std::tie(charge, shift, mz, intensity) < 
 
   83       double mz_diff = fabs(mz - other.
mz);
 
   84       double intensity_diff = fabs(intensity - other.
intensity);
 
   85       return (charge == other.
charge && shift == other.
shift && mz_diff < 1e-6 && intensity_diff < 1e-6); 
 
   89   static String getAnnotatedImmoniumIon(
char c, 
const String& fragment_shift_name);
 
   92   static std::vector<PeptideHit::PeakAnnotation> fragmentAnnotationDetailsToPHFA(
 
   94     std::map<
Size, std::vector<FragmentAnnotationDetail_> > ion_annotation_details);
 
   96   static std::vector<PeptideHit::PeakAnnotation> shiftedToPHFA(
 
   98     std::set<std::pair<String, double> > >& shifted_ions);
 
  101   static String shiftedIonsToString(
const std::vector<PeptideHit::PeakAnnotation>& as);
 
  103   static void addShiftedPeakFragmentAnnotation_(
const std::map<
Size, std::vector<FragmentAnnotationDetail_>>& shifted_b_ions,
 
  104                                          const std::map<
Size, std::vector<FragmentAnnotationDetail_>>& shifted_y_ions,
 
  105                                          const std::map<
Size, std::vector<FragmentAnnotationDetail_>>& shifted_a_ions,
 
  106                                          const std::vector<PeptideHit::PeakAnnotation>& shifted_immonium_ions,
 
  107                                          const std::vector<PeptideHit::PeakAnnotation>& annotated_marker_ions,
 
  108                                          const std::vector<PeptideHit::PeakAnnotation>& annotated_precursor_ions,
 
  109                                          std::vector<PeptideHit::PeakAnnotation>& fas);