Changeset 3937 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 05/03/04 13:41:03 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsPix.cc
r3839 r3937 64 64 // could be calibrated. 65 65 // 66 // T wo additional functions yield specific calibration information:67 // * IsCalibrationSignalOK() asks if the extracted calibration signal showed any inconsistency68 // * IsCalibrationResultOK() asks if the applied calibration can be used at all.66 // The third index (fInfo[2]) holds information about possible hardware mulfunctionning. The bits 67 // are coded in the following form: 68 // BIT(1 ): kHVNotNominal : The HV deviates more than 3% from the nominal value. 69 69 // 70 70 ///////////////////////////////////////////////////////////////////////////// … … 87 87 // 88 88 MBadPixelsPix::MBadPixelsPix(const char* name, const char* title) 89 : fInfo( 5)89 : fInfo(3) 90 90 { 91 91 fName = name ? name : "MBadPixelsPix"; 92 92 fTitle = title ? title : "Container storing bad pixel information for a single pixel"; 93 93 94 fInfo[0] = 0; 94 95 fInfo[1] = 0; 96 fInfo[2] = 0; 97 98 // memset(&fInfo,0,3*sizeof(Int_t)); 95 99 } 96 100 … … 121 125 void MBadPixelsPix::Merge(const MBadPixelsPix &pix) 122 126 { 123 124 125 126 127 128 127 const Int_t n = pix.fInfo.GetSize(); 128 if (n>fInfo.GetSize()) 129 fInfo.Set(n); 130 131 for (int i=0; i<n; i++) 132 fInfo[i] |= pix.fInfo[i]; 129 133 } 130 134 … … 156 160 157 161 /* 158 MCalibrationCalc - valid for the result of a calibration run:159 160 3 Hi-Gain saturated, no LoGain available161 162 4 Conversion Factor HiGain - LoGain not valid163 164 5 Cannot be calibrated at all165 6 Cannot be fitted - calibrated using Histogram Mean and RMS166 167 */168 169 /*170 162 171 163 Hardware defects which cannot be detected automatically by software. This might be stored at least in the data-base. I think we should wait until we implement these things... … … 182 174 Pixel out of L1T. (this is an important information, but not necessarily a defect, is it?) 183 175 184 In addition here are some cases which I think can be detected by software:185 - no signal186 - wrong signal187 - hv problem188 - dc problem189 - Conversion Factor HiGain - LoGain not valid (what does this mean?)190 - No calibration possible191 - No fit possible - calibrated using Histogram Mean and RMS192 - Mean Charge smaller than PedRMS193 - Sigma Charge smaller than PedRMS194 - Calib.methods inconsistency (there are in pricipal 6 combinations... do we need 6 bits?)195 - Gains oscillate (what does it mean?)196 - Sigma Arrival Time bigger than FADC window (from calib)197 - Mean Arrival Time at edge of FADC window (from calib)198 176 */
Note:
See TracChangeset
for help on using the changeset viewer.