The Gaudi Framework  v30r3 (a5ef0a68)
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 
14 {
15 public:
17  RunRecordStream( const std::string& nam, ISvcLocator* svc ) : OutputStream( nam, svc ) {}
19  StatusCode execute() override { return StatusCode::SUCCESS; }
21  StatusCode finalize() override;
22 };
23 
24 #endif // GAUDISVC_PERSISTENCYSVC_OUPUTFSRSTREAM_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
StatusCode execute() override
Runrecords do not get written for each event: Event processing hence dummy....
A small to stream Data I/O.
Definition: OutputStream.h:29
STL class.
RunRecordStream(const std::string &nam, ISvcLocator *svc)
Standard algorithm Constructor.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
Extension of OutputStream to write run records after last event.
constexpr static const auto SUCCESS
Definition: StatusCode.h:87
StatusCode finalize() override
Algorithm overload: finalization.