Ignore:
Timestamp:
09/15/04 23:18:04 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationIntensityCam.cc

    r5046 r5052  
    359359MCalibrationCam *MCalibrationIntensityCam::GetCam(Int_t i)
    360360{
    361   return static_cast<MCalibrationCam*>(fCams->Last());
     361  return static_cast<MCalibrationCam*>(i==-1 ? fCams->Last() : fCams->At(i));
    362362}
    363363
     
    368368const MCalibrationCam *MCalibrationIntensityCam::GetCam(Int_t i) const
    369369{
    370   return static_cast<MCalibrationCam*>(fCams->Last());
     370  return static_cast<MCalibrationCam*>(i==-1 ? fCams->Last() : fCams->At(i));
    371371}
    372372
Note: See TracChangeset for help on using the changeset viewer.