Go to the documentation of this file.00001 #ifndef RCTDIGITOSOURCECARDTEXT_H
00002 #define RCTDIGITOSOURCECARDTEXT_H
00003
00004
00005
00006
00007
00008
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #include <memory>
00026
00027
00028 #include "FWCore/Framework/interface/Frameworkfwd.h"
00029 #include "FWCore/Framework/interface/EDAnalyzer.h"
00030
00031 #include "FWCore/Framework/interface/Event.h"
00032 #include "FWCore/Framework/interface/MakerMacros.h"
00033
00034 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00035
00036
00037 #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
00038
00039 #include "L1Trigger/TextToDigi/src/SourceCardRouting.h"
00040
00041 #include <iostream>
00042 #include <fstream>
00043
00044 class RctDigiToSourceCardText : public edm::EDAnalyzer {
00045 public:
00046 explicit RctDigiToSourceCardText(const edm::ParameterSet&);
00047 ~RctDigiToSourceCardText();
00048
00049 private:
00050 virtual void analyze(const edm::Event&, const edm::EventSetup&);
00051
00053 edm::InputTag m_rctInputLabel;
00054
00056 std::string m_textFileName;
00057
00059 std::ofstream m_file;
00060
00062 unsigned short m_nevt;
00063
00065 SourceCardRouting m_scRouting;
00066 };
00067
00068 #endif