Changeset 17248 for trunk/Mars/mcore


Ignore:
Timestamp:
10/18/13 13:26:43 (11 years ago)
Author:
tbretz
Message:
Moved the night argument to the end so that it can be omoitted
File:
1 edited

Legend:

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

    r17241 r17248  
    13771377    }
    13781378
    1379     std::string WriteFitsImp(const std::string &filename, uint32_t night, const std::vector<float> &vec) const
     1379    std::string WriteFitsImp(const std::string &filename, const std::vector<float> &vec, uint32_t night=0) const
    13801380    {
    13811381        const size_t n = 1440*1024*4 + 1440*fRoi*2 + fNumTm*fRoi*2 + 3;
     
    14071407
    14081408        file.SetDefaultKeys();
    1409         file.SetInt("NIGHT", night, "Night as int");
     1409        if (night>0)
     1410            file.SetInt("NIGHT", night, "Night as int");
    14101411
    14111412        file.SetStr("DATE-OBS", fDateObs, "First event of whole DRS calibration");
Note: See TracChangeset for help on using the changeset viewer.