CMS 3D CMS Logo

DTROS8FileReader.h
Go to the documentation of this file.
1 #ifndef DaqSource_DTROS8FileReader_h
2 #define DaqSource_DTROS8FileReader_h
3 
18 
19 #include <fstream>
20 
22 public:
25 
27  ~DTROS8FileReader() override;
28 
30  virtual int fillRawData(edm::Event& e,
31  // edm::Timestamp& tstamp,
33 
34  void produce(edm::Event&, edm::EventSetup const&) override;
35 
36  virtual bool checkEndOfFile();
37 
38 private:
40 
43 
44  static const int ros8WordLenght = 4;
45 };
46 #endif
edm::EventNumber_t eventNum
~DTROS8FileReader() override
Destructor.
virtual bool checkEndOfFile()
void produce(edm::Event &, edm::EventSetup const &) override
virtual int fillRawData(edm::Event &e, FEDRawDataCollection *&data)
Generate and fill FED raw data for a full event.
unsigned long long EventNumber_t
edm::RunNumber_t runNum
static const int ros8WordLenght
DTROS8FileReader(const edm::ParameterSet &pset)
Constructor.
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
unsigned int RunNumber_t