Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 1969)
+++ trunk/MagicSoft/Mars/Changelog	(revision 1970)
@@ -1,3 +1,9 @@
                                                  -*-*- END OF LINE -*-*-
+
+ 2003/04/22: Abelardo Moralejo
+
+   * mmontecarlo/MMcEnergyMigration.[h,cc]
+     - Removed. It was not necessary, since the same job can be done 
+       with the already existing task MFillH.
 
  2003/04/21: Thomas Bretz
Index: trunk/MagicSoft/Mars/mmontecarlo/MMcEnergyMigration.cc
===================================================================
--- trunk/MagicSoft/Mars/mmontecarlo/MMcEnergyMigration.cc	(revision 1969)
+++ 	(revision )
@@ -1,101 +1,0 @@
-/* ======================================================================== *\
-!
-! *
-! * This file is part of MARS, the MAGIC Analysis and Reconstruction
-! * Software. It is distributed to you in the hope that it can be a useful
-! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
-! * It is distributed WITHOUT ANY WARRANTY.
-! *
-! * Permission to use, copy, modify and distribute this software and its
-! * documentation for any purpose is hereby granted without fee,
-! * provided that the above copyright notice appear in all copies and
-! * that both that copyright notice and this permission notice appear
-! * in supporting documentation. It is provided "as is" without express
-! * or implied warranty.
-! *
-!
-!
-!   Author(s): Abelardo Moralejo  04/2003 <mailto:moralejo@pd.infn.it>
-!
-!   Copyright: MAGIC Software Development, 2000-2001
-!
-!
-\* ======================================================================== */
-
-/////////////////////////////////////////////////////////////////////////////
-//                                                                         //
-//   MMcEnergyMigration                                                    //
-//                                                                         //
-//   This task fills the histograms contained in the                       //
-//   class MHMcEnergyMigration                                             //
-//                                                                         //
-/////////////////////////////////////////////////////////////////////////////
-
-#include "MMcEnergyMigration.h"
-#include "MHMcEnergyMigration.h"
-
-#include "MLog.h"
-#include "MLogManip.h"
-
-#include "MParList.h"
-
-ClassImp(MMcEnergyMigration);
-
-// --------------------------------------------------------------------------
-//
-// Default Constructor
-//
-MMcEnergyMigration::MMcEnergyMigration(const char *name, const char *title)
-{
-  fName  = name  ? name  : "MMcEnergyMigration";
-  fTitle = title ? title : "Task to fill histograms in MHMcEnergyMigration";
-}
-
-// --------------------------------------------------------------------------
-//
-// Destructor
-//
-MMcEnergyMigration::~MMcEnergyMigration()
-{
-  if (fHistMigration)
-    delete fHistMigration;
-}
-
-// --------------------------------------------------------------------------
-//
-// Preprocess: look for the MHMcEnergyMigration object in the parameter list.
-//
-Bool_t MMcEnergyMigration::PreProcess(MParList *pList)
-{
-  fHistMigration = (MHMcEnergyMigration*)pList->FindObject("MHMcEnergyMigration");
-  if (!fHistMigration)
-    {
-      *fLog << dbginf << "MHMcEnergyMigration not found... aborting." << endl;
-      return kFALSE;
-    }
-
-  fHistMigration->SetupFill(pList);
-
-  return kTRUE;
-}
-
-// --------------------------------------------------------------------------
-//
-// Fill the histograms in the MHMcEnergyMigration object.
-//
-Bool_t MMcEnergyMigration::Process()
-{
-  fHistMigration->Fill(0);  // Argument of Fill is dummy.
-  return kTRUE;
-}
-
-// --------------------------------------------------------------------------
-//
-// Postprocessing does nothing at the moment.
-//
-Bool_t MMcEnergyMigration::PostProcess()
-{
-  return kTRUE;
-}
-
-
Index: trunk/MagicSoft/Mars/mmontecarlo/MMcEnergyMigration.h
===================================================================
--- trunk/MagicSoft/Mars/mmontecarlo/MMcEnergyMigration.h	(revision 1969)
+++ 	(revision )
@@ -1,26 +1,0 @@
-#ifndef MARS_MMcEnergyMigration
-#define MARS_MMcEnergyMigration
-
-#ifndef MARS_MTask
-#include "MTask.h"
-#endif
-
-class MHMcEnergyMigration;
-
-class MMcEnergyMigration : public MTask
-{
-private:
-  MHMcEnergyMigration *fHistMigration;
-
-public:
-  MMcEnergyMigration(const char *name=NULL, const char *title=NULL);
-  ~MMcEnergyMigration();
-
-  Bool_t PreProcess(MParList *pList);
-  Bool_t Process();
-  Bool_t PostProcess();
-
-  ClassDef(MMcEnergyMigration, 0) // Task to fill the Migration matrix histogram
-};
-
-#endif
