00001 #ifndef _MS1_TO_MS2_H_ 00002 #define _MS1_TO_MS2_H_ 00003 00004 struct MS1ToMS2 00005 { 00006 int pMS2Scans[MAX_NO_MS2_SCANS_PER_PEAK]; 00007 int nMS2Scans; 00008 } ; 00009 00010 typedef struct MS1ToMS2 MS1ToMS2; 00011 00012 MS1ToMS2* MS1ToMS2_createArray(int size, int start); 00013 void MS1ToMS2_initArray(MS1ToMS2* array, int start, int stop); 00014 void MS1ToMS2_fprint(FILE* fp, MS1ToMS2* ms1toms2); 00015 void MS1ToMS2Array_fprint(FILE* fp, MS1ToMS2* ms1toms2, int start, int stop); 00016 00017 MS1ToMS2* MS1ToMS2Maping_useFittedMap(Map2D* map_temp, int nSave, 00018 Peak2i* MS2_PEAKS, int nMS2_PEAKS, 00019 FPeak2i* pFPeaks, int nFPeaks); 00020 00021 MS1ToMS2* MS1ToMS2Maping_useDistance(Map2D* map, 00022 Peak2i* pMS2_PEAKS, int nMS2_PEAKS, 00023 FPeak2i* pFPeaks, int nFPeaks); 00024 00025 #endif 00026