Ignore:
Timestamp:
09/14/04 20:55:46 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r5010 r5017  
    14321432
    14331433      MCalibrationBlindCamOneOldStyle blindresults;
    1434       blindresults.Copy(fCalibrationBlindCam);
     1434      if (IsIntensity())
     1435        blindresults.Copy(*fIntensBlindCam.GetCam());
     1436      else
     1437        blindresults.Copy(fCalibrationBlindCam);
    14351438
    14361439      blindext.SetExtractionType(MExtractBlindPixel::kIntegral);
     
    14431446
    14441447      MCalibrationBlindCamTwoNewStyle blindresults;
    1445       blindresults.Copy(fCalibrationBlindCam);
     1448
     1449      if (IsIntensity())
     1450        blindresults.Copy(*fIntensBlindCam.GetCam());
     1451      else
     1452        blindresults.Copy(fCalibrationBlindCam);
    14461453
    14471454      blindext.SetNumBlindPixels(blindresults.GetSize());
     
    15791586        //        plist.AddToList(&fIntensCalibrationPINDiode);
    15801587        plist.AddToList(&fIntensRelTimeCam);
     1588        plist.AddToList(&fIntensBadCam);
    15811589      }
    15821590    else
     
    19641972    if (IsIntensity())
    19651973      {
     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
    19661982        *fLog << inf << " - MCalibrationIntensityChargeCam..." << flush;
    19671983        if (fIntensCalibCam.Write()<=0)
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.h

    r4987 r5017  
    3131#ifndef MARS_MCalibrationQECam
    3232#include "MCalibrationQECam.h"
     33#endif
     34#ifndef MARS_MBadPixelsIntensityCam
     35#include "MBadPixelsIntensityCam.h"
    3336#endif
    3437#ifndef MARS_MBadPixelsCam
     
    8285  MExtractTime   *fTimeExtractor;                       // Arrival Time extractor
    8386 
    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 
    8589  MCalibrationIntensityChargeCam  fIntensCalibCam;      // Calibration conversion factors FADC2Phe for diff. intens.
    8690  MCalibrationChargeCam           fCalibrationCam;      // Calibration conversion factors FADC2Phe 
     
    143147  MCalibrationIntensityRelTimeCam &GetIntensRelTimeCam()     { return fIntensRelTimeCam; }
    144148  MCalibrationIntensityQECam      &GetIntensQECam()          { return fIntensQECam;      }
     149  MBadPixelsIntensityCam          &GetIntensBadCam()         { return fIntensBadCam;     } 
    145150
    146151  MCalibrationChargeCam           &GetCalibrationCam()       { return fCalibrationCam;   }
Note: See TracChangeset for help on using the changeset viewer.