Ignore:
Timestamp:
01/21/04 14:55:57 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2868 r2869  
    117117    return kTRUE;
    118118
    119   if ( ! pList->FindCreateObj(AddSerialNumber("MCalibrationCam")))
     119  fCalCam = (MCalibrationCam*) pList->FindCreateObj(AddSerialNumber("MCalibrationCam"));
     120  if ( !fCalCam )
    120121    {
    121122      *fLog << err << dbginf << "Cannot create MCalibrationCam... aborting." << endl;
     
    135136      *fLog << err << dbginf << "Cannot find MExtractedSignalCam... aborting." << endl;
    136137      return kFALSE;
    137     }
    138 
    139     fCalCam = (MCalibrationCam*)pList->FindObject(AddSerialNumber("MCalibrationCam"));
    140 
    141     if (!fCalCam)
    142     {
    143         *fLog << err << dbginf << "Could not create MCalibrationCam... aborting. " << endl;
    144         return kFALSE;
    145138    }
    146139
Note: See TracChangeset for help on using the changeset viewer.