|
Gaudi Framework, version v22r0 |
| Home | Generated: 9 Feb 2011 |
Extension of OutputStream to write run records after last event. More...
#include <RecordStream.h>


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.... | |
Extension of OutputStream to write run records after last event.
Definition at line 14 of file RecordStream.h.
| 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] |
| 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; }
| StatusCode RecordStream::finalize | ( | ) | [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 }