CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EEClient.h
Go to the documentation of this file.
1 // $Id: EEClient.h,v 1.21 2010/08/04 06:27:00 dellaric Exp $
2 
12 #ifndef EEClient_H
13 #define EEClient_H
14 
16 class DQMStore;
17 #ifdef WITH_ECAL_COND_DB
18 class RunIOV;
19 class MonRunIOV;
20 #endif
21 
22 class EEClient {
23 
24  public:
25 
29  virtual void analyze(void) = 0;
30 
34  virtual void beginJob(void) = 0;
35 
39  virtual void endJob(void) = 0;
40 
44  virtual void beginRun(void) = 0;
45 
49  virtual void endRun(void) = 0;
50 
54  virtual void setup(void) = 0;
55 
59  virtual void cleanup(void) = 0;
60 
61 #ifdef WITH_ECAL_COND_DB
62 
68  virtual bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status) = 0;
69 #endif
70 
74  virtual int getEvtPerJob( void ) = 0;
75 
79  virtual int getEvtPerRun( void ) = 0;
80 
81  virtual ~EEClient(void) {}
82 
83 };
84 
85 #endif // EEClient_H
86 
virtual int getEvtPerJob(void)=0
Returns the total number of processed events.
virtual int getEvtPerRun(void)=0
Returns the number of processed events in this Run.
virtual void analyze(void)=0
analyze method
virtual void setup(void)=0
setup method
virtual void endJob(void)=0
end of job method
virtual void endRun(void)=0
end of run method
virtual void beginRun(void)=0
begin of run method
virtual void beginJob(void)=0
begin of job method
tuple status
Definition: ntuplemaker.py:245
Definition: RunIOV.h:13
virtual ~EEClient(void)
Definition: EEClient.h:81
virtual void cleanup(void)=0
clean up method