Changeset 3736 for trunk/MagicSoft
- Timestamp:
- 04/14/04 17:05:46 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r3734 r3736 349 349 { 350 350 case 0: 351 val = (*this)[idx].GetInfo()[0]; 352 return (*this)[idx].IsOK(); 351 return (*this)[idx].GetInfo()[0]; 353 352 case 1: 354 val = (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnsuitableRun); 355 return val; 353 return (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnsuitableRun); 356 354 case 2: 357 val = (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnsuitableEvt); 358 return val; 355 return (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnsuitableEvt); 359 356 case 3: 360 val = (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnreliableRun); 361 return val; 357 return (*this)[idx].IsUnsuitable(MBadPixelsPix::kUnreliableRun); 362 358 case 4: 363 val = (*this)[idx].IsHiGainBad(); 364 return val; 359 return (*this)[idx].IsHiGainBad(); 365 360 case 5: 366 val = (*this)[idx].IsLoGainBad(); 367 return val; 361 return (*this)[idx].IsLoGainBad(); 368 362 case 6: 369 val = !(*this)[idx].IsCalibrationSignalOK(); 370 return val; 363 return !(*this)[idx].IsCalibrationSignalOK(); 371 364 case 7: 372 val = !(*this)[idx].IsCalibrationResultOK(); 373 return val; 365 return !(*this)[idx].IsCalibrationResultOK(); 374 366 case 8: 375 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainNotFitted); 376 return val; 367 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainNotFitted); 377 368 case 9: 378 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainNotFitted); 379 return val; 369 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainNotFitted); 380 370 case 10: 381 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainOscillating); 382 return val; 371 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kHiGainOscillating); 383 372 case 11: 384 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainOscillating); 385 return val; 373 return(*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainOscillating); 386 374 case 12: 387 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainSaturation ); 388 return val; 375 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kLoGainSaturation ); 389 376 case 13: 390 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeIsPedestal ); 391 return val; 377 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeIsPedestal ); 392 378 case 14: 393 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeErrNotValid); 394 return val; 379 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeErrNotValid); 395 380 case 15: 396 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeRelErrNotValid); 397 return val; 381 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeRelErrNotValid); 398 382 case 16: 399 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeSigmaNotValid ); 400 return val; 383 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kChargeSigmaNotValid ); 401 384 case 17: 402 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kMeanTimeInFirstBin ); 403 return val; 385 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kMeanTimeInFirstBin ); 404 386 case 18: 405 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kMeanTimeInLast2Bins ); 406 return val; 387 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kMeanTimeInLast2Bins ); 407 388 case 19: 408 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kDeviatingNumPhes ); 409 return val; 389 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kDeviatingNumPhes ); 410 390 case 20: 411 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeNotFitted ); 412 return val; 391 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeNotFitted ); 413 392 case 21: 414 val = (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeOscillating ); 415 return val; 393 return (*this)[idx].IsUncalibrated(MBadPixelsPix::kRelTimeOscillating ); 416 394 default: 417 395 return kFALSE;
Note:
See TracChangeset
for help on using the changeset viewer.