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
6
class
RawFileWriter
{
7
public
:
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
14
private
:
15
RawFileWriter
();
// stop default
16
17
private
:
18
raw_ofstream
* m_wfs;
19
};
20
21
#endif
RawFileWriter::RawFileWriter
RawFileWriter(const std::string &fname, int run=0)
Definition
RawFileWriter.cxx:3
RawFileWriter::writeEvent
int writeEvent(const uint32_t *pevt)
Definition
RawFileWriter.cxx:9
RawFileWriter::~RawFileWriter
virtual ~RawFileWriter()
Definition
RawFileWriter.cxx:7
raw_ofstream
Definition
Event/RawFile/include/RawFile/raw_ofstream.h:11
8.0.0
BOSS_Source
Event
RawFile
include
RawFile
RawFileWriter.h
Generated by
1.16.1