BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RawDataOutputSvc.h
Go to the documentation of this file.
1#pragma once
2
3#include "GaudiKernel/Service.h"
4
5#include "RawDataCnv/EventManagement/RawEventDef.h"
6#include "RawFile/RawFileWriter.h"
7
8#include "RawDataCnvSvc/IRawDataOutputSvc.h"
9
10class RawDataOutputSvc : public extends<Service, IRawDataOutputSvc> {
11public:
12 RawDataOutputSvc( const std::string& name, ISvcLocator* svcloc );
14
15 StatusCode initialize();
16 StatusCode finalize();
17 bool putEvent( WriteRawEvent* re );
18
19private:
20 uint32_t* m_buffer;
21 RawFileWriter* m_fw;
22 std::string m_outputFile;
23};
eformat::write::FullEventFragment WriteRawEvent
RawDataOutputSvc(const std::string &name, ISvcLocator *svcloc)
StatusCode initialize()
bool putEvent(WriteRawEvent *re)