Changeset 5017 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 09/14/04 20:55:46 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r5010 r5017 1432 1432 1433 1433 MCalibrationBlindCamOneOldStyle blindresults; 1434 blindresults.Copy(fCalibrationBlindCam); 1434 if (IsIntensity()) 1435 blindresults.Copy(*fIntensBlindCam.GetCam()); 1436 else 1437 blindresults.Copy(fCalibrationBlindCam); 1435 1438 1436 1439 blindext.SetExtractionType(MExtractBlindPixel::kIntegral); … … 1443 1446 1444 1447 MCalibrationBlindCamTwoNewStyle blindresults; 1445 blindresults.Copy(fCalibrationBlindCam); 1448 1449 if (IsIntensity()) 1450 blindresults.Copy(*fIntensBlindCam.GetCam()); 1451 else 1452 blindresults.Copy(fCalibrationBlindCam); 1446 1453 1447 1454 blindext.SetNumBlindPixels(blindresults.GetSize()); … … 1579 1586 // plist.AddToList(&fIntensCalibrationPINDiode); 1580 1587 plist.AddToList(&fIntensRelTimeCam); 1588 plist.AddToList(&fIntensBadCam); 1581 1589 } 1582 1590 else … … 1964 1972 if (IsIntensity()) 1965 1973 { 1974 *fLog << inf << " - MBadPixelsIntensityCam..." << flush; 1975 if (fIntensBadCam.Write()<=0) 1976 { 1977 *fLog << err << "Unable to write MBadPixelsIntensityCam to " << oname << endl; 1978 return kFALSE; 1979 } 1980 *fLog << inf << "ok." << endl; 1981 1966 1982 *fLog << inf << " - MCalibrationIntensityChargeCam..." << flush; 1967 1983 if (fIntensCalibCam.Write()<=0) -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r4987 r5017 31 31 #ifndef MARS_MCalibrationQECam 32 32 #include "MCalibrationQECam.h" 33 #endif 34 #ifndef MARS_MBadPixelsIntensityCam 35 #include "MBadPixelsIntensityCam.h" 33 36 #endif 34 37 #ifndef MARS_MBadPixelsCam … … 82 85 MExtractTime *fTimeExtractor; // Arrival Time extractor 83 86 84 MBadPixelsCam fBadPixels; // Bad Pixels cam, can be set from previous runs 87 MBadPixelsIntensityCam fIntensBadCam; // Bad Pixels cam, can be set from previous runs 88 MBadPixelsCam fBadPixels; // Bad Pixels cam, can be set from previous runs 85 89 MCalibrationIntensityChargeCam fIntensCalibCam; // Calibration conversion factors FADC2Phe for diff. intens. 86 90 MCalibrationChargeCam fCalibrationCam; // Calibration conversion factors FADC2Phe … … 143 147 MCalibrationIntensityRelTimeCam &GetIntensRelTimeCam() { return fIntensRelTimeCam; } 144 148 MCalibrationIntensityQECam &GetIntensQECam() { return fIntensQECam; } 149 MBadPixelsIntensityCam &GetIntensBadCam() { return fIntensBadCam; } 145 150 146 151 MCalibrationChargeCam &GetCalibrationCam() { return fCalibrationCam; }
Note:
See TracChangeset
for help on using the changeset viewer.