CMS 3D CMS Logo

EEPedestalOnlineClient.h

Go to the documentation of this file.
00001 #ifndef EEPedestalOnlineClient_H
00002 #define EEPedestalOnlineClient_H
00003 
00004 /*
00005  * \file EEPedestalOnlineClient.h
00006  *
00007  * $Date: 2008/06/25 15:08:19 $
00008  * $Revision: 1.24 $
00009  * \author G. Della Ricca
00010  * \author F. Cossutti
00011  *
00012 */
00013 
00014 #include <vector>
00015 #include <string>
00016 
00017 #include "TROOT.h"
00018 #include "TProfile2D.h"
00019 #include "TH1F.h"
00020 
00021 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00022 
00023 #include "DQM/EcalEndcapMonitorClient/interface/EEClient.h"
00024 
00025 class MonitorElement;
00026 class DQMStore;
00027 class EcalCondDBInterface;
00028 class RunIOV;
00029 class MonRunIOV;
00030 
00031 class EEPedestalOnlineClient : public EEClient {
00032 
00033 friend class EESummaryClient;
00034 
00035 public:
00036 
00038 EEPedestalOnlineClient(const edm::ParameterSet& ps);
00039 
00041 virtual ~EEPedestalOnlineClient();
00042 
00044 void analyze(void);
00045 
00047 void beginJob(DQMStore* dqmStore);
00048 
00050 void endJob(void);
00051 
00053 void beginRun(void);
00054 
00056 void endRun(void);
00057 
00059 void setup(void);
00060 
00062 void cleanup(void);
00063 
00065 void softReset(bool flag);
00066 
00068 void htmlOutput(int run, std::string& htmlDir, std::string& htmlName);
00069 
00071 bool writeDb(EcalCondDBInterface* econn, RunIOV* runiov, MonRunIOV* moniov, bool& status, bool flag);
00072 
00074 inline int getEvtPerJob() { return ievt_; }
00075 inline int getEvtPerRun() { return jevt_; }
00076 
00077 private:
00078 
00079 int ievt_;
00080 int jevt_;
00081 
00082 bool cloneME_;
00083 
00084 bool verbose_;
00085 bool debug_;
00086 
00087 std::string prefixME_;
00088 
00089 bool enableCleanup_;
00090 
00091 std::vector<int> superModules_;
00092 
00093 DQMStore* dqmStore_;
00094 
00095 TProfile2D* h03_[18];
00096 
00097 MonitorElement* meg03_[18];
00098 
00099 MonitorElement* mep03_[18];
00100 
00101 MonitorElement* mer03_[18];
00102 
00103 // Quality check on crystals, one per each gain
00104 
00105 float expectedMean_;
00106 float discrepancyMean_;
00107 float RMSThreshold_;
00108 
00109 };
00110 
00111 #endif

Generated on Tue Jun 9 17:32:49 2009 for CMSSW by  doxygen 1.5.4