BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawFile/include/RawFile/RawFileWriter.h
Go to the documentation of this file.
1#ifndef BESIII_RAWFILE_WRITER_H
2#define BESIII_RAWFILE_WRITER_H
3
4#include "RawFile/raw_ofstream.h"
5
7public:
8 // all public interfaces should be thread safe
9 RawFileWriter( const std::string& fname, int run = 0 );
10 virtual ~RawFileWriter();
11
12 int writeEvent( const uint32_t* pevt );
13
14private:
15 RawFileWriter(); // stop default
16
17private:
18 raw_ofstream* m_wfs;
19};
20
21#endif
RawFileWriter(const std::string &fname, int run=0)
int writeEvent(const uint32_t *pevt)
virtual ~RawFileWriter()