CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DQM/SiStripMonitorSummary/interface/SiStripCablingDQM.h

Go to the documentation of this file.
00001 #ifndef SiStripMonitorSummary_SiStripCablingDQM_h
00002 #define SiStripMonitorSummary_SiStripCablingDQM_h
00003 
00004 
00005 #include "FWCore/Framework/interface/ESHandle.h"
00006 #include "CalibTracker/SiStripCommon/interface/SiStripDetInfoFileReader.h"
00007 #include "DQM/SiStripMonitorSummary/interface/SiStripBaseCondObjDQM.h"
00008 #include "CondFormats/SiStripObjects/interface/SiStripNoises.h"
00009 #include "CondFormats/DataRecord/interface/SiStripNoisesRcd.h"
00010 #include "CondFormats/SiStripObjects/interface/SiStripPedestals.h"
00011 #include "CondFormats/DataRecord/interface/SiStripPedestalsRcd.h"
00012 #include "CalibTracker/Records/interface/SiStripDetCablingRcd.h"
00013 #include "CalibFormats/SiStripObjects/interface/SiStripDetCabling.h"
00014 
00015 class SiStripCablingDQM: public SiStripBaseCondObjDQM{
00016   
00017   public:
00018 
00019   SiStripCablingDQM(const edm::EventSetup & eSetup,
00020                     edm::ParameterSet const& hPSet,
00021                     edm::ParameterSet const& fPSet);
00022   
00023   ~SiStripCablingDQM();
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   void getActiveDetIds(const edm::EventSetup & eSetup);
00032   unsigned long long getCache(const edm::EventSetup & eSetup){ return eSetup.get<SiStripDetCablingRcd>().cacheIdentifier();}
00033   
00034   void getConditionObject(const edm::EventSetup & eSetup){
00035     eSetup.get<SiStripDetCablingRcd>().get(cablingHandle_);
00036     cacheID_memory = cacheID_current;
00037   }
00038 
00039  
00040   private:
00041   
00042   //  SiStripDetInfoFileReader* reader; 
00043   //  std::pair<std::string,uint32_t> getLayerNameAndId(const uint32_t&);
00044   edm::ESHandle<SiStripDetCabling> cablingHandle_;  
00045 };
00046 
00047 #endif