Index: trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.cxx	(revision 2997)
+++ trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.cxx	(revision 2998)
@@ -213,5 +213,5 @@
   // 
 
-  if ( time < TOTAL_TRIGGER_TIME+trigger_delay ) { 
+  if ( time < TOTAL_TRIGGER_TIME+fadc_time_offset ) { 
     //
     //   determine the slices number assuming the WIDTH_RESPONSE_MFADC
@@ -258,5 +258,5 @@
   else {
     cout << "  WARNING!  Fadc::Fill " << time << "  out of TriggerTimeRange " 
-	 << TOTAL_TRIGGER_TIME+trigger_delay << endl ; 
+	 << TOTAL_TRIGGER_TIME+fadc_time_offset << endl ; 
   }
 
@@ -299,5 +299,5 @@
 
 
-  if ( time < TOTAL_TRIGGER_TIME+trigger_delay ) { 
+  if ( time < TOTAL_TRIGGER_TIME+fadc_time_offset ) { 
     //
     //   determine the slices number assuming the WIDTH_RESPONSE_MFADC
@@ -336,5 +336,5 @@
   else {
     cout << "  WARNING!  Fadc::FillOuter " << time << "  out of TriggerTimeRange " 
-	 << TOTAL_TRIGGER_TIME+trigger_delay << endl ; 
+	 << TOTAL_TRIGGER_TIME+fadc_time_offset << endl ; 
   }
 
@@ -673,5 +673,5 @@
   Float_t t ; 
 
-  (0 > time - TIME_BEFORE_TRIGGER)? t=trigger_delay: t=(time-TIME_BEFORE_TRIGGER+trigger_delay) ; // to show also the start of the pulse before the trigger time
+  (0 > time - TIME_BEFORE_TRIGGER)? t=fadc_time_offset: t=(time-TIME_BEFORE_TRIGGER+fadc_time_offset) ; // to show also the start of the pulse before the trigger time
 
   if ( t < 0. ) {
@@ -865,5 +865,5 @@
       sprintf (name, "fadc signal %d", i ) ; 
       
-      hist = new TH1F(dumm, name, SLICES_MFADC, trigger_delay, TOTAL_TRIGGER_TIME+trigger_delay); 
+      hist = new TH1F(dumm, name, SLICES_MFADC, fadc_time_offset, TOTAL_TRIGGER_TIME+fadc_time_offset); 
       //
       //  fill the histogram
