sequence/ion_counter.h
00001 #ifndef _ION_COUNTER_H_
00002 #define _ION_COUNTER_H_
00003
00004 typedef struct
00005 {
00006 int PRED_TOTAL;
00007 int REAL_TOTAL;
00008 int PRED_EFF_TOTAL;
00009 int PRED_EFF_HALF;
00010
00011 int aminoHits;
00012 int carboxyHits;
00013 int predHits;
00014 int realHits;
00015
00016 short *aminoArray;
00017 short *carboxyArray;
00018 short *predArray;
00019 short *realArray;
00020
00021 struct MS_MS_Spectrum* predSpec;
00022 struct MS_MS_Spectrum* realSpec;
00023
00024 int** ionMatrix;
00025 } IonCounter;
00026
00027 void createIonCounter(IonCounter *ic, struct MS_MS_Spectrum *real, struct MS_MS_Spectrum *pred);
00028 void resetIonCounter(IonCounter *ic);
00029 void destroyIonCounter(IonCounter *ic);
00030 void printIonCounter(IonCounter ic);
00031 void updateIonCounter(IonCounter *ic, LPeak2f *peak);
00032
00033 #endif
00034
Generated on Sun Feb 13 01:06:00 2005 for MapQuant by
1.3.7