Changeset 315 in Sophya for trunk/Poubelle/archTOI.old/archeopsfile.h
- Timestamp:
- Jun 15, 1999, 3:53:04 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/archeopsfile.h
r310 r315 6 6 #include <stack> 7 7 8 9 #ifndef nb_max_bolo 8 10 #define _archeops // Acquisition Archeops (avec transputer) 9 11 #define programme 10 11 12 extern "C" { 12 13 #include "archeops.h" 13 14 } 15 #endif 16 17 #include "ssthandler.h" 14 18 15 19 enum { … … 42 46 class BlockSet; 43 47 44 class ArchExc : public exception{48 class ArchExc { 45 49 public: 46 50 ArchExc(string s) : msg(s) {} … … 75 79 void pushMark(); // push current file position, and "last" blocks 76 80 void popMark(); // pops last file position and "last" blocks 77 81 78 82 void grabLastBlocs(ArcheopsFile const& oldFile); 79 83 84 block_type_modele* aheadBlock(); // internal buffer 80 85 block_type_modele* currentBlock(); // internal buffer 86 bool sameBlockNumAhead(); 81 87 82 88 block_type_param* lastParam(); // saved blocks, including current … … 101 107 // On travaille en MJD = JD - 2450000.0, = 9 octobre 1995 midi UTC 102 108 // 1er juillet 1999 minuit UTC = JD 2451360.5, MJD 1360.5 109 // Ces fonctions travaillent sur le dernier bloc GPS 103 110 int getGPSBlockNum(); 104 111 double getGPSUTC(); // en secondes depuis minuit UTC … … 106 113 double getGPSLat(); // degres, + = NORD 107 114 double getGPSLong(); // degres, + = EST 108 115 109 116 // Bolo 117 int getBoloBlockNum(); 110 118 long getRawBolo(int ibolo, int imesure); // donnee brute, avec seulement soustraction offset 111 119 double getMuVBolo(int ibolo, int imesure); // microvolts, filtre avec filtre carre 112 120 113 121 // SST, gyros, etc 122 int getSSTBlockNum(); 123 void needSSTProcessMask(int mask); 124 long getSSTSignal(int iDiode, int imesure); 114 125 115 126 double getAzimut(int imesure); … … 119 130 double getAlpha(int imesure); 120 131 double getDelta(int imesure); 121 122 132 123 133 protected: 124 134 BlockSet* blockSet; … … 128 138 void saveCurBlock(); 129 139 void postProcessBlock(); 140 141 void swapEntete(block_type_modele* blk); 142 void swapContent(block_type_modele* blk); 130 143 131 144 void computeMJD(string const& fname); 132 133 block_type_modele curBlock; 145 134 146 int curKind; 135 147 int curRawKind; 136 size_t curPos; 148 long curPos; 149 long peekPos; 137 150 size_t fLen; 138 151 FILE* f;
Note:
See TracChangeset
for help on using the changeset viewer.