CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DQM/EcalBarrelMonitorTasks/interface/EBTimingTask.h

Go to the documentation of this file.
00001 #ifndef EBTimingTask_H
00002 #define EBTimingTask_H
00003 
00004 /*
00005  * \file EBTimingTask.h
00006  *
00007  * $Date: 2009/12/11 16:13:19 $
00008  * $Revision: 1.16 $
00009  * \author G. Della Ricca
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 class MonitorElement;
00018 class DQMStore;
00019 
00020 class EBTimingTask: public edm::EDAnalyzer{
00021 
00022 public:
00023 
00025 EBTimingTask(const edm::ParameterSet& ps);
00026 
00028 virtual ~EBTimingTask();
00029 
00030 protected:
00031 
00033 void analyze(const edm::Event& e, const edm::EventSetup& c);
00034 
00036 void beginJob(void);
00037 
00039 void endJob(void);
00040 
00042 void beginRun(const edm::Run & r, const edm::EventSetup & c);
00043 
00045 void endRun(const edm::Run & r, const edm::EventSetup & c);
00046 
00048 void reset(void);
00049 
00051 void setup(void);
00052 
00054 void cleanup(void);
00055 
00056 private:
00057 
00058 int ievt_;
00059 
00060 DQMStore* dqmStore_;
00061 
00062 std::string prefixME_;
00063 
00064 bool enableCleanup_;
00065 
00066 bool mergeRuns_;
00067 
00068 edm::InputTag EcalRawDataCollection_;
00069 edm::InputTag EcalRecHitCollection_;
00070 
00071 MonitorElement* meTime_[36];
00072 MonitorElement* meTimeMap_[36];
00073 MonitorElement* meTimeAmpli_[36];
00074 
00075 MonitorElement* meTimeAmpliSummary_;
00076 MonitorElement* meTimeSummary1D_;
00077 MonitorElement* meTimeSummaryMap_, *meTimeSummaryMapProjEta_, *meTimeSummaryMapProjPhi_;
00078 
00079 bool init_;
00080 
00081 };
00082 
00083 #endif