|  | OpenMS
    2.6.0
    | 
 
 
  
  
 
Go to the documentation of this file.
   89     class OPENMS_DLLAPI ScoreMore
 
   93       template <
typename Arg>
 
   96 #pragma clang diagnostic push 
   97 #pragma clang diagnostic ignored "-Wfloat-equal" 
   98         if (a.getScore() != b.getScore())
 
   99 #pragma clang diagnostic pop
 
  101           return a.getScore() > b.getScore();
 
  103         return a.getAccession() > b.getAccession();
 
  112       template <
typename Arg>
 
  115 #pragma clang diagnostic push 
  116 #pragma clang diagnostic ignored "-Wfloat-equal" 
  117         if (a.getScore() != b.getScore())
 
  118 #pragma clang diagnostic pop
 
  120           return a.getScore() < b.getScore();
 
  122         return a.getAccession() < b.getAccession();
 
  165     double getScore() 
const;
 
  168     UInt getRank() 
const;
 
  171     const String & getSequence() 
const;
 
  174     const String & getAccession() 
const;
 
  177     String getDescription() 
const;
 
  180     double getCoverage() 
const;
 
  183     void setScore(
const double score);
 
  186     void setRank(
UInt newrank);
 
  189     void setSequence(
const String & sequence);
 
  192     void setAccession(
const String & accession);
 
  195     void setDescription(
const String & description);
 
  198     void setCoverage(
const double coverage);
 
  201     const std::set<std::pair<Size, ResidueModification> >& getModifications() 
const;
 
  204     void setModifications(std::set<std::pair<Size, ResidueModification> >& mods);
 
  
double coverage_
coverage of the protein based upon the matched peptide sequences
Definition: ProteinHit.h:212
Lesser predicate for scores of hits.
Definition: ProteinHit.h:109
bool operator()(const Arg &a, const Arg &b)
Definition: ProteinHit.h:113
size_t operator()(const ProteinHit *p)
Definition: ProteinHit.h:79
A more convenient string class.
Definition: String.h:59
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Representation of a protein hit.
Definition: ProteinHit.h:58
double score_
the score of the protein hit
Definition: ProteinHit.h:208
size_t operator()(const ProteinHit &p)
Definition: ProteinHit.h:70
Definition: ProteinHit.h:76
const String & getAccession() const
returns the accession of the protein
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
static const double COVERAGE_UNKNOWN
Definition: ProteinHit.h:62
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
bool operator()(const Arg &a, const Arg &b)
Definition: ProteinHit.h:94
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
std::set< std::pair< Size, ResidueModification > > modifications_
modified positions in a protein
Definition: ProteinHit.h:213
Hash of a ProteinHit based on its accession only!
Definition: ProteinHit.h:67
String sequence_
the amino acid sequence of the protein hit
Definition: ProteinHit.h:211
String accession_
the protein identifier
Definition: ProteinHit.h:210
UInt rank_
the position(rank) where the hit appeared in the hit list
Definition: ProteinHit.h:209