Changeset 2944 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/28/04 14:53:30 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2943 r2944  
    1111       method was OK. Up to now, program stopped, if one of the two
    1212       methods was chosen but not able to being executed.
    13  
     13
     14   * manalysis/MArrivalTimeCalc.cc
     15   * manalysis/MExtractSignals.cc
     16   * manalysis/MGeomApply.cc
     17     - put all missing InitSize(npixels) into MGeomApply         
     18
    1419
    1520 2004/01/28: Abelardo Moralejo
  • trunk/MagicSoft/Mars/manalysis/MArrivalTimeCalc.cc

    r2921 r2944  
    110110    }
    111111
    112     fArrTime->InitSize(cam->GetNumPixels());
    113 
    114112    return kTRUE;
    115113}
  • trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc

    r2901 r2944  
    135135Bool_t MExtractSignal::ReInit(MParList *pList )
    136136{
     137
    137138    MGeomCam *cam = (MGeomCam*)pList->FindObject(AddSerialNumber("MGeomCam"));
    138139    if (!cam)
     
    142143    }
    143144
    144     // FIXME: This solution may change in the future, MExtractedSignal
    145     //        must be similar to MCerPhotEvt not to MPedestalCam
    146     //        (Have to think about the mean size of both solutions)
    147     fSignals->InitSize(cam->GetNumPixels());   
    148 
    149     fArrivalTime->InitSize(cam->GetNumPixels());
    150 
    151     return kTRUE;
     145  return kTRUE;
    152146}
    153147
  • trunk/MagicSoft/Mars/manalysis/MGeomApply.cc

    r2899 r2944  
    6161#include "MCalibrationCam.h"
    6262#include "MPedPhotCam.h"
     63#include "MArrivalTime.h"
     64#include "MExtractedSignalCam.h"
    6365#include "MBlindPixels.h"
    6466
     
    130132
    131133
     134    MExtractedSignalCam *ext = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam"));
     135    if (ext)
     136      ext->InitSize(cam->GetNumPixels());
     137
    132138    MBlindPixels *bnd = (MBlindPixels*)pList->FindObject(AddSerialNumber("MBlindPixels"));
    133139    if (bnd)
    134140        bnd->InitSize(cam->GetNumPixels());
     141
     142    MArrivalTime *tme = (MArrivalTime*)pList->FindObject(AddSerialNumber("MArrivalTime"));
     143    if (tme)
     144        tme->InitSize(cam->GetNumPixels());
    135145
    136146    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.