| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# RunRecordStream Class Reference

Extension of OutputStream to write run records after last event. More...

`#include <RunRecordStream.h>`

Inheritance diagram for RunRecordStream:

[legend]
Collaboration diagram for RunRecordStream:

[legend]

List of all members.

## Public Member Functions
| RunRecordStream (const std::string &nam, ISvcLocator *svc)
| Standard algorithm Constructor.
virtual | ~RunRecordStream ()
| Standard Destructor.
virtual StatusCode | finalize ()
| Algorithm overload: finalization.
virtual StatusCode | execute ()
| Runrecords do not get written for each event: Event processing hence dummy....

## Detailed Description

Extension of OutputStream to write run records after last event.

Author:
  M.Frank

Version:
  1.0

Definition at line 14 of file RunRecordStream.h.

## Constructor & Destructor Documentation

RunRecordStream::RunRecordStream | ( | const std::string & | nam,
|  | ISvcLocator * | svc |
| ) |  |  | `[inline]`

Standard algorithm Constructor.

Definition at line 17 of file RunRecordStream.h.

    00017 : OutputStream(nam,svc) {}

virtual RunRecordStream::~RunRecordStream | ( |  | ) | `[inline, virtual]`

Standard Destructor.

Definition at line 19 of file RunRecordStream.h.

    00019 {}

## Member Function Documentation

StatusCode RunRecordStream::finalize | ( | void |  | ) | `[virtual]`

Algorithm overload: finalization.

Reimplemented from OutputStream.

Definition at line 18 of file RunRecordStream.cpp.

    00018                                      {
    00019   MsgStream log(msgSvc(), name());
    00020   log << MSG::INFO << "Set up File Summary Record" << endmsg;
    00021   StatusCode sc = OutputStream::execute();
    00022   if( !sc.isSuccess() )  {
    00023     log << MSG::WARNING << "Error writing run summary record....." << endmsg;
    00024   }
    00025   return OutputStream::finalize();
    00026 }

virtual StatusCode RunRecordStream::execute | ( |  | ) | `[inline, virtual]`

Runrecords do not get written for each event: Event processing hence dummy....

Reimplemented from OutputStream.

Definition at line 23 of file RunRecordStream.h.

    00023 {  return StatusCode::SUCCESS; }

The documentation for this class was generated from the following files:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r8/GaudiSvc/src/PersistencySvc/RunRecordStream.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r8/GaudiSvc/src/PersistencySvc/RunRecordStream.cpp