Index: trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx	(revision 2985)
+++ trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx	(revision 2986)
@@ -67,5 +67,5 @@
   //
   Float_t fwhm_resp ;                      // fwhm of the phe_response function (in ns)
-  Float_t ampl_resp ;                      // area below curve of the phe_response function (in counts * ns)
+  Float_t integ_resp ;                      // area below curve of the phe_response function (in counts * ns)
   Float_t sing_resp[ RESPONSE_SLICES_MFADC ] ;   // the shape of the phe_response function 
 
@@ -74,5 +74,5 @@
   //
   Float_t fwhm_resp_outer ;                      // fwhm of the phe_response function (in ns)
-  Float_t ampl_resp_outer ;                      // area below curve of the phe_response function (in counts * ns)
+  Float_t integ_resp_outer ;                      // area below curve of the phe_response function (in counts * ns)
   Float_t sing_resp_outer[ RESPONSE_SLICES_MFADC ] ;   // the shape of the phe_response function 
   //
@@ -82,12 +82,17 @@
   TRandom  *GenElec ; 
 
+  Float_t fadc_time_offset; // Time offset to adjust the delay between trigger
+                            // and the peak position in the FADC of the signal
+                            // in the trigger pixels.
+
 
 public:
 
   MFadc(Int_t pix=577,
-	Float_t ampl=MFADC_RESPONSE_AMPLITUDE, 
+	Float_t ampl=MFADC_RESPONSE_INTEGRAL, 
 	Float_t fwhm=MFADC_RESPONSE_FWHM,
-	Float_t amplout=MFADC_RESPONSE_AMPLITUDE, 
-	Float_t fwhmout=MFADC_RESPONSE_FWHM) ;
+	Float_t amplout=MFADC_RESPONSE_INTEGRAL, 
+	Float_t fwhmout=MFADC_RESPONSE_FWHM,
+	Float_t trig_delay=0.) ;
   
   void SetSeed(UInt_t seed)  {GenElec->SetSeed(seed);}
@@ -113,6 +118,6 @@
   }
 
-  void SetAmpl( Float_t ampl){
-    ampl_resp=ampl;
+  void SetInteg( Float_t x){
+    integ_resp=x;
   }
 
@@ -121,6 +126,6 @@
   }
 
-  void SetAmplOuter( Float_t ampl){
-    ampl_resp_outer=ampl;
+  void SetIntegOuter( Float_t x){
+    integ_resp_outer=x;
   }
 
@@ -159,6 +164,6 @@
   void SetHigh2LowGain(Float_t h2l) {high2low_gain=h2l;}
 
-  Float_t GetAmplitude() {
-    return ampl_resp ; 
+  Float_t GetIntegral() {
+    return integ_resp ; 
   }
 
@@ -167,6 +172,6 @@
   }
 
-  Float_t GetAmplitudeOuter() {
-    return ampl_resp_outer ; 
+  Float_t GetIntegralOuter() {
+    return integ_resp_outer ; 
   }
 
