File indexing completed on 2024-04-06 12:21:41
0001 #ifndef GCTDIGITOPSBTEXT_H
0002 #define GCTDIGITOPSBTEXT_H
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <fstream>
0012 #include <iostream>
0013 #include <memory>
0014
0015 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0016 #include "FWCore/Framework/interface/Event.h"
0017 #include "FWCore/Framework/interface/Frameworkfwd.h"
0018 #include "FWCore/Framework/interface/MakerMacros.h"
0019 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0021
0022 #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
0023
0024 class GctDigiToPsbText : public edm::one::EDAnalyzer<> {
0025 public:
0026 explicit GctDigiToPsbText(const edm::ParameterSet &);
0027 ~GctDigiToPsbText() override;
0028
0029 private:
0030 void analyze(const edm::Event &, const edm::EventSetup &) override;
0031
0032
0033 edm::InputTag m_gctInputLabel;
0034
0035
0036 std::string m_textFileName;
0037
0038
0039 bool m_hexUpperCase;
0040
0041
0042 std::ofstream m_file[4];
0043
0044
0045 std::ofstream fdebug;
0046 };
0047
0048 #endif