The Gaudi Framework
v33r1 (b1225454)
RunRecordStream.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
// Framework include files
12
#include "
RunRecordStream.h
"
13
#include "
GaudiKernel/DataObject.h
"
14
#include "
GaudiKernel/DataStoreItem.h
"
15
#include "
GaudiKernel/IDataManagerSvc.h
"
16
#include "
GaudiKernel/IDataProviderSvc.h
"
17
#include "
GaudiKernel/IOpaqueAddress.h
"
18
#include "
GaudiKernel/IRegistry.h
"
19
#include "
GaudiKernel/MsgStream.h
"
20
21
// Define the algorithm factory for the standard output data writer
22
DECLARE_COMPONENT
(
RunRecordStream
)
23
24
StatusCode
RunRecordStream
::finalize() {
25
info() <<
"Set up File Summary Record"
<<
endmsg
;
26
StatusCode
sc =
OutputStream::execute
();
27
if
( !sc.
isSuccess
() ) { warning() <<
"Error writing run summary record....."
<<
endmsg
; }
28
return
OutputStream::finalize
();
29
}
OutputStream::finalize
StatusCode finalize() override
Terminate OutputStream.
Definition:
OutputStream.cpp:133
MsgStream.h
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:61
RunRecordStream
Extension of OutputStream to write run records after last event.
Definition:
RunRecordStream.h:23
IRegistry.h
StatusCode::isSuccess
bool isSuccess() const
Definition:
StatusCode.h:365
IOpaqueAddress.h
OutputStream::execute
StatusCode execute() override
Working entry point.
Definition:
OutputStream.cpp:146
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition:
MsgStream.h:202
DataObject.h
GaudiCommonSvc
src
PersistencySvc
RunRecordStream.cpp
Generated on Mon Mar 23 2020 15:30:59 for The Gaudi Framework by
1.8.15