Index: /trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx
===================================================================
--- /trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx	(revision 396)
+++ /trunk/MagicSoft/Simulation/Detector/include-MFadc/MFadc.hxx	(revision 397)
@@ -52,5 +52,9 @@
 //
 #define SLICES_MFADC           (TOTAL_TRIGGER_TIME / WIDTH_FADC_TIMESLICE)
+//  --> The amount of ns before trigger that would be read from the ADC
+//      in oder to show also the start of the pulse before the
+//      the trigger time.
 //
+#define TIME_BEFORE_TRIGGER    10.
 //  --> like the trigger the FADC value will also have a standard response
 //      to one single Photo electron. This response is binned with smaller
@@ -82,4 +86,5 @@
 
   Float_t  sig[CAMERA_PIXELS][(Int_t) SLICES_MFADC] ; //  the analog signal for pixels
+  UChar_t  output[CAMERA_PIXELS][FADC_SLICES];  //  the analog signal for pixels that is read after a trigger occurs.
 
   //
@@ -89,5 +94,4 @@
   Float_t ampl_resp ;                      // amplitude of the phe_response function (in mV)
   Float_t sing_resp[ RESPONSE_SLICES_MFADC ] ;   // the shape of the phe_response function 
-
   //
   //   RandomGenerator for the Electonic Noise
@@ -111,10 +115,11 @@
   void Scan(Float_t time) ;
 
+  void TriggeredFadc(Float_t time);
+
   void ShowSignal ( MMcEvt *McEvt , Float_t ) ; 
+
+  Float_t GetFadcSignal(Int_t pixel, Int_t slice);
 } ; 
 
 
 #endif
-
-
-
