Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 9289)
+++ trunk/MagicSoft/Mars/Changelog	(revision 9290)
@@ -34,4 +34,7 @@
      - added InterpreteLIQ
 
+   * msimcamera/MSimCamera.cc:
+     - added a time-shift uniformly according to the bin-width
+
 
 
Index: trunk/MagicSoft/Mars/NEWS
===================================================================
--- trunk/MagicSoft/Mars/NEWS	(revision 9289)
+++ trunk/MagicSoft/Mars/NEWS	(revision 9290)
@@ -2,4 +2,9 @@
 
 == <cvs> ==
+
+ ;merpp
+
+   * added support for Arehucas Version >= 200812140
+
 
 
Index: trunk/MagicSoft/Mars/msimcamera/MSimCamera.cc
===================================================================
--- trunk/MagicSoft/Mars/msimcamera/MSimCamera.cc	(revision 9289)
+++ trunk/MagicSoft/Mars/msimcamera/MSimCamera.cc	(revision 9290)
@@ -42,4 +42,5 @@
 
 #include <TF1.h>
+#include <TRandom.h>
 
 #include "MLog.h"
@@ -172,4 +173,12 @@
     const Int_t num = fEvt->GetNumPhotons();
 
+    // A random shift, uniformely distributed within one slice, to make sure that
+    // the first photon is not always aligned identically with a sample edge.
+    // FIXME: Make it switchable
+    const Float_t rndm = gRandom->Uniform();
+
+    // FIXME: Shell we add a random shift of [0,1] samples per channel?
+    //        Or maybe per channel and run?
+
     // Simulate pulses
     for (Int_t i=0; i<num; i++)
@@ -178,5 +187,5 @@
 
         const UInt_t   idx = ph.GetTag();
-        const Double_t t   = (ph.GetTime()-fStat->GetTimeFirst())*freq;// - fSpline->GetXmin();
+        const Double_t t   = (ph.GetTime()-fStat->GetTimeFirst())*freq+rndm;// - fSpline->GetXmin();
 
         // FIXME: Time jitter?
