/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/include/lcio/Count.hh

Go to the documentation of this file.
00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */
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 //  void processRunHeader( LCRunHeader* run);
00036 //  void modifyRunHeader(LCRunHeader* run);
00037 
00038 
00039 } ;
00040 
00041 
00042 #endif

Generated on Mon Jan 7 13:15:20 2013 for MicromegasFramework by  doxygen 1.4.7