Changeset 5092


Ignore:
Timestamp:
09/16/04 21:08:58 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc

    r5057 r5092  
    335335}
    336336
    337 
    338337// --------------------------------------------------------------------------
    339338//
    340339// Creates new MHCalibrationCam only for the averaged areas:
    341340// the rest has to be retrieved directly, e.g. via:
    342 //  MHCalibrationCam *cam = MParList::FindObject("MHCalibrationCam");
     341//     MHCalibrationCam *cam = MParList::FindObject("MHCalibrationCam");
    343342//  -  cam->GetAverageSector(5).DrawClone();
    344343//  -  (*cam)[100].DrawClone()
     
    350349  // FIXME, this might be done faster and more elegant, by direct copy.
    351350  //
    352   MHCalibrationCam *cam = new MHCalibrationCam();
     351  MHCalibrationCam *cam = this->Clone();
    353352
    354353  cam->fRunNumbers             = fRunNumbers;
     354
     355  /*
    355356  cam->fPulserFrequency        = fPulserFrequency;
    356357  cam->fFlags                  = fFlags;
     
    358359  cam->fFirst                  = fFirst;
    359360  cam->fLast                   = fLast;
    360 
     361  */
    361362  if (!IsAverageing())
    362363    return cam;
Note: See TracChangeset for help on using the changeset viewer.