Changeset 18835 for trunk


Ignore:
Timestamp:
04/18/17 17:04:49 (8 years ago)
Author:
tbretz
Message:
Allow to reset the calibration as obtained from the file - this is as using zfits on a factfits file during runtime.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/factfits.h

    r18119 r18835  
    3838    }
    3939
    40         const std::vector<int16_t> &GetOffsetCalibration() const { return fOffsetCalibration; }
     40    const std::vector<int16_t> &GetOffsetCalibration() const { return fOffsetCalibration; }
     41
     42    void resetCalibration() { fOffsetCalibration.clear(); }
    4143
    4244private:
Note: See TracChangeset for help on using the changeset viewer.