The Gaudi Framework
v30r3 (a5ef0a68)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
RunRecordStream.cpp
Go to the documentation of this file.
1
// Framework include files
2
#include "
RunRecordStream.h
"
3
#include "
GaudiKernel/DataObject.h
"
4
#include "
GaudiKernel/DataStoreItem.h
"
5
#include "
GaudiKernel/IDataManagerSvc.h
"
6
#include "
GaudiKernel/IDataProviderSvc.h
"
7
#include "
GaudiKernel/IOpaqueAddress.h
"
8
#include "
GaudiKernel/IRegistry.h
"
9
#include "
GaudiKernel/MsgStream.h
"
10
11
// Define the algorithm factory for the standard output data writer
12
DECLARE_COMPONENT
(
RunRecordStream
)
13
14
StatusCode
RunRecordStream
::finalize()
15
{
16
info() <<
"Set up File Summary Record"
<<
endmsg
;
17
StatusCode
sc =
OutputStream::execute
();
18
if
( !sc.
isSuccess
() ) {
19
warning() <<
"Error writing run summary record....."
<<
endmsg
;
20
}
21
return
OutputStream::finalize
();
22
}
OutputStream::finalize
StatusCode finalize() override
Terminate OutputStream.
Definition:
OutputStream.cpp:128
MsgStream.h
StatusCode::isSuccess
bool isSuccess() const
Definition:
StatusCode.h:287
RunRecordStream.h
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition:
PluginServiceV1.h:46
DataStoreItem.h
IDataManagerSvc.h
IDataProviderSvc.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:51
RunRecordStream
Extension of OutputStream to write run records after last event.
Definition:
RunRecordStream.h:13
IRegistry.h
IOpaqueAddress.h
OutputStream::execute
StatusCode execute() override
Working entry point.
Definition:
OutputStream.cpp:142
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition:
MsgStream.h:209
DataObject.h
GaudiCommonSvc
src
PersistencySvc
RunRecordStream.cpp
Generated on Wed Aug 1 2018 23:20:52 for The Gaudi Framework by
1.8.11