CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/DQM/SiStripMonitorSummary/interface/SiStripLorentzAngleDQM.h

Go to the documentation of this file.
00001 #ifndef SiStripMonitorSummary_SiStripLorentzAngleDQM_h
00002 #define SiStripMonitorSummary_SiStripLorentzAngleDQM_h
00003 
00004 
00005 #include "FWCore/Framework/interface/ESHandle.h"
00006 
00007 #include "DQM/SiStripMonitorSummary/interface/SiStripBaseCondObjDQM.h"
00008 
00009 #include "CondFormats/SiStripObjects/interface/SiStripLorentzAngle.h"
00010 #include "CondFormats/DataRecord/interface/SiStripLorentzAngleRcd.h"
00011 
00012 
00013 class SiStripLorentzAngleDQM : public SiStripBaseCondObjDQM{
00014  
00015   public:
00016   
00017   SiStripLorentzAngleDQM(const edm::EventSetup & eSetup,
00018                              edm::ParameterSet const& hPSet,
00019                              edm::ParameterSet const& fPSet);
00020   
00021   virtual ~SiStripLorentzAngleDQM();
00022   
00023   void getActiveDetIds(const edm::EventSetup & eSetup);
00024   
00025   void fillModMEs(const std::vector<uint32_t> & selectedDetIds){};
00026   void fillMEsForDet(ModMEs selModME_,uint32_t selDetId_){};
00027   
00028   void fillSummaryMEs(const std::vector<uint32_t> & selectedDetIds);
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<SiStripLorentzAngleRcd>().cacheIdentifier();}
00032   
00033   void getConditionObject(const edm::EventSetup & eSetup){
00034     eSetup.get<SiStripLorentzAngleRcd>().get(lorentzangleHandle_);
00035     cacheID_memory = cacheID_current;
00036   }
00037 
00038   private:
00039     edm::ESHandle<SiStripLorentzAngle> lorentzangleHandle_;
00040 };
00041 
00042 #endif