Monitor.h

Go to the documentation of this file.
00001 #ifndef ATLFAST_MONITOR_H
00002 #define ATLFAST_MONITOR_H
00003 
00004 
00005 // STL
00006 #include <vector>
00007 #include <string>
00008 
00009 // Gaudi 
00010 #include "GaudiKernel/ISvcLocator.h"
00011 #include "GaudiKernel/IAlgorithm.h"
00012 #include "GaudiKernel/Algorithm.h"
00013 #include "GaudiKernel/MsgStream.h"
00014 
00015 namespace Atlfast {
00016   using std::string;
00017   
00020   class Monitor : public virtual Algorithm {
00021     
00022   public:
00023     //-------------------------
00024     // Constructors/Destructors
00025     //-------------------------
00027     Monitor( 
00028             const std::string& name, 
00029             ISvcLocator* pSvcLocator 
00030             );
00032     virtual ~Monitor();
00033     
00034     
00035     //------------------------------------------------------
00036     // Mandatory Athena methods
00037     //------------------------------------------------------
00039     virtual StatusCode initialize() ;
00041     virtual StatusCode execute() ;
00043     virtual StatusCode finalize() ;
00044     
00045     
00046   private:
00047     int m_nEvents;
00048     int m_frequency;
00049     string m_comment;
00050     
00051   };
00052 
00053 
00054 }  //end of namespace bracket
00055 
00056 #endif
00057 
00058 
00059 
00060 
00061 
00062 
00063 
00064 
00065 
00066 
00067 
00068 

Generated on Mon Sep 24 14:19:10 2007 for AtlfastAlgs by  doxygen 1.5.1