Changeset 407 in Sophya for trunk/Poubelle/archTOI.old/toiiter.cc
- Timestamp:
- Sep 18, 1999, 2:08:23 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/toiiter.cc
r406 r407 1 1 // toiiter.cc 2 2 // Eric Aubourg CEA/DAPNIA/SPP juillet 1999 3 4 #ifndef nb_max_bolo 5 #define _archeops // Acquisition Archeops (avec transputer) 6 #define programme 7 extern "C" { 8 #include "archeops.h" 9 } 10 #endif 3 11 4 12 … … 204 212 switch ((*i).kind) { 205 213 case boloTens: 214 case boloTens2: 206 215 case boloRaw: 207 trigMask |= block_bolo_mask; 208 break; 216 case boloRes: 217 case boloTemp: 218 case boloRawCN: 219 case boloTens2T: 220 trigMask |= block_bolo_mask; 221 break; 222 case boloGainAmpli: 223 trigMask |= block_reglage_mask; 224 break; 209 225 case gpsTime: 210 226 case longitude: 211 227 case latitude: 212 228 case altitude: 213 214 229 trigMask |= block_gps_mask; 230 break; 215 231 case azimut: 216 217 218 232 file->needSSTProcessMask(SSTHandler::findPeriod); 233 trigMask |= block_sst_mask; 234 break; 219 235 case sstStarCnt: 220 236 case sstStarZ: 221 237 case sstStarF: 222 238 case sstStarT: 223 224 225 239 file->needSSTProcessMask(SSTHandler::findStars); 240 trigMask |= block_sst_mask; 241 break; 226 242 case sstDiode: 227 file->needSSTProcessMask(SSTHandler::permDiode); 228 trigMask |= block_sst_mask; 229 break; 243 case sstDiodeCN: 244 file->needSSTProcessMask(SSTHandler::permDiode); 245 trigMask |= block_sst_mask; 246 break; 230 247 case sstChannel: 231 trigMask |= block_sst_mask; 232 break; 248 case sstChannelCN: 249 trigMask |= block_sst_mask; 250 break; 233 251 case gyroRaw: 234 trigMask |= block_gyro_mask; 235 break; 252 case gyroTens: 253 trigMask |= block_gyro_mask; 254 break; 255 case gyroSpeed: 256 trigMask |= block_gyro_mask; // $CHECK$ + info to calibrate gyros 257 break; 236 258 case alphaAxis: 237 259 case deltaAxis: 260 case alphaSst: 261 case deltaSst: 238 262 case alphaBolo: 239 263 case deltaBolo: 240 241 242 264 file->needSSTProcessMask(SSTHandler::findAxis); 265 trigMask |= block_sst_mask; 266 break; 243 267 } 244 268 } … … 407 431 return true; 408 432 case boloTens: 433 case boloTens2: 434 case boloTens2T: 435 case boloRes: 436 case boloRawCN: 409 437 if (imes==0 && file->llastBolo()==NULL) return false; 410 438 return file->lastBolo() != NULL; 411 439 case boloRaw: 412 440 return file->lastBolo() != NULL; 441 case boloGainAmpli: 442 return file->lastReglage() != NULL; 413 443 case sstDiode: 414 444 case sstChannel: 445 case sstDiodeCN: 446 case sstChannelCN: 415 447 return file->lastSST() != NULL; 416 448 case sstStarCnt: … … 423 455 } 424 456 case gyroRaw: 457 case gyroTens: 458 case gyroSpeed: 425 459 return (file->lastGyro() != NULL); 426 460 case gpsTime: … … 450 484 } 451 485 486 452 487 double TOIIter::getValue(int column) { 453 488 if (!initDone) Init(); … … 484 519 case boloRaw: 485 520 return file->getRawBolo(index, imes); 521 case boloGainAmpli: 522 return file->getGainAmpli(index); 486 523 case sstDiode: 487 524 return file->getSSTSignal(index, imes); … … 497 534 return file->getSSTStarT(index, imes); 498 535 case gyroRaw: 499 return file->getGyro(index, imes); 536 return file->getGyroRaw(index, imes); 537 case gyroTens: 538 return file->getGyroTens(index, imes); 539 case gyroSpeed: 540 return file->getGyroSpeed(index, imes); 500 541 case gpsTime: 501 542 return file->getGPSUTC(); … … 540 581 case boloRaw: 541 582 return file->blockNum() == file->getBoloBlockNum(); 583 case boloGainAmpli: 584 return file->blockNum() == file->getReglageBlockNum() && imes==0; 542 585 case sstChannel: 543 586 case sstDiode: … … 548 591 return file->blockNum() == file->getSSTBlockNum(); 549 592 case gyroRaw: 593 case gyroTens: 594 case gyroSpeed: 550 595 return file->blockNum() == file->getGyroBlockNum(); 551 596 case gpsTime:
Note:
See TracChangeset
for help on using the changeset viewer.