test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <memory>
12 #include <iostream>
13 #include <fstream>
14 // user include files
21 // gct
23 
25 
26  public:
27  explicit GctDigiToPsbText(const edm::ParameterSet&);
29 
30 
31  private:
32  virtual void analyze(const edm::Event&, const edm::EventSetup&);
33 
36 
39 
42 
44  std::ofstream m_file[4];
45 
47  std::ofstream fdebug;
48 
49 };
50 
51 #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
virtual void analyze(const edm::Event &, const edm::EventSetup &)
GctDigiToPsbText(const edm::ParameterSet &)
std::ofstream fdebug
handle for debug file