00001 #ifndef _SCORE_H_
00002 #define _SCORE_H_
00003
00004 struct Score
00005 {
00006 unsigned flavorFound :1;
00007
00008
00009
00010 int rank;
00011 float correlation;
00012
00013
00014 int ion_num;
00015 int ion_denom;
00016
00017
00018 float charge;
00019 char flavor[14];
00020
00021
00022 IonCounter IC;
00023
00024
00025
00026 Peptide* peptide;
00027 MS_MS_SpectrumHeader* specHeader;
00028 } ;
00029
00030 typedef struct Score Score;
00031
00032 void Score_init(Score* score);
00033 void Score_destroy(Score* score);
00034 void Score_print(Score* score);
00035 int Score_cmpByCorrelation(void* s1, void* s2);
00036
00037
00038 #endif
00039
00040