CMS 3D CMS Logo

EBOccupancyTask.h

Go to the documentation of this file.
00001 #ifndef EBOccupancyTask_H
00002 #define EBOccupancyTask_H
00003 
00004 /*
00005  * \file EBOccupancyTask.h
00006  *
00007  * $Date: 2008/05/11 09:35:08 $
00008  * $Revision: 1.20 $
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 EBOccupancyTask: public edm::EDAnalyzer{
00021 
00022 public:
00023 
00025 EBOccupancyTask(const edm::ParameterSet& ps);
00026 
00028 virtual ~EBOccupancyTask();
00029 
00030 protected:
00031 
00033 void analyze(const edm::Event& e, const edm::EventSetup& c);
00034 
00036 void beginJob(const edm::EventSetup& c);
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 EBDigiCollection_;
00070 edm::InputTag EcalPnDiodeDigiCollection_;
00071 edm::InputTag EcalRecHitCollection_;
00072 edm::InputTag EcalTrigPrimDigiCollection_;
00073 
00074 MonitorElement* meEvent_[36];
00075 MonitorElement* meOccupancy_[36];
00076 MonitorElement* meOccupancyMem_[36];
00077 
00078 MonitorElement* meEBDigiOccupancy_;
00079 MonitorElement* meEBDigiOccupancyProjEta_;
00080 MonitorElement* meEBDigiOccupancyProjPhi_;
00081 MonitorElement* meEBRecHitOccupancy_;
00082 MonitorElement* meEBRecHitOccupancyProjEta_;
00083 MonitorElement* meEBRecHitOccupancyProjPhi_;
00084 MonitorElement* meEBRecHitOccupancyThr_;
00085 MonitorElement* meEBRecHitOccupancyProjEtaThr_;
00086 MonitorElement* meEBRecHitOccupancyProjPhiThr_;
00087 MonitorElement* meEBTrigPrimDigiOccupancy_;
00088 MonitorElement* meEBTrigPrimDigiOccupancyProjEta_;
00089 MonitorElement* meEBTrigPrimDigiOccupancyProjPhi_;
00090 MonitorElement* meEBTrigPrimDigiOccupancyThr_;
00091 MonitorElement* meEBTrigPrimDigiOccupancyProjEtaThr_;
00092 MonitorElement* meEBTrigPrimDigiOccupancyProjPhiThr_;
00093 MonitorElement* meEBTestPulseDigiOccupancy_;
00094 MonitorElement* meEBLaserDigiOccupancy_;
00095 MonitorElement* meEBPedestalDigiOccupancy_;
00096 
00097 float recHitEnergyMin_;
00098 float trigPrimEtMin_;
00099 
00100 bool init_;
00101 
00102 };
00103 
00104 #endif

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