CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/DQM/EcalBarrelMonitorClient/interface/OccupancyClient.h

Go to the documentation of this file.
00001 #ifndef OccupancyClient_H
00002 #define OccupancyClient_H
00003 
00004 #include "DQM/EcalCommon/interface/DQWorkerClient.h"
00005 
00006 class CaloGeometry;
00007 
00008 namespace ecaldqm {
00009 
00010   class OccupancyClient : public DQWorkerClient {
00011   public:
00012     OccupancyClient(const edm::ParameterSet &, const edm::ParameterSet &);
00013     ~OccupancyClient() {}
00014 
00015     void beginRun(const edm::Run &, const edm::EventSetup &);
00016 
00017     void bookMEs();
00018 
00019     void producePlots();
00020 
00021     enum MESets {
00022       kHotDigi,
00023       kHotRecHitThr,
00024       kHotTPDigiThr,
00025       kQualitySummary,
00026       nMESets
00027     };
00028 
00029     static void setMEData(std::vector<MEData>&);
00030 
00031     enum Sources {
00032       sDigi,
00033       sRecHitThr,
00034       sTPDigiThr,
00035       nSources
00036     };
00037 
00038   private:
00039     const CaloGeometry* geometry_;
00040 
00041     int minHits_;
00042     float deviationThreshold_;
00043   };
00044 
00045 }
00046 
00047 #endif
00048