CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/SiStripMonitorSummary/interface/SiStripThresholdDQM.h

Go to the documentation of this file.
00001 #ifndef SiStripMonitorSummary_SiStripThresholdDQM_h
00002 #define SiStripMonitorSummary_SiStripThresholdDQM_h
00003 
00004 
00005 #include "FWCore/Framework/interface/ESHandle.h"
00006 
00007 #include "DQM/SiStripMonitorSummary/interface/SiStripBaseCondObjDQM.h"
00008 
00009 #include "CondFormats/SiStripObjects/interface/SiStripThreshold.h"
00010 #include "CondFormats/DataRecord/interface/SiStripThresholdRcd.h"
00011 
00012 
00013 class SiStripThresholdDQM : public SiStripBaseCondObjDQM{
00014  
00015   public:
00016   
00017   SiStripThresholdDQM(const edm::EventSetup & eSetup,
00018                       edm::ParameterSet const& hPSet,
00019                       edm::ParameterSet const& fPSet);
00020   
00021   virtual ~SiStripThresholdDQM();
00022   
00023   void getActiveDetIds(const edm::EventSetup & eSetup);
00024 
00025    void fillModMEs(const std::vector<uint32_t> & selectedDetIds); 
00026    void fillSummaryMEs(const std::vector<uint32_t> & selectedDetIds); 
00027                
00028   void fillMEsForDet(ModMEs selModME_,uint32_t selDetId_);
00029   void fillMEsForLayer( std::map<uint32_t, ModMEs> selModMEsMap_, uint32_t selDetId_);
00030   
00031   unsigned long long getCache(const edm::EventSetup & eSetup){ return eSetup.get<SiStripThresholdRcd>().cacheIdentifier();}
00032   
00033   void getConditionObject(const edm::EventSetup & eSetup){
00034     eSetup.get<SiStripThresholdRcd>().get(thresholdHandle_);
00035     cacheID_memory = cacheID_current;
00036   }
00037 
00038   private:
00039     edm::ESHandle<SiStripThreshold> thresholdHandle_;
00040     std::string WhichThreshold;
00041 };
00042 
00043 #endif