Changeset 3470
- Timestamp:
- 03/11/04 15:05:20 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3469 r3470 23 23 * mbadpixels/MBadPixelsPix.h 24 24 - removed bits about validity of calibration methods 25 26 * mbadpixels/MBadPixelsCam.cc 27 - updated GetPixelContent 25 28 26 29 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r3465 r3470 237 237 Bool_t MBadPixelsCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const 238 238 { 239 val = (*this)[idx].GetInfo()[0]; 240 return (*this)[idx].IsOK(); 239 240 if (idx > GetSize()) 241 return kFALSE; 242 243 switch (type) 244 { 245 case 0: 246 val = (*this)[idx].GetInfo()[0]; 247 return (*this)[idx].IsOK(); 248 break; 249 case 1: 250 val = (*this)[idx].IsUnsuitableRun(); 251 return val; 252 break; 253 case 2: 254 val = (*this)[idx].IsUnsuitableEvt(); 255 return val; 256 break; 257 case 3: 258 val = (*this)[idx].IsUnreliableRun(); 259 return val; 260 break; 261 case 4: 262 val = (*this)[idx].IsHiGainBad(); 263 return val; 264 break; 265 case 5: 266 val = (*this)[idx].IsLoGainBad(); 267 return val; 268 break; 269 case 6: 270 val = (*this)[idx].IsCalibrationSignalOK(); 271 return val; 272 break; 273 case 7: 274 val = (*this)[idx].IsCalibrationFitOK(); 275 return val; 276 break; 277 case 8: 278 val = (*this)[idx].IsCalibrationOscillating(); 279 return val; 280 break; 281 case 9: 282 val = (*this)[idx].IsCalibrationResultOK(); 283 return val; 284 break; 285 case 10: 286 val = (*this)[idx].IsHiGainSaturation(); 287 return val; 288 break; 289 case 11: 290 val = (*this)[idx].IsLoGainSaturation(); 291 return val; 292 break; 293 case 12: 294 val = (*this)[idx].IsNotCalibrated(); 295 return val; 296 break; 297 case 13: 298 val = (*this)[idx].IsMeanTimeInLastBin(); 299 return val; 300 break; 301 case 14: 302 val = (*this)[idx].IsMeanTimeInFirstBin(); 303 return val; 304 break; 305 case 15: 306 val = (*this)[idx].IsLoGainOscillating(); 307 return val; 308 break; 309 case 16: 310 val = (*this)[idx].IsHiGainOscillating(); 311 return val; 312 break; 313 case 17: 314 val = (*this)[idx].IsConvHiLoNotValid(); 315 return val; 316 break; 317 case 18: 318 val = (*this)[idx].IsChargeSigmaNotValid(); 319 return val; 320 break; 321 case 19: 322 val = (*this)[idx].IsChargeRelErrNotValid(); 323 return val; 324 break; 325 case 20: 326 val = (*this)[idx].IsChargeErrNotValid(); 327 return val; 328 case 21: 329 val = (*this)[idx].IsChargeIsPedestal(); 330 return val; 331 case 22: 332 val = (*this)[idx].IsLoGainNotFitted(); 333 return val; 334 break; 335 case 23: 336 val = (*this)[idx].IsHiGainNotFitted(); 337 return val; 338 break; 339 default: 340 return kFALSE; 341 } 342 343 return kFALSE; 241 344 } 242 345
Note:
See TracChangeset
for help on using the changeset viewer.