00001 #ifndef SiStripMonitorRawData_SiStripMonitorRawData_h 00002 #define SiStripMonitorRawData_SiStripMonitorRawData_h 00003 // -*- C++ -*- 00004 // 00005 // Package: SiStripMonitorRawData 00006 // Class : SiStripMonitorRawData 00007 // 00016 // 00017 // Original Author: dutta 00018 // Created: Sat Feb 4 20:49:51 CET 2006 00019 // $Id: SiStripMonitorRawData.h,v 1.5 2009/11/05 21:08:29 dutta Exp $ 00020 // 00021 00022 // system include files 00023 #include <memory> 00024 00025 // user include files 00026 #include "FWCore/Framework/interface/Frameworkfwd.h" 00027 #include "FWCore/Framework/interface/EDAnalyzer.h" 00028 #include "FWCore/Framework/interface/ESHandle.h" 00029 00030 #include "FWCore/Framework/interface/Event.h" 00031 #include "FWCore/Framework/interface/MakerMacros.h" 00032 00033 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00034 00035 #include "boost/cstdint.hpp" 00036 #include <iostream> 00037 #include <string> 00038 #include <vector> 00039 00040 class MonitorElement; 00041 class DQMStore; 00042 class SiStripDetCabling; 00043 00044 class SiStripMonitorRawData : public edm::EDAnalyzer { 00045 public: 00046 explicit SiStripMonitorRawData(const edm::ParameterSet&); 00047 ~SiStripMonitorRawData(); 00048 00049 virtual void beginJob() ; 00050 virtual void beginRun(edm::Run const& run, edm::EventSetup const& eSetup); 00051 virtual void analyze(const edm::Event&, const edm::EventSetup&); 00052 virtual void endRun(edm::Run const& run, edm::EventSetup const& eSetup); 00053 virtual void endJob() ; 00054 00055 00056 private: 00057 MonitorElement* BadFedNumber; 00058 00059 DQMStore* dqmStore_; 00060 edm::ParameterSet conf_; 00061 edm::ESHandle< SiStripDetCabling > detcabling; 00062 std::vector<uint32_t> SelectedDetIds; 00063 00064 unsigned long long m_cacheID_; 00065 00066 }; 00067 00068 #endif