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 public:
32  explicit RctDigiToRctText(const edm::ParameterSet &);
33  ~RctDigiToRctText() override;
34 
35 private:
36  void analyze(const edm::Event &, const edm::EventSetup &) override;
37 
40 
43 
46 
48  std::ofstream m_file[NUM_RCT_CRATES];
49 
51  std::ofstream fdebug;
52 
53  int nevt = -1;
54 };
55 
56 #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