00001 // $Id: EEClient.h,v 1.15 2008/06/25 15:08:19 dellaric Exp $ 00002 00012 #ifndef EEClient_H 00013 #define EEClient_H 00014 00015 #include <string> 00016 00017 class EcalCondDBInterface; 00018 class DQMStore; 00019 class RunIOV; 00020 class MonRunIOV; 00021 00022 class EEClient { 00023 00024 public: 00025 00029 virtual void analyze(void) = 0; 00030 00034 virtual void beginJob(DQMStore* dqmStore) = 0; 00035 00039 virtual void endJob(void) = 0; 00040 00044 virtual void beginRun(void) = 0; 00045 00049 virtual void endRun(void) = 0; 00050 00054 virtual void setup(void) = 0; 00055 00059 virtual void cleanup(void) = 0; 00060 00065 virtual void softReset(bool flag) = 0; 00066 00074 virtual void htmlOutput(int run, std::string& htmlDir, std::string& htmlName) = 0; 00075 00083 virtual bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status, bool flag) = 0; 00084 00088 virtual int getEvtPerJob( void ) = 0; 00089 00093 virtual int getEvtPerRun( void ) = 0; 00094 00095 virtual ~EEClient(void) {} 00096 00097 }; 00098 00099 #endif // EEClient_H 00100