Index: /branches/MarsGapdTimeJitter/msimcamera/MSimCamera.cc
===================================================================
--- /branches/MarsGapdTimeJitter/msimcamera/MSimCamera.cc	(revision 18107)
+++ /branches/MarsGapdTimeJitter/msimcamera/MSimCamera.cc	(revision 18108)
@@ -187,4 +187,12 @@
     }
 
+    // Get GapdTimeJitter from parameter list
+    fGapdTimeJitter = (MParameterD*)pList->FindObject("GapdTimeJitter");
+    if (!fGapdTimeJitter)
+    {
+        *fLog << err << "GapdTimeJitter [MParameterD] not found... aborting." << endl;
+        return kFALSE;
+    }
+
     // Create it here to make sure that MGeomApply will set the correct size
     fElectronicNoise = (MPedestalCam*)pList->FindCreateObj("MPedestalCam", "ElectronicNoise");
@@ -422,4 +430,6 @@
     //--------------------------------------------------------------------------
 
+    // Get the ResidualTimeSpread Parameter
+    const Double_t gapdTimeJitter = fGapdTimeJitter->GetVal();
     
     // Simulate pulses
@@ -441,4 +451,9 @@
         // add random time offset to the arrivaltimes
         t = t + timeoffset[idx];
+
+        // Jens Buss on GapdTimeJitter
+        // add also a time offset to arrival times of single photons
+        Double_t timeJitter = gRandom->Gaus(0.0, gapdTimeJitter);
+        t = t + timeJitter;
 
         // FIXME: Time jitter?
