Changeset 18889


Ignore:
Timestamp:
06/24/17 10:57:56 (7 years ago)
Author:
tbretz
Message:
Propagate some variables as references where it makes sense.
Location:
trunk/FACT++/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DataWriteFits.h

    r17329 r18889  
    2828
    2929public:
    30     DataWriteFits(const std::string path, uint64_t night,  uint32_t runid, MessageImp &imp) :
     30    DataWriteFits(const std::string &path, uint64_t night,  uint32_t runid, MessageImp &imp) :
    3131        DataProcessorImp(path, night, runid, imp), fConv(0), fFile(imp)
    3232    {
  • trunk/FACT++/src/DataWriteFits2.cc

    r18600 r18889  
    1111using namespace std;
    1212
    13 DataWriteFits2::DataWriteFits2(const std::string path, uint64_t night, uint32_t runid, MessageImp &imp)
     13DataWriteFits2::DataWriteFits2(const std::string &path, uint64_t night, uint32_t runid, MessageImp &imp)
    1414    : DataProcessorImp(path, night, runid, imp)
    1515{
     
    1717}
    1818
    19 DataWriteFits2::DataWriteFits2(const std::string path, uint64_t night, uint32_t runid, const DrsCalibration &cal, MessageImp &imp)
     19DataWriteFits2::DataWriteFits2(const std::string &path, uint64_t night, uint32_t runid, const DrsCalibration &cal, MessageImp &imp)
    2020    : DataProcessorImp(path, night, runid, imp)
    2121{
  • trunk/FACT++/src/DataWriteFits2.h

    r17329 r18889  
    2525
    2626public:
    27     DataWriteFits2(const std::string path, uint64_t night, uint32_t runid, MessageImp &imp);
    28     DataWriteFits2(const std::string path, uint64_t night, uint32_t runid, const DrsCalibration &cal, MessageImp &imp);
     27    DataWriteFits2(const std::string &path, uint64_t night, uint32_t runid, MessageImp &imp);
     28    DataWriteFits2(const std::string &path, uint64_t night, uint32_t runid, const DrsCalibration &cal, MessageImp &imp);
    2929
    3030    bool Open(const RUN_HEAD &h, const FAD::RunDescription &d);
Note: See TracChangeset for help on using the changeset viewer.