Changeset 5017
- Timestamp:
- 09/14/04 20:55:46 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5015 r5017 43 43 - took out FindColor() which is now taken care of by 44 44 MCalibColorSet 45 - introduced MBadPixelsIntensityCam 45 46 46 47 * mhcalib/MHGausEvents.cc -
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
r4988 r5017 15 15 #endif 16 16 17 class T ClonesArray;17 class TObjArray; 18 18 19 19 class MCalibrationPix; … … 44 44 PulserColor_t fPulserColor; // Colour of the pulsed LEDs 45 45 46 TClonesArray *fPixels; // Array of MCalibrationPix, one per pixel 47 TClonesArray *fAverageAreas; // Array of MCalibrationPix, one per pixel area 48 TClonesArray *fAverageSectors; // Array of MCalibrationPix, one per camera sector 49 TClonesArray *fAverageBadAreas; // Array of MBadPixelsPix, one per pixel area 50 TClonesArray *fAverageBadSectors; // Array of MBadPixelsPix, one per camera sector 46 TObjArray *fPixels; //-> Array of MCalibrationPix, one per pixel 47 TObjArray *fAverageAreas; //-> Array of MCalibrationPix, one per pixel area 48 TObjArray *fAverageSectors; //-> Array of MCalibrationPix, one per camera sector 49 TObjArray *fAverageBadAreas; //-> Array of MBadPixelsPix, one per pixel area 50 TObjArray *fAverageBadSectors; //-> Array of MBadPixelsPix, one per camera sector 51 52 virtual void Add(const UInt_t a, const UInt_t b); 53 virtual void AddArea(const UInt_t a, const UInt_t b); 54 virtual void AddSector(const UInt_t a, const UInt_t b); 51 55 52 56 public: … … 97 101 void SetPulserColor ( const PulserColor_t col=kCT1 ) { fPulserColor = col; } 98 102 99 ClassDef(MCalibrationCam, 4) // Base class Container for Calibration Results Camera103 ClassDef(MCalibrationCam, 5) // Base class Container for Calibration Results Camera 100 104 }; 101 105 -
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.