Changeset 3560 for trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc
- Timestamp:
- 03/19/04 23:02:47 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc
r3559 r3560 83 83 // 84 84 // 26: Excluded Pixels 85 // 27: Pixels where the fit did not succeed --> results obtained only from the histograms 86 // 28: Number of probable pickup events in the Hi Gain 87 // 29: Number of probable pickup events in the Lo Gain 85 // 27: Number of probable pickup events in the Hi Gain 86 // 28: Number of probable pickup events in the Lo Gain 88 87 // 89 88 // Other classifications of pixels: 90 89 // ================================ 91 90 // 92 // 30: Pixels with saturated Hi-Gain91 // 29: Pixels with saturated Hi-Gain 93 92 // 94 93 // Used Pedestals: 95 94 // =============== 96 95 // 97 // 3 1: Mean Pedestal over the entire range of signal extraction98 // 3 2: Error on the Mean Pedestal over the entire range of signal extraction99 // 3 3: Pedestal RMS over the entire range of signal extraction100 // 3 4: Error on the Pedestal RMS over the entire range of signal extraction96 // 30: Mean Pedestal over the entire range of signal extraction 97 // 31: Error on the Mean Pedestal over the entire range of signal extraction 98 // 32: Pedestal RMS over the entire range of signal extraction 99 // 33: Error on the Pedestal RMS over the entire range of signal extraction 101 100 // 102 101 // Calculated absolute arrival times (very low precision!): 103 102 // ======================================================== 104 103 // 105 // 3 5: Absolute Arrival time of the signal106 // 3 6: RMS of the Absolute Arrival time of the signal104 // 34: Absolute Arrival time of the signal 105 // 35: RMS of the Absolute Arrival time of the signal 107 106 // 108 107 ///////////////////////////////////////////////////////////////////////////// … … 447 446 // 448 447 // 26: Excluded Pixels 449 // 27: Pixels where the fit did not succeed --> results obtained only from the histograms 450 // 28: Number of probable pickup events in the Hi Gain 451 // 29: Number of probable pickup events in the Lo Gain 448 // 27: Number of probable pickup events in the Hi Gain 449 // 28: Number of probable pickup events in the Lo Gain 452 450 // 453 451 // Other classifications of pixels: 454 452 // ================================ 455 453 // 456 // 30: Pixels with saturated Hi-Gain454 // 29: Pixels with saturated Hi-Gain 457 455 // 458 456 // Used Pedestals: 459 457 // =============== 460 458 // 461 // 3 1: Mean Pedestal over the entire range of signal extraction462 // 3 2: Error on the Mean Pedestal over the entire range of signal extraction463 // 3 3: Pedestal RMS over the entire range of signal extraction464 // 3 4: Error on the Pedestal RMS over the entire range of signal extraction459 // 30: Mean Pedestal over the entire range of signal extraction 460 // 31: Error on the Mean Pedestal over the entire range of signal extraction 461 // 32: Pedestal RMS over the entire range of signal extraction 462 // 33: Error on the Pedestal RMS over the entire range of signal extraction 465 463 // 466 464 // Calculated absolute arrival times (very low precision!): 467 465 // ======================================================== 468 466 // 469 // 3 5: Absolute Arrival time of the signal470 // 3 6: RMS of the Absolute Arrival time of the signal467 // 34: Absolute Arrival time of the signal 468 // 35: RMS of the Absolute Arrival time of the signal 471 469 // 472 470 Bool_t MCalibrationChargeCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const … … 656 654 if ((*this)[idx].IsExcluded()) 657 655 return kFALSE; 658 if (!(*this)[idx].IsFitted()) 659 val = 1; 660 else 661 return kFALSE; 656 val = (*this)[idx].GetHiGainNumPickup(); 662 657 break; 663 658 case 28: 664 659 if ((*this)[idx].IsExcluded()) 665 660 return kFALSE; 666 val = (*this)[idx].Get HiGainNumPickup();661 val = (*this)[idx].GetLoGainNumPickup(); 667 662 break; 668 663 case 29: 669 664 if ((*this)[idx].IsExcluded()) 670 665 return kFALSE; 671 val = (*this)[idx]. GetLoGainNumPickup();666 val = (*this)[idx].IsHiGainSaturation(); 672 667 break; 673 668 case 30: 674 669 if ((*this)[idx].IsExcluded()) 675 670 return kFALSE; 676 val = (*this)[idx]. IsHiGainSaturation();671 val = (*this)[idx].GetPed(); 677 672 break; 678 673 case 31: 679 674 if ((*this)[idx].IsExcluded()) 680 675 return kFALSE; 681 val = (*this)[idx].GetPed ();676 val = (*this)[idx].GetPedErr(); 682 677 break; 683 678 case 32: 684 679 if ((*this)[idx].IsExcluded()) 685 680 return kFALSE; 686 val = (*this)[idx].GetPed Err();681 val = (*this)[idx].GetPedRms(); 687 682 break; 688 683 case 33: 689 684 if ((*this)[idx].IsExcluded()) 690 685 return kFALSE; 691 val = (*this)[idx].GetPed Rms();686 val = (*this)[idx].GetPedErr()/2.; 692 687 break; 693 688 case 34: 694 689 if ((*this)[idx].IsExcluded()) 695 690 return kFALSE; 696 val = (*this)[idx].Get PedErr()/2.;691 val = (*this)[idx].GetAbsTimeMean(); 697 692 break; 698 693 case 35: 699 if ((*this)[idx].IsExcluded())700 return kFALSE;701 val = (*this)[idx].GetAbsTimeMean();702 break;703 case 36:704 694 if ((*this)[idx].IsExcluded()) 705 695 return kFALSE;
Note:
See TracChangeset
for help on using the changeset viewer.