00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef ATLFAST_MONITOR_H
00020 #define ATLFAST_MONITOR_H
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include <vector>
00031 #include <string>
00032
00033
00034 #include "GaudiKernel/ISvcLocator.h"
00035 #include "GaudiKernel/IAlgorithm.h"
00036 #include "GaudiKernel/Algorithm.h"
00037 #include "GaudiKernel/MsgStream.h"
00038
00039 namespace Atlfast {
00040 using std::string;
00041
00042 class Monitor : public virtual Algorithm {
00043
00044 public:
00045
00046
00047
00049 Monitor(
00050 const std::string& name,
00051 ISvcLocator* pSvcLocator
00052 );
00054 virtual ~Monitor();
00055
00056
00057
00058
00059
00061 virtual StatusCode initialize() ;
00063 virtual StatusCode execute() ;
00065 virtual StatusCode finalize() ;
00066
00067
00068 private:
00069 int m_nEvents;
00070 int m_frequency;
00071 string m_comment;
00072
00073 };
00074
00075
00076 }
00077
00078 #endif
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090