CMS 3D CMS Logo

RctDigiToRctText.h
Go to the documentation of this file.
1 #ifndef RCTDIGITORCTTEXT_H
2 #define RCTDIGITORCTTEXT_H
3 
4 /*\class RctDigiToRctText
5  *\description produces from RCT digis RCT data files
6  * format specified by Pam Klabbers
7  *\author Nuno Leonardo (CERN)
8  *\created Thu Mar 29 23:22:57 CEST 2007
9  */
10 
11 // system include files
12 #include <fstream>
13 #include <iostream>
14 #include <memory>
15 
16 // user include files
19 
22 
25 
27 
28 const static unsigned NUM_RCT_CRATES = 18;
29 
31 
32 public:
33  explicit RctDigiToRctText(const edm::ParameterSet &);
34  ~RctDigiToRctText() override;
35 
36 private:
37  void analyze(const edm::Event &, const edm::EventSetup &) override;
38 
41 
44 
47 
49  std::ofstream m_file[NUM_RCT_CRATES];
50 
52  std::ofstream fdebug;
53 };
54 
55 #endif
static const unsigned NUM_RCT_CRATES
bool m_hexUpperCase
write upper case hex words
edm::InputTag m_rctInputLabel
label for RCT digis
void analyze(const edm::Event &, const edm::EventSetup &) override
std::ofstream m_file[NUM_RCT_CRATES]
handles for output files
~RctDigiToRctText() override
RctDigiToRctText(const edm::ParameterSet &)
std::string m_textFileName
basename for output files
std::ofstream fdebug
handle for debug file