00001 00008 #include <FWCore/Framework/interface/EDAnalyzer.h> 00009 #include <FWCore/Framework/interface/Event.h> 00010 #include <FWCore/Framework/interface/MakerMacros.h> 00011 00012 #include <DataFormats/Common/interface/Handle.h> 00013 #include <DataFormats/FEDRawData/interface/FEDRawData.h> 00014 #include <DataFormats/FEDRawData/interface/FEDNumbering.h> 00015 #include <DataFormats/FEDRawData/interface/FEDRawDataCollection.h> 00016 00017 #include <iostream> 00018 #include <vector> 00019 #include <string> 00020 #include <stdio.h> 00021 #include <fstream> 00022 00023 #include <iomanip> 00024 00025 00026 class EcalHexDisplay: public edm::EDAnalyzer { 00027 00028 public: 00029 EcalHexDisplay(const edm::ParameterSet& ps); 00030 00031 protected: 00032 int verbosity_; 00033 int beg_fed_id_; 00034 int end_fed_id_; 00035 int first_event_; 00036 int last_event_; 00037 int event_; 00038 bool writeDcc_; 00039 std::string filename_; 00040 00041 void analyze(const edm::Event & e, const edm::EventSetup& c); 00042 00043 };