Index: /trunk/FACT++/src/EventBuilderWrapper.h
===================================================================
--- /trunk/FACT++/src/EventBuilderWrapper.h	(revision 12469)
+++ /trunk/FACT++/src/EventBuilderWrapper.h	(revision 12470)
@@ -162,5 +162,8 @@
     {
         if (!DimWriteStatistics::DoesPathExist(path, fMsg))
+        {
+            fMsg.Error("Data path "+path+" does not exist!");
             return -1;
+        }
 
         //const fs::path fullPath = fs::system_complete(fs::path(path));
@@ -191,5 +194,5 @@
         fDimRoi         ("FAD_CONTROL/REGION_OF_INTEREST", "S:2",  ""),
         fDimDac         ("FAD_CONTROL/DAC",                "S:336", ""),
-        fDimDrsCalibration("FAD_CONTROL/DRS_CALIBRATION",  "I:3;F:1474560;F:1474560;F:1474560;F:1474560;F:1474560;F:1474560", ""),
+        fDimDrsCalibration("FAD_CONTROL/DRS_CALIBRATION",  "I:3;I:1;F:1474560;F:1474560;F:1474560;F:1474560;F:1474560;F:1474560;F:163840;F:163840", ""),
         fDimStatistics1 ("FAD_CONTROL/STATISTICS1",        "I:3;I:5;X:4;I:3;I:3;I:40;I:1;I:2;C:40;I:40;I:40;X:40", ""),
         fDimStatistics2 ("FAD_CONTROL/STATISTICS2",        "I:1;I:280;X:40;I:40;I:4;I:4;I:2;I:2;I:3;C:40",  ""),
@@ -850,5 +853,5 @@
         oldt = newt;
 
-        vector<char> data(sizeof(EVENT)+event->Roi*sizeof(float)*1440);
+        vector<char> data(sizeof(EVENT)+event->Roi*sizeof(float)*(1440+160));
         memcpy(data.data(), event, sizeof(EVENT));
 
@@ -882,4 +885,6 @@
             if (ptr->fStartDelimiter==0)
                 continue;
+
+            // ptr->fTriggerType = htons(ptr->fTriggerType)
 
             if (!ptr->HasTriggerLPext() && !ptr->HasTriggerLPint())
