CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/DQM/EcalEndcapMonitorTasks/interface/EEDataCertificationTask.h

Go to the documentation of this file.
00001 #ifndef EEDataCertificationTask_h
00002 #define EEDataCertificationTask_h
00003 
00004 /*
00005  * \file EEDataCertificationTask.h
00006  *
00007  * $Date: 2011/06/27 08:35:13 $
00008  * $Revision: 1.8 $
00009  * \author E. Di Marco
00010  *
00011 */
00012 
00013 #include "FWCore/Framework/interface/EDAnalyzer.h"
00014 #include "FWCore/Framework/interface/Event.h"
00015 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00016 
00017 #include "TH2F.h"
00018 
00019 class EEDataCertificationTask: public edm::EDAnalyzer{
00020 
00021 public:
00022 
00024 EEDataCertificationTask(const edm::ParameterSet& ps);
00025 
00027 virtual ~EEDataCertificationTask();
00028 
00029 protected:
00030 
00032 void analyze(const edm::Event& e, const edm::EventSetup& c);
00033 
00035 void beginJob(void);
00036 
00038 void endJob(void);
00039 
00041 void beginLuminosityBlock(const edm::LuminosityBlock& lumiBlock, const  edm::EventSetup& iSetup);
00042 
00044 void endLuminosityBlock(const edm::LuminosityBlock&  lumiBlock, const  edm::EventSetup& iSetup);
00045 
00047 void beginRun(const edm::Run & r, const edm::EventSetup & c);
00048 
00050 void endRun(const edm::Run & r, const edm::EventSetup & c);
00051 
00053 void reset(void);
00054 
00056 void cleanup(void);
00057 
00058  static const int DccId_[18];
00059  static const int nTowerMax_;
00060   
00061 private:
00062 
00063 bool cloneME_;
00064   
00065 DQMStore* dqmStore_;
00066 
00067 std::string prefixME_;
00068 
00069 bool enableCleanup_;
00070 
00071 bool mergeRuns_;
00072 
00073 TH2F *hDQM_;
00074 TH2F *hDAQ_;
00075 TH2F *hDCS_;
00076 TH1F *hIntegrityByLumi_;
00077 TH1F *hFrontendByLumi_;
00078 TH1F *hSynchronizationByLumi_;
00079 
00080 MonitorElement* meEEDataCertificationSummary_;
00081 MonitorElement* meEEDataCertification_[18];
00082 MonitorElement* meEEDataCertificationSummaryMap_;
00083 MonitorElement* meEEReportSummary_;
00084 MonitorElement* meEEReportSummaryContents_[36];
00085 
00086 };
00087 
00088 const int EEDataCertificationTask::DccId_[18] = {1,2,3,4,5,6,7,8,9,
00089                                        46,47,48,49,50,51,52,53,54};
00090 const int EEDataCertificationTask::nTowerMax_ = 44;
00091 
00092 #endif