Changeset 4336
- Timestamp:
- 06/23/04 01:24:19 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc
r4335 r4336 113 113 SetAverageNbins(); 114 114 SetPulserFrequency(); 115 116 fHiGainOverflow = 0; 117 fLoGainOverflow = 0; 115 118 } 116 119 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.h
r4335 r4336 61 61 TArrayI fAverageSectorNum; // Number of pixels in average pixels per sector 62 62 TArrayI fRunNumbers; // Numbers of runs used 63 UInt_t fHiGainOverFlow; // Number of times overflow occurred in whole run 64 UInt_t fLoGainOverFlow; // Number of times overflow occurred in whole run 63 65 64 66 MBadPixelsCam *fBadPixels; //! Bad Pixels storage container -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.cc
r4326 r4336 522 522 const Float_t sumlo = pix.GetExtractedSignalLoGain(); 523 523 524 histhi.FillHistAndArray(sumhi); 525 histlo.FillHistAndArray(sumlo); 524 if (!histhi.FillHistAndArray(sumhi)) 525 fHiGainOverflow++; 526 if (!histlo.FillHistAndArray(sumlo)) 527 fLoGainOverflow++; 526 528 527 529 const Int_t sathi = (Int_t)pix.GetNumHiGainSaturated(); … … 634 636 { 635 637 638 if (fHiGainOverflow) 639 *fLog << warn << GetDescriptor() 640 << ": WARNING: Histogram Overflow has occurred " << fHiGainOverflow << " in the High-Gain! " << endl; 641 if (fLoGainOverflow) 642 *fLog << warn << GetDescriptor() 643 << ": WARNING: Histogram Overflow has occurred " << fLoGainOverflow << " in the Low-Gain! " << endl; 644 636 645 for (Int_t i=0; i<fHiGainArray->GetSize(); i++) 637 646 {
Note:
See TracChangeset
for help on using the changeset viewer.