Index: trunk/MagicSoft/Mars/manalysis/MCalibrate.cc
===================================================================
--- trunk/MagicSoft/Mars/manalysis/MCalibrate.cc	(revision 2684)
+++ trunk/MagicSoft/Mars/manalysis/MCalibrate.cc	(revision 2685)
@@ -16,5 +16,5 @@
 !
 !
-!   Author(s): Markus Gaug  09/2003 <mailto:markus@ifae.es>
+!   Author(s): Javier Lopez 12/2003 <mailto:jlopez@ifae.es>
 !
 !   Copyright: MAGIC Software Development, 2000-2001
@@ -25,5 +25,18 @@
 //////////////////////////////////////////////////////////////////////////////
 //                                                                          //
-//   MCalibrate
+//   MCalibrate                                                             //
+//                                                                          //
+//   This task takes the integrated charge from MExtractedSignal and apply  //
+//   the calibration constants from MCalibraitionCam to the charge. Then    //
+//   stores number of photons obtained in MCerPhotEvt.                      //
+//                                                                          //
+//   Input Containers:                                                      //
+//                                                                          //
+//   MExtractedSingal                                                       //
+//   MCalibrationCam                                                        //
+//                                                                          //
+//   Output Containers:                                                     //
+//                                                                          //
+//   MCerPhotEvt                                                            //
 //                                                                          //
 //////////////////////////////////////////////////////////////////////////////
@@ -57,6 +70,5 @@
 // --------------------------------------------------------------------------
 //
-// Default constructor. b is the number of slices before the maximum slice,
-// a the number of slices behind the maximum slice which is taken as signal.
+// Default constructor. 
 //
 MCalibrate::MCalibrate(const char *name, const char *title)
@@ -78,5 +90,4 @@
 //
 //  - MCerPhotEvt
-//  - MPedPhotCam
 //
 Int_t MCalibrate::PreProcess(MParList *pList)
@@ -136,20 +147,4 @@
       Float_t nphoterr = 0;
       
-      cout << "DBG MCalibrate::Process logain " << logain << " signal " << signal << " fCalibrationConvertionFactor " << fCalibrationConvertionFactor << " nphot " << nphot << endl;
- 
-      cout << "Blind " << pix.GetMeanConversionBlindPixelMethod() << " " 
-	 <<  pix.GetErrorConversionBlindPixelMethod()   << " " 
-	 <<  pix.GetSigmaConversionBlindPixelMethod()   << " "
-	
-	   <<  "FFactor " << pix.GetMeanConversionFFactorMethod()       << " " 
-   <<  pix.GetErrorConversionFFactorMethod()      << " " 
-   <<  pix.GetSigmaConversionFFactorMethod()      << " " 
-   <<  pix.GetPheFFactorMethod()                  << " " 
- 
-	   <<  "PIN " << pix.GetMeanConversionPINDiodeMethod()      << " " 
-   <<  pix.GetErrorConversionPINDiodeMethod()     << " " 
-	   <<  pix.GetSigmaConversionPINDiodeMethod()     << endl;
-
- 
       fCerPhotEvt->AddPixel(pixid, nphot, nphoterr);
 
