Ignore:
Timestamp:
04/03/04 17:50:04 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MGeomApply.cc

    r3624 r3638  
    7272#include "MPedestalCam.h"
    7373#include "MCalibrationChargeCam.h"
     74#include "MCalibrationRelTimeCam.h"
    7475#include "MCalibrationQECam.h"
    7576#include "MPedPhotCam.h"
     
    134135        ped->InitSize(cam->GetNumPixels());
    135136
    136     MCalibrationChargeCam *cal = (MCalibrationChargeCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam"));
     137    MCalibrationChargeCam *cal =
     138      (MCalibrationChargeCam*)pList->FindObject(AddSerialNumber("MCalibrationChargeCam"));
    137139    if (cal)
    138140      {
    139         cal->InitSize(cam->GetNumPixels());
    140         cal->InitAverageAreas(cam->GetNumAreas());
    141         cal->InitAverageSectors(cam->GetNumSectors());
     141        cal->InitSize          ( cam->GetNumPixels()  );
     142        cal->InitAverageAreas  ( cam->GetNumAreas()   );
     143        cal->InitAverageSectors( cam->GetNumSectors() );
     144      }
     145
     146    MCalibrationRelTimeCam *cat =
     147      (MCalibrationRelTimeCam*)pList->FindObject(AddSerialNumber("MCalibrationRelTimeCam"));
     148    if (cat)
     149      {
     150        cat->InitSize          ( cam->GetNumPixels()  );
     151        cat->InitAverageAreas  ( cam->GetNumAreas()   );
     152        cat->InitAverageSectors( cam->GetNumSectors() );
    142153      }
    143154   
    144 
    145     MCalibrationQECam *qe = (MCalibrationQECam*)pList->FindObject(AddSerialNumber("MCalibrationQECam"));
     155    MCalibrationQECam *qe =
     156      (MCalibrationQECam*)pList->FindObject(AddSerialNumber("MCalibrationQECam"));
    146157    if (qe)
    147158        qe->InitSize(cam->GetNumPixels());
     
    151162        pedphot->InitSize(cam->GetNumPixels());
    152163
     164
    153165    MExtractedSignalCam *ext = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam"));
    154166    if (ext)
    155167        ext->InitSize(cam->GetNumPixels());
    156168
     169
    157170    MBlindPixels *bnd = (MBlindPixels*)pList->FindObject(AddSerialNumber("MBlindPixels"));
    158171    if (bnd)
  • trunk/MagicSoft/Mars/manalysis/MMcCalibrationUpdate.cc

    r3425 r3638  
    239239    for (int i=0; i<num; i++)
    240240    {
    241         MCalibrationChargePix &calpix = (*fCalCam)[i];
     241        MCalibrationChargePix &calpix = (MCalibrationChargePix&)(*fCalCam)[i];
    242242
    243243        calpix.SetBlindPixelMethodValid();
     
    305305        MPedPhotPix &pedpix = (*fPedPhotCam)[i];
    306306
    307         MCalibrationChargePix &calpix = (*fCalCam)[i];
     307        MCalibrationChargePix &calpix = (MCalibrationChargePix&)(*fCalCam)[i];
    308308        Float_t adc2phot = calpix.GetMeanConversionBlindPixelMethod();
    309309        Float_t hi2lo    = calpix.GetConversionHiLo();
Note: See TracChangeset for help on using the changeset viewer.