Index: trunk/FACT++/src/DataCalib.cc
===================================================================
--- trunk/FACT++/src/DataCalib.cc	(revision 14168)
+++ trunk/FACT++/src/DataCalib.cc	(revision 14169)
@@ -85,5 +85,5 @@
     if (h->NPix != 1440)
     {
-        fMsg.Error("Number of pixels in header for run " << GetRunId() << " not 1440.");
+        Error("Number of pixels in header for run "+to_string(GetRunId())+" not 1440.");
         return false;
     }
@@ -91,5 +91,5 @@
     if (fProcessing)
     {
-        fMsg.Warn("Previous DRS calibration run not yet finished (current run " << GetRunId() << ")");
+        Warn("Previous DRS calibration run not yet finished (current run "+to_string(GetRunId())+")");
         return false;
     }
@@ -97,5 +97,5 @@
     if (fData.fStep==3)
     {
-        fMsg.Warn("DRS Calibration already finished before current run " << GetRunId() << "... please restart!");
+        Warn("DRS Calibration already finished before current run "+to_string(GetRunId())+"... please restart!");
         return false;
     }
@@ -105,5 +105,5 @@
         ostringstream msg;
         msg << "Region of interest of run " << GetRunId() << " not 1024, but " << h->Nroi << " in step " << fData.fStep <<  " ... as it ought to be.";
-        fMsg.Error(msg);
+        Error(msg);
         return false;
     }
@@ -218,6 +218,7 @@
     const size_t n = 1440*1024*4 + 1440*roi*2 + ntm*roi*2 + 3;
 
-    if (vec.size()!=n+1)
-        throw runtime_error("Size of vector does not match region-of-interest");
+    // The vector has a fixed size
+    //if (vec.size()!=n+1)
+    //    throw runtime_error("Size of vector does not match region-of-interest");
 
     ofits file(filename.c_str());
@@ -265,5 +266,5 @@
     {
         ostringstream str;
-        str << "DRS calibration run (run=" << GetRunId() << ", step=" << fData.fStep << ", roi=" << roi << ") has 0 events.";
+        str << "DRS calibration run (run=" << GetRunId() << ", step=" << fData.fStep << ", roi=" << fData.fRoi << ") has 0 events.";
         Warn(str);
     }
