Changeset 3061 for trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc
- Timestamp:
- 02/08/04 22:17:27 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc
r3057 r3061 117 117 const Byte_t MCalibrationCalc::fgSaturationLimit = 254; 118 118 const Byte_t MCalibrationCalc::fgBlindPixelFirst = 3; 119 const Byte_t MCalibrationCalc::fgBlindPixelLast = 1 2;119 const Byte_t MCalibrationCalc::fgBlindPixelLast = 14; 120 120 121 121 // -------------------------------------------------------------------------- … … 507 507 { 508 508 509 Float_t blindpixelsum = 0.; 509 Float_t blindpixelsumhi = 0.; 510 Float_t blindpixelsumlo = 0.; 510 511 // 511 512 // We need a dedicated signal extractor for the blind pixel 512 513 // 513 514 MPedestalPix &ped = (*fPedestals)[pixid]; 514 if (!CalcSignalBlindPixel(pixel.GetHiGainSamples(), blindpixelsum , ped.GetPedestal()))515 if (!CalcSignalBlindPixel(pixel.GetHiGainSamples(), blindpixelsumhi, ped.GetPedestal())) 515 516 return kFALSE; 517 518 CalcSignalBlindPixel(pixel.GetLoGainSamples(), blindpixelsumlo, ped.GetPedestal()); 516 519 517 if (!blindpixel.FillCharge(blindpixelsum)) 520 blindpixel.FillGraphs(blindpixelsumhi,blindpixelsumlo); 521 522 if (!blindpixel.FillCharge(blindpixelsumhi)) 518 523 *fLog << warn << 519 "Overflow or Underflow occurred filling Blind Pixel sum = " << blindpixelsum << endl;524 "Overflow or Underflow occurred filling Blind Pixel sum = " << blindpixelsumhi << endl; 520 525 521 // if (!blindpixel.FillRChargevsTime(blindpixelsum,fEvents))522 // *fLog << warn <<523 // "Overflow or Underflow occurred filling Blind Pixel eventnr = " << fEvents << endl;524 526 } /* if use blind pixel */ 525 527 … … 684 686 } 685 687 688 blindpixel.CheckOscillations(); 689 686 690 fCalibrations->SetBlindPixelMethodValid(kTRUE); 687 691 blindpixel.DrawClone();
Note:
See TracChangeset
for help on using the changeset viewer.