CMS 3D CMS Logo

GctDigiToPsbText.h
Go to the documentation of this file.
1 #ifndef GCTDIGITOPSBTEXT_H
2 #define GCTDIGITOPSBTEXT_H
3 
4 /*\class GctDigiToPsbText
5  *\description produces from GCT digis expected GT PSB files
6  *\author Nuno Leonardo (CERN)
7  *\date 08.08
8  */
9 
10 // system include files
11 #include <fstream>
12 #include <iostream>
13 #include <memory>
14 // user include files
21 // gct
23 
25 public:
26  explicit GctDigiToPsbText(const edm::ParameterSet &);
27  ~GctDigiToPsbText() override;
28 
29 private:
30  void analyze(const edm::Event &, const edm::EventSetup &) override;
31 
34 
37 
40 
42  std::ofstream m_file[4];
43 
45  std::ofstream fdebug;
46 };
47 
48 #endif
std::ofstream m_file[4]
handles for output files
std::string m_textFileName
basename for output files
edm::InputTag m_gctInputLabel
label for input digis
bool m_hexUpperCase
write upper case hex words
~GctDigiToPsbText() override
void analyze(const edm::Event &, const edm::EventSetup &) override
GctDigiToPsbText(const edm::ParameterSet &)
std::ofstream fdebug
handle for debug file