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 
12 // system include files
13 #include <memory>
14 #include <iostream>
15 #include <fstream>
16 
17 // user include files
20 
23 
26 
28 
29 const static unsigned NUM_RCT_CRATES = 18;
30 
31 
33 
34  public:
35  explicit RctDigiToRctText(const edm::ParameterSet&);
37 
38 
39  private:
40  virtual void analyze(const edm::Event&, const edm::EventSetup&);
41 
44 
47 
50 
52  std::ofstream m_file[NUM_RCT_CRATES];
53 
55  std::ofstream fdebug;
56 
57 };
58 
59 #endif
static const unsigned NUM_RCT_CRATES
virtual void analyze(const edm::Event &, const edm::EventSetup &)
bool m_hexUpperCase
write upper case hex words
edm::InputTag m_rctInputLabel
label for RCT digis
std::ofstream m_file[NUM_RCT_CRATES]
handles for output files
RctDigiToRctText(const edm::ParameterSet &)
std::string m_textFileName
basename for output files
std::ofstream fdebug
handle for debug file