Changeset 12352 for trunk/FACT++/src


Ignore:
Timestamp:
10/31/11 20:00:36 (13 years ago)
Author:
tbretz
Message:
Adapted output of filenames.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DataCalib.cc

    r12343 r12352  
    6464
    6565    fProcessing = true;
    66 
    67     ostringstream name;
    68     name << "drs-calib-" << fData.fStep;
    69     fFileName = name.str();
    7066
    7167    Reset();
     
    134130    file.AddColumn('F', "TriggerOffsetRms",  1024*1440, "mV");
    135131
    136     fFileName = FormFileName("drs.fits");
    137 
    138     if (!file.OpenFile(fFileName))
     132    const string filename = FormFileName("drs.fits");
     133
     134    if (!file.OpenFile(filename))
    139135        return;
    140136
     
    180176
    181177    ostringstream str;
    182     str << "Wrote DRS calibration data (step=" << fData.fStep << ") to '" << fFileName << "'";
     178    str << "Wrote DRS calibration data (step=" << fData.fStep << ") to '" << filename << "'";
    183179    Info(str.str());
    184180#endif
Note: See TracChangeset for help on using the changeset viewer.