File indexing completed on 2024-04-06 12:21:42
0001 #ifndef RCTDIGITOSOURCECARDTEXT_H
0002 #define RCTDIGITOSOURCECARDTEXT_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #include <memory>
0026
0027
0028 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0029 #include "FWCore/Framework/interface/Frameworkfwd.h"
0030
0031 #include "FWCore/Framework/interface/Event.h"
0032 #include "FWCore/Framework/interface/MakerMacros.h"
0033
0034 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0035
0036
0037 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
0038
0039 #include "L1Trigger/TextToDigi/interface/SourceCardRouting.h"
0040
0041 #include <fstream>
0042 #include <iostream>
0043
0044 class RctDigiToSourceCardText : public edm::one::EDAnalyzer<> {
0045 public:
0046 explicit RctDigiToSourceCardText(const edm::ParameterSet &);
0047 ~RctDigiToSourceCardText() override;
0048
0049 private:
0050 void analyze(const edm::Event &, const edm::EventSetup &) override;
0051
0052
0053 edm::InputTag m_rctInputLabel;
0054
0055
0056 std::string m_textFileName;
0057
0058
0059 std::ofstream m_file;
0060
0061
0062 unsigned short m_nevt;
0063
0064
0065 SourceCardRouting m_scRouting;
0066 };
0067
0068 #endif