The Gaudi Framework
v26r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RecordStream.cpp
Go to the documentation of this file.
1
// Framework include files
2
#include "GaudiKernel/IRegistry.h"
3
#include "GaudiKernel/IDataManagerSvc.h"
4
#include "GaudiKernel/IDataProviderSvc.h"
5
#include "GaudiKernel/IOpaqueAddress.h"
6
#include "GaudiKernel/DataStoreItem.h"
7
#include "GaudiKernel/DataObject.h"
8
#include "GaudiKernel/MsgStream.h"
9
#include "
RecordStream.h
"
10
11
// Define the algorithm factory for the standard output data writer
12
DECLARE_COMPONENT
(
RecordStream
)
13
14
// Standard Constructor
15
RecordStream
::
RecordStream
(const
std
::
string
& name,
ISvcLocator
* pSvcLocator)
16
:
OutputStream
(name, pSvcLocator)
17
{
20
m_fireIncidents =
false
;
21
declareProperty(
"FireIncidents"
, m_fireIncidents=
false
);
22
}
23
24
StatusCode
RecordStream::finalize
() {
25
MsgStream
log
(
msgSvc
(),
name
());
26
log <<
MSG::INFO
<<
"Set up File Summary Record"
<<
endmsg
;
27
if
( !
m_fireIncidents
&& log.
level
() <=
MSG::VERBOSE
)
28
log <<
MSG::VERBOSE
<<
"will not fire incidents"
<< endmsg;
29
StatusCode
sc
=
OutputStream::execute
();
30
if
( !sc.
isSuccess
() ) {
31
log <<
MSG::WARNING
<<
"Error writing run summary record....."
<<
endmsg
;
32
}
33
return
OutputStream::finalize
();
34
}
GaudiCommonSvc
src
PersistencySvc
RecordStream.cpp
Generated on Mon Feb 16 2015 11:56:53 for The Gaudi Framework by
1.8.2