Changeset 12098 for trunk/FACT++/src


Ignore:
Timestamp:
09/14/11 09:02:39 (13 years ago)
Author:
lyard
Message:
removed -1 run report
File:
1 edited

Legend:

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

    r12088 r12098  
    340340    string CompileFileName(const string& service, const string& extension, const Time& time=Time());
    341341    ///Form the files path
    342     string CompileFileNameWithPath(const string &path, const uint32_t run, const string &service, const string & extension, const Time &time=Time());
     342    string CompileFileNameWithPath(const string &path, const int32_t run, const string &service, const string & extension, const Time &time=Time());
    343343    ///Form the file names only
    344     string CompileFileName(const uint32_t run, const string& service, const string& extension);//, const Time& time=Time());
     344    string CompileFileName(const int32_t run, const string& service, const string& extension);//, const Time& time=Time());
    345345    ///Check whether service is in black and/or white list
    346346    bool ShouldSubscribe(const string& server, const string& service);
     
    679679//! @param extension the extension to add, if any
    680680//
    681 string DataLogger::CompileFileName(const uint32_t run, const string& service, const string& extension)
     681string DataLogger::CompileFileName(const int32_t run, const string& service, const string& extension)
    682682{
    683683       ostringstream str;
     
    703703//! @param extension the extension to add, if any
    704704//
    705 string DataLogger::CompileFileNameWithPath(const string& path, const uint32_t run, const string& service, const string& extension, const Time& time)
     705string DataLogger::CompileFileNameWithPath(const string& path, const int32_t run, const string& service, const string& extension, const Time& time)
    706706{
    707707    ostringstream str;
     
    11031103    //Add new run number to run number list
    11041104    fRunNumber.push_back(RunNumberType());
    1105     fRunNumber.back().runNumber = uint32_t(newRun);
     1105    fRunNumber.back().runNumber = int32_t(newRun);
    11061106    fRunNumber.back().time = time;
    11071107
     
    11131113        return;
    11141114    //open the log and report files
     1115    if (fRunNumber.back().runNumber > 0)
    11151116    if (OpenRunFile(fRunNumber.back()) != 0)
    11161117    {//an error occured. close current run files and go to error state
Note: See TracChangeset for help on using the changeset viewer.