00001 #include "GaudiKernel/Algorithm.h"
00002 #include "GaudiKernel/Property.h"
00003
00004 class EventCounter : public Algorithm {
00005 public:
00006
00010 EventCounter( const std::string& name, ISvcLocator* pSvcLocator );
00011
00015 ~EventCounter( );
00016
00017
00018
00019
00020
00021 StatusCode initialize();
00022 StatusCode execute();
00023 StatusCode finalize();
00024
00025 private:
00026
00027
00028
00029
00030
00036 IntegerProperty m_frequency;
00037
00042 int m_skip;
00043
00047 int m_total;
00048 };