Changeset 8024 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
10/08/06 15:36:17 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8023 r8024  
    4747     - removed a memory leak by removing the functions creating the
    4848       axes
     49
     50   * mcalib/MMcCalibrationCalc.cc, mmc/MMcConfigRunHeader.h:
     51     - return and use a const-reference to the TArrayF's
    4952
    5053
  • trunk/MagicSoft/Mars/mcalib/MMcCalibrationCalc.cc

    r7188 r8024  
    224224      return kFALSE;
    225225    }
    226   TArrayF innerlightcoll = mcconfig->GetLightCollectionFactor();
    227   TArrayF outerlightcoll = mcconfig->GetLightCollectionFactorOuter();
     226  const TArrayF &innerlightcoll = mcconfig->GetLightCollectionFactor();
     227  const TArrayF &outerlightcoll = mcconfig->GetLightCollectionFactorOuter();
    228228
    229229  // In principle outer pixels seem to have a different average light
Note: See TracChangeset for help on using the changeset viewer.