00001 #ifndef DQM_SiStripCommon_FEDRawDataAnalyzer_H 00002 #define DQM_SiStripCommon_FEDRawDataAnalyzer_H 00003 00004 #include "FWCore/Framework/interface/EDAnalyzer.h" 00005 #include "FWCore/Framework/interface/EventSetup.h" 00006 #include "FWCore/Framework/interface/Event.h" 00007 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00008 #include "boost/cstdint.hpp" 00009 #include <vector> 00010 #include <string> 00011 00016 class FEDRawDataAnalyzer : public edm::EDAnalyzer { 00017 00018 public: 00019 00020 FEDRawDataAnalyzer( const edm::ParameterSet& ); 00021 virtual ~FEDRawDataAnalyzer() {;} 00022 00023 void beginJob( edm::EventSetup const& ); 00024 void analyze( const edm::Event&, const edm::EventSetup& ); 00025 void endJob(); 00026 00027 private: 00028 00029 class Temp { 00030 public: 00031 Temp( float rate, float meas, int nfeds ) : 00032 rate_(rate), meas_(meas), nfeds_(nfeds) {;} 00033 Temp() : rate_(0.), meas_(0.), nfeds_(0) {;} 00034 float rate_; 00035 float meas_; 00036 int nfeds_; 00037 }; 00038 00039 std::vector<Temp> temp_; 00040 00041 std::string label_; 00042 std::string instance_; 00043 int32_t sleep_; 00044 00045 }; 00046 00047 #endif // DQM_SiStripCommon_FEDRawDataAnalyzer_H 00048