Ignore:
Timestamp:
02/09/04 15:44:04 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3052 r3069  
    2424
    2525//////////////////////////////////////////////////////////////////////////////
    26 //                                                                       
    27 //  MGeomApply                                                           
    28 //                                                                       
     26//
     27//  MGeomApply
     28//
    2929//  Applies the geometry to geometry dependant containers.
    3030//
     
    3333//
    3434//   MPedestalCam
     35//   MCalibrationCam
     36//   MPedPhotCam
     37//   MExtractedSignalCam
    3538//   MBlindPixels
     39//   MArrivalTime
    3640//
    3741//  It uses the geometry (MGeomCam) found in the parameter list.
     
    4549//  Output Containers:
    4650//   [MPedestalCam]
     51//   [MCalibrationCam]
     52//   [MPedPhotCam]
     53//   [MExtractedSignalCam]
    4754//   [MBlindPixels]
     55//   [MArrivalTime]
    4856//
    4957//////////////////////////////////////////////////////////////////////////////
     
    114122    // the use of some camera files from the 0.7 beta version in which the
    115123    // array containing pixel ratios is not initialized.
    116 
    117124    cam->CalcPixRatio();
    118125
    119126    MPedestalCam *ped = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam"));
    120127    if (ped)
    121       ped->InitSize(cam->GetNumPixels());
    122 
     128        ped->InitSize(cam->GetNumPixels());
    123129
    124130    MCalibrationCam *cal = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationCam"));
    125131    if (cal)
    126       cal->InitSize(cam->GetNumPixels());
    127 
     132        cal->InitSize(cam->GetNumPixels());
    128133
    129134    MPedPhotCam *pedphot = (MPedPhotCam*)pList->FindObject(AddSerialNumber("MPedPhotCam"));
    130135    if (pedphot)
    131       pedphot->InitSize(cam->GetNumPixels());
     136        pedphot->InitSize(cam->GetNumPixels());
    132137
    133138    MExtractedSignalCam *ext = (MExtractedSignalCam*)pList->FindObject(AddSerialNumber("MExtractedSignalCam"));
    134139    if (ext)
    135       ext->InitSize(cam->GetNumPixels());
     140        ext->InitSize(cam->GetNumPixels());
    136141
    137142    MBlindPixels *bnd = (MBlindPixels*)pList->FindObject(AddSerialNumber("MBlindPixels"));
    138143    if (bnd)
    139       bnd->InitSize(cam->GetNumPixels());
     144        bnd->InitSize(cam->GetNumPixels());
    140145
    141146    MArrivalTime *tme = (MArrivalTime*)pList->FindObject(AddSerialNumber("MArrivalTime"));
    142147    if (tme)
    143       tme->InitSize(cam->GetNumPixels());
     148        tme->InitSize(cam->GetNumPixels());
    144149
    145150    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.