BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
SimpleRawReader.h
Go to the documentation of this file.
1#ifndef SIMPLE_RAW_READER_H
2#define SIMPLE_RAW_READER_H
3
5#include <stdint.h>
6
8{
9 public :
10 SimpleRawReader(const std::string& fname);
11 virtual ~SimpleRawReader();
12
13 const uint32_t* nextEvent();
14
15 raw_ifstream* raw_stream() { return m_rfs; }
16
17 private :
18
19 uint32_t m_bufferSize;
20 uint32_t* m_buffer;
21
22 raw_ifstream* m_rfs;
23};
24#endif
#define private
virtual ~SimpleRawReader()
const uint32_t * nextEvent()
raw_ifstream * raw_stream()
SimpleRawReader(const std::string &fname)