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 
26 public:
27  explicit GctDigiToPsbText(const edm::ParameterSet &);
28  ~GctDigiToPsbText() override;
29 
30 private:
31  void analyze(const edm::Event &, const edm::EventSetup &) override;
32 
35 
38 
41 
43  std::ofstream m_file[4];
44 
46  std::ofstream fdebug;
47 };
48 
49 #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