Changeset 15192


Ignore:
Timestamp:
03/30/13 14:20:01 (12 years ago)
Author:
tbretz
Message:
Plot a message about a new file format only when it was changed; reset fLastOpened at the beginning of the 'night'
File:
1 edited

Legend:

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

    r15157 r15192  
    152152        // This is now the first file which does not exist
    153153        fRunNumber++;
     154        fLastOpened = 0;
    154155
    155156        // Check if we have exceeded the maximum
     
    473474    void SetOutputFormat(FAD::FileFormat_t f)
    474475    {
     476        const bool changed = f!=fFileFormat;
     477
    475478        fFileFormat = f;
    476479        fDimFileFormat.Update(uint16_t(f));
     
    491494        }
    492495
    493         fMsg.Message(msg);
     496        if (changed)
     497            fMsg.Message(msg);
    494498    }
    495499
Note: See TracChangeset for help on using the changeset viewer.