CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/DQM/EcalBarrelMonitorClient/interface/EBClient.h

Go to the documentation of this file.
00001 // $Id: EBClient.h,v 1.29 2010/08/04 06:27:10 dellaric Exp $
00002 
00012 #ifndef EBClient_H
00013 #define EBClient_H
00014 
00015 class EcalCondDBInterface;
00016 #ifdef WITH_ECAL_COND_DB
00017 class DQMStore;
00018 class RunIOV;
00019 class MonRunIOV;
00020 #endif
00021 
00022 class EBClient {
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 ~EBClient(void) {}
00082 
00083 };
00084 
00085 #endif // EBClient_H
00086