Index: /trunk/MagicSoft/Simulation/Detector/Camera/TOBEDONE
===================================================================
--- /trunk/MagicSoft/Simulation/Detector/Camera/TOBEDONE	(revision 6727)
+++ /trunk/MagicSoft/Simulation/Detector/Camera/TOBEDONE	(revision 6728)
@@ -17,2 +17,4 @@
 
 - Add to the output the MPointingPos container
+
+- Update in Mars MFadcDefine.h with the new SUBBINS value!!!
Index: /trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
===================================================================
--- /trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 6727)
+++ /trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 6728)
@@ -4137,7 +4137,8 @@
   float *pmtjit;
 
+  // reset variables
+
   pmtjit = new float[camgeom->GetNumPixels()];
-
-  // reset variables
+  memset((char*)pmtjit, 0, camgeom->GetNumPixels()*sizeof(float));
 
   TRandom random;
@@ -4147,4 +4148,7 @@
     {
       nphe[i] = 0.0;
+
+      if ( !(pmt_jitter>0.) )
+	continue;
       //
       // PMT time jitter: gaussian, not negative (MTrigger::FillShow does
@@ -4865,7 +4869,8 @@
   static UInt_t seed = (UInt_t)(get_seeds(0)*get_seeds(1));
 
+  // reset variables
+
   pmtjit = new float[camgeom->GetNumPixels()];
-
-  // reset variables
+  memset((char*)pmtjit, 0, camgeom->GetNumPixels()*sizeof(float));
 
   TRandom random;
@@ -4875,4 +4880,7 @@
     {
       nphe[i] = 0.0;
+
+      if ( !(pmt_jitter > 0.))
+	continue;
 
       //
@@ -5068,4 +5076,13 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.97  2005/03/02 21:45:06  moralejo
+//
+//  Changed meaning of pmt_jitter: now it is not the jitter per phe-, but
+//  the jitter of the total pulse in each pixel (and independent from pixel
+//  to pixel).
+//
+//  The delay between the high and low gain peaks can be set now to a non
+//  integer number of FADC slices. Now by default it is 16.5.
+//
 // Revision 1.96  2005/03/01 21:57:01  moralejo
 //
