00001
00002 #ifndef COUNT_HH
00003 #define COUNT_HH
00004
00005 #include "lcio.h"
00006
00007 #include "IO/LCReader.h"
00008 #include "IO/LCEventListener.h"
00009 #include "IO/LCRunListener.h"
00010
00011 #include "EVENT/LCIO.h"
00012
00013 #include <iostream>
00014 #include <algorithm>
00015
00016 using namespace std ;
00017 using namespace lcio ;
00018
00019
00020 class Count : public LCEventListener{
00021
00022
00023 private:
00024 unsigned int counter;
00025 bool compute;
00026 public:
00027
00028 Count(const std::string _fileName);
00029 ~Count();
00030 unsigned int getNumberOfEvent() ;
00031
00032 void processEvent( LCEvent * evt ) ;
00033 void modifyEvent( LCEvent * evt ) {;} ;
00034
00035
00036
00037
00038
00039 } ;
00040
00041
00042 #endif