CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DQM/EcalEndcapMonitorClient/interface/EEClient.h

Go to the documentation of this file.
00001 // $Id: EEClient.h,v 1.21 2010/08/04 06:27:00 dellaric Exp $
00002 
00012 #ifndef EEClient_H
00013 #define EEClient_H
00014 
00015 class EcalCondDBInterface;
00016 class DQMStore;
00017 #ifdef WITH_ECAL_COND_DB
00018 class RunIOV;
00019 class MonRunIOV;
00020 #endif
00021 
00022 class EEClient {
00023 
00024  public:
00025 
00029   virtual void analyze(void) = 0;
00030 
00034   virtual void beginJob(void) = 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 
00061 #ifdef WITH_ECAL_COND_DB
00062 
00068   virtual bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status) = 0;
00069 #endif
00070 
00074   virtual int getEvtPerJob( void ) = 0;
00075 
00079   virtual int getEvtPerRun( void ) = 0;
00080 
00081   virtual ~EEClient(void) {}
00082 
00083 };
00084 
00085 #endif // EEClient_H
00086