| The Gaudi Framework v32r1 (f65d50dc)

RunRecordStream.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_PERSISTENCYSVC_RUNRECORDSTREAM_H
2 #define GAUDISVC_PERSISTENCYSVC_RUNRECORDSTREAM_H
3
4 // Required for inheritance
5 #include "OutputStream.h"
6
13 class RunRecordStream : public OutputStream {
14 public:
16 RunRecordStream( const std::string& nam, ISvcLocator* svc ) : OutputStream( nam, svc ) {}
18 StatusCode execute() override { return StatusCode::SUCCESS; }
20 StatusCode finalize() override;
21 };
22
23 #endif // GAUDISVC_PERSISTENCYSVC_OUPUTFSRSTREAM_H
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
RunRecordStream::execute
StatusCode execute() override
Runrecords do not get written for each event: Event processing hence dummy....
Definition: RunRecordStream.h:18
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition: StatusCode.h:85
OutputStream
A small to stream Data I/O.
Definition: OutputStream.h:28
std::string
STL class.
RunRecordStream::RunRecordStream
RunRecordStream(const std::string &nam, ISvcLocator *svc)
Standard algorithm Constructor.
Definition: RunRecordStream.h:16
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
RunRecordStream
Extension of OutputStream to write run records after last event.
Definition: RunRecordStream.h:13
OutputStream.h
RunRecordStream::finalize
StatusCode finalize() override
Algorithm overload: finalization.
Definition: RunRecordStream.cpp:14