BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RawDataCnv/RawDataCnv-00-04-35/RawDataCnv/RawDataOutputSvc.h
Go to the documentation of this file.
1#ifndef RAWDATAOUTPUTSVC_H
2#define RAWDATAOUTPUTSVC_H
3
4#include "GaudiKernel/ISvcLocator.h"
5
6#include "RawFile/RawFileWriter.h"
7#include "RawDataCnv/IRawDataOutputSvc.h"
8#include "RawDataCnv/EventManagement/RawEvent.h"
9
10
11//class RawDataOutputSvc : public Service, virtual public IRawDataOutputSvc
12class RawDataOutputSvc : virtual public IRawDataOutputSvc
13{
14 public:
15
16 RawDataOutputSvc(const std::string& name, ISvcLocator* svcloc);
18
19 virtual StatusCode initialize();
20 virtual StatusCode finalize();
21 virtual bool putEvent(WriteRawEvent* re);
22
23 private:
24
25 uint32_t* m_buffer;
26 RawFileWriter* m_fw;
27 std::string m_outputFile;
28};
29
30#endif
The event conversion service needs an additional interface used by the converters to declare their ob...
virtual StatusCode initialize()
virtual StatusCode finalize()
virtual bool putEvent(WriteRawEvent *re)