| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# RecordStream Class Reference

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

`#include <RecordStream.h>`

Inheritance diagram for RecordStream:

[legend]
Collaboration diagram for RecordStream:

[legend]

List of all members.

## Public Member Functions
| RecordStream (const std::string &, ISvcLocator *)
| Standard algorithm Constructor.
virtual | ~RecordStream ()
| 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 RecordStream.h.

## Constructor & Destructor Documentation

RecordStream::RecordStream | ( | const std::string & | name,
|  | ISvcLocator * | pSvcLocator |
| ) |  |  |

Standard algorithm Constructor.

in the baseclass, always fire the incidents by default in RecordStream this will be set to false, and configurable

Definition at line 19 of file RecordStream.cpp.

    00020  : OutputStream(name, pSvcLocator)
    00021 {
    00024   m_fireIncidents  = false;
    00025   declareProperty("FireIncidents",      m_fireIncidents=false);
    00026 }

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

Standard Destructor.

Definition at line 19 of file RecordStream.h.

    00019 {}

## Member Function Documentation

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

Algorithm overload: finalization.

Reimplemented from OutputStream.

Definition at line 28 of file RecordStream.cpp.

    00028                                   {
    00029   MsgStream log(msgSvc(), name());
    00030   log << MSG::INFO << "Set up File Summary Record" << endmsg;
    00031   if(!m_fireIncidents) log << MSG::VERBOSE << "will not fire incidents" << endmsg;
    00032   StatusCode sc = OutputStream::execute();
    00033   if( !sc.isSuccess() )  {
    00034     log << MSG::WARNING << "Error writing run summary record....." << endmsg;
    00035   }
    00036   return OutputStream::finalize();
    00037 }

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

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

Reimplemented from OutputStream.

Definition at line 23 of file RecordStream.h.

    00023 {  return StatusCode::SUCCESS; }

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r7/GaudiSvc/src/PersistencySvc/RecordStream.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r7/GaudiSvc/src/PersistencySvc/RecordStream.cpp