Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8606)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8611)
@@ -20,4 +20,14 @@
 
 
+ 2007/06/26 Thomas Bretz
+
+   * mmain/Makefile:
+     - added inlclude path for mfilter
+
+   * mmain/MEventDisplay.cc:
+     - added MFEvtNumber to choose selected preselected events
+
+
+
  2007/06/25 Daniel Hoehne
 
@@ -27,5 +37,6 @@
 
    * datacenter/macros/fillcamera.C:
-     - bugfix: the macro doesn't giva a seg-fault anymore (thanks to Thomas)
+     - bugfix: the macro doesn't giva a seg-fault anymore
+       (thanks to Thomas)
      - arranged the structure more clearly
 
Index: trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
===================================================================
--- trunk/MagicSoft/Mars/mmain/MEventDisplay.cc	(revision 8606)
+++ trunk/MagicSoft/Mars/mmain/MEventDisplay.cc	(revision 8611)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MEventDisplay.cc,v 1.59 2007-03-04 13:49:05 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MEventDisplay.cc,v 1.60 2007-06-26 16:59:21 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -70,4 +70,5 @@
 #include "MPedestalSubtract.h"         // MPedestalSubtract
 #include "MFDataMember.h"              // MFDataMember
+#include "MFEvtNumber.h"               // MFEvtNumber
 #include "MMcPedestalCopy.h"           // MMcPedestalCopy
 #include "MMcPedestalNSBAdd.h"         // MMcPedestalNSBAdd
@@ -204,15 +205,23 @@
     tlist->SetOwner();
 
-    MReadMarsFile *read = new MReadMarsFile(tname, fname);
-    read->DisableAutoScheme();
-    tlist->AddToList(read);
-
-    MGeomApply *apl = new MGeomApply;
-    tlist->AddToList(apl);
-
     MParList *plist = new MParList;
     plist->SetOwner();
     plist->AddToList(tlist);
     plist->AddToList(badpix);
+
+    MReadMarsFile *read = new MReadMarsFile(tname, fname);
+    read->DisableAutoScheme();
+    tlist->AddToList(read);
+
+    MFEvtNumber *evtnum = new MFEvtNumber;
+    tlist->AddToList(evtnum);
+
+    MContinue *contevt = new MContinue(evtnum);
+    contevt->SetInverted();
+    tlist->AddToList(contevt);
+
+    MGeomApply *apl = new MGeomApply;
+    tlist->AddToList(apl);
+
 
     //MArrivalTime *atime = new MArrivalTime;
Index: trunk/MagicSoft/Mars/mmain/Makefile
===================================================================
--- trunk/MagicSoft/Mars/mmain/Makefile	(revision 8606)
+++ trunk/MagicSoft/Mars/mmain/Makefile	(revision 8611)
@@ -23,5 +23,5 @@
            -I../mfileio -I../mimage -I../mhistmc -I../mgbase -I../mfbase  \
            -I../mdata -I../msignal -I../mcalib -I../mbadpixels            \
-           -I../mpointing -I../mpedestal -I../mmuon
+           -I../mpointing -I../mpedestal -I../mmuon -I../mfilter
 
 SRCFILES = MBrowser.cc \
