Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-30 22:38:36

0001 /**
0002  *   
0003  * \author G. Franzoni
0004  *
0005  */
0006 
0007 #include <FWCore/Framework/interface/one/EDAnalyzer.h>
0008 #include <FWCore/Framework/interface/Event.h>
0009 #include <FWCore/Framework/interface/MakerMacros.h>
0010 #include "FWCore/Utilities/interface/InputTag.h"
0011 
0012 #include <DataFormats/Common/interface/Handle.h>
0013 #include <DataFormats/FEDRawData/interface/FEDRawData.h>
0014 #include <DataFormats/FEDRawData/interface/FEDNumbering.h>
0015 #include <DataFormats/FEDRawData/interface/FEDRawDataCollection.h>
0016 
0017 #include <iostream>
0018 #include <vector>
0019 #include <string>
0020 #include <cstdio>
0021 #include <fstream>
0022 
0023 #include <iomanip>
0024 
0025 class EcalHexDisplay : public edm::one::EDAnalyzer<> {
0026 public:
0027   EcalHexDisplay(const edm::ParameterSet& ps);
0028 
0029 protected:
0030   int verbosity_;
0031   int beg_fed_id_;
0032   int end_fed_id_;
0033   int first_event_;
0034   int last_event_;
0035   int event_;
0036   bool writeDcc_;
0037   std::string filename_;
0038 
0039   void analyze(const edm::Event& e, const edm::EventSetup& c) override;
0040 
0041 private:
0042   const edm::EDGetTokenT<FEDRawDataCollection> fedRawDataCollectionToken_;
0043 };