Changeset 3849 for trunk/MagicSoft/Mars
- Timestamp:
- 04/27/04 16:53:14 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3848 r3849 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2004/04/27: Markus Gaug 22 23 * mcalib/MCalibrationChargeCalc.cc 24 - set unsuitable pixels to excluded in MCalibrationChargePix, which 25 will not display them in the status display 26 20 27 21 28 2004/04/26: Abelardo Moralejo -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r3843 r3849 228 228 const Float_t MCalibrationChargeCalc::fgLambdaErrLimit = 0.2; 229 229 const Float_t MCalibrationChargeCalc::fgLambdaCheckLimit = 0.2; 230 const Float_t MCalibrationChargeCalc::fgPheErrLimit = 5.;230 const Float_t MCalibrationChargeCalc::fgPheErrLimit = 4.; 231 231 // -------------------------------------------------------------------------- 232 232 // … … 814 814 // - MBadPixelsPix::kMeanTimeInFirstBin 815 815 // - MBadPixelsPix::kMeanTimeInLast2Bins 816 //817 // Sets pixel to MBadPixelsPix::kUnreliableRun, if one of the following flags is set:818 816 // - MBadPixelsPix::kDeviatingNumPhes 819 817 // 818 // - Call MCalibrationPix::SetExcluded() for the bad pixels 819 // 820 820 void MCalibrationChargeCalc::FinalizeBadPixels() 821 821 { … … 825 825 826 826 MBadPixelsPix &bad = (*fBadPixels)[i]; 827 MCalibrationPix &pix = (*fCam)[i]; 827 828 828 829 if (bad.IsUncalibrated( MBadPixelsPix::kChargeIsPedestal)) … … 845 846 846 847 if (bad.IsUncalibrated( MBadPixelsPix::kDeviatingNumPhes )) 847 bad.SetUnsuitable( MBadPixelsPix::kUnreliableRun ); 848 bad.SetUnsuitable( MBadPixelsPix::kUnsuitableRun ); 849 // bad.SetUnsuitable( MBadPixelsPix::kUnreliableRun ); 850 851 if (bad.IsUnsuitable( MBadPixelsPix::kUnsuitableRun )) 852 pix.SetExcluded(); 853 848 854 } 849 855 } … … 981 987 << Form("%4.2f%s%4.2f",lowlim[aidx],",",upplim[aidx]) << "] in pixel " << i << endl; 982 988 bad.SetUncalibrated( MBadPixelsPix::kDeviatingNumPhes ); 983 bad.SetUnsuitable ( MBadPixelsPix::kUnreliableRun ); 989 bad.SetUnsuitable ( MBadPixelsPix::kUnsuitableRun ); 990 pix.SetExcluded(); 991 // bad.SetUnsuitable ( MBadPixelsPix::kUnreliableRun ); 984 992 continue; 985 993 } -
trunk/MagicSoft/Mars/mcalib/MHCalibrationTestCam.cc
r3845 r3849 461 461 const MHGausEvents &pix = (*this)[idx]; 462 462 463 if (pix.IsExcluded()) 464 return kFALSE; 465 463 466 switch (type) 464 467 { -
trunk/MagicSoft/Mars/mcalib/MHCalibrationTestPix.cc
r3846 r3849 52 52 const Int_t MHCalibrationTestPix::fgChargeNbins = 2000; 53 53 const Axis_t MHCalibrationTestPix::fgChargeFirst = -0.5; 54 const Axis_t MHCalibrationTestPix::fgChargeLast = 1999.5;54 const Axis_t MHCalibrationTestPix::fgChargeLast = 3999.5; 55 55 // -------------------------------------------------------------------------- 56 56 //
Note:
See TracChangeset
for help on using the changeset viewer.