00001 00002 #include "GaudiAlg/GaudiAlgorithm.h" 00003 #include "GaudiKernel/Property.h" 00004 00005 class Prescaler:public GaudiAlgorithm 00006 { 00007 00008 public: 00009 00013 Prescaler( const std::string& name, ISvcLocator* pSvcLocator ); 00014 00018 ~Prescaler( ); 00019 00020 /***************************** 00021 ** Public Function Members ** 00022 *****************************/ 00023 00024 StatusCode initialize(); 00025 StatusCode execute(); 00026 StatusCode finalize(); 00027 00028 private: 00029 00030 /************************** 00031 ** Private Data Members ** 00032 **************************/ 00033 00037 DoubleProperty m_percentPass; 00038 00042 int m_pass; 00043 00047 int m_seen; 00048 };