Changeset 11244


Ignore:
Timestamp:
07/01/11 16:54:48 (13 years ago)
Author:
tbretz
Message:
'repaired' switch in openRun and set default for fFileFormat to kNone
File:
1 edited

Legend:

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

    r11237 r11244  
    710710    enum FileFormat_t
    711711    {
    712         kNone,
     712        kNone = 0,
    713713        kDebug,
    714714        kFits,
     
    771771public:
    772772    EventBuilderWrapper(MessageImp &imp) : fMsg(imp),
    773         fFileFormat(kRaw), fMaxRun(0), fLastOpened(0), fLastClosed(0),
     773        fFileFormat(kNone), fMaxRun(0), fLastOpened(0), fLastClosed(0),
    774774        fDimRuns        ("FAD_CONTROL/RUNS",             "I:5", ""),
    775775        fDimEvents      ("FAD_CONTROL/EVENTS",           "I:4", ""),
     
    920920    bool IsIgnored(int i) const { return g_port[i].sockDef==-1; }
    921921
     922    void SetOutputFormat(FileFormat_t f) { fFileFormat = f; }
     923
    922924    void SetDebugStream(bool b)
    923925    {
     
    10151017        case kDebug: file = new DataFileDebug(runid); break;
    10161018        case kFits:  file = new DataFileFits(runid);  break;
    1017         case kRaw:   file = new DataFileNone(runid);  break;
     1019        case kRaw:   file = new DataFileRaw(runid);   break;
    10181020        }
    10191021
Note: See TracChangeset for help on using the changeset viewer.