Index: trunk/FACT++/src/EventBuilderWrapper.h
===================================================================
--- trunk/FACT++/src/EventBuilderWrapper.h	(revision 11243)
+++ trunk/FACT++/src/EventBuilderWrapper.h	(revision 11244)
@@ -710,5 +710,5 @@
     enum FileFormat_t
     {
-        kNone,
+        kNone = 0,
         kDebug,
         kFits,
@@ -771,5 +771,5 @@
 public:
     EventBuilderWrapper(MessageImp &imp) : fMsg(imp),
-        fFileFormat(kRaw), fMaxRun(0), fLastOpened(0), fLastClosed(0),
+        fFileFormat(kNone), fMaxRun(0), fLastOpened(0), fLastClosed(0),
         fDimRuns        ("FAD_CONTROL/RUNS",             "I:5", ""),
         fDimEvents      ("FAD_CONTROL/EVENTS",           "I:4", ""),
@@ -920,4 +920,6 @@
     bool IsIgnored(int i) const { return g_port[i].sockDef==-1; }
 
+    void SetOutputFormat(FileFormat_t f) { fFileFormat = f; }
+
     void SetDebugStream(bool b)
     {
@@ -1015,5 +1017,5 @@
         case kDebug: file = new DataFileDebug(runid); break;
         case kFits:  file = new DataFileFits(runid);  break;
-        case kRaw:   file = new DataFileNone(runid);  break;
+	case kRaw:   file = new DataFileRaw(runid);   break;
         }
 
