Changeset 2869


Ignore:
Timestamp:
01/21/04 14:55:57 (21 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2867 r2869  
    1515       the filling of the MCalibrationCam container from Process to
    1616       ReInit, since it does not change on an event by event basis.
     17       Simplified PreProcess (MCalibrationCam was searched for twice).
    1718       Updated class description.
    1819
  • 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.