|
Gaudi Framework, version v23r2 |
| Home | Generated: Thu Jun 28 2012 |
00001 // $Id: RunRecordStream.cpp,v 1.1 2008/11/04 22:49:25 marcocle Exp $ 00002 #define GAUDISVC_PERSISTENCYSVC_OUTPUTFSRSTREAM_CPP 00003 00004 // Framework include files 00005 #include "GaudiKernel/AlgFactory.h" 00006 #include "GaudiKernel/IRegistry.h" 00007 #include "GaudiKernel/IDataManagerSvc.h" 00008 #include "GaudiKernel/IDataProviderSvc.h" 00009 #include "GaudiKernel/IOpaqueAddress.h" 00010 #include "GaudiKernel/DataStoreItem.h" 00011 #include "GaudiKernel/DataObject.h" 00012 #include "GaudiKernel/MsgStream.h" 00013 #include "RunRecordStream.h" 00014 00015 // Define the algorithm factory for the standard output data writer 00016 DECLARE_ALGORITHM_FACTORY(RunRecordStream) 00017 00018 StatusCode RunRecordStream::finalize() { 00019 MsgStream log(msgSvc(), name()); 00020 log << MSG::INFO << "Set up File Summary Record" << endmsg; 00021 StatusCode sc = OutputStream::execute(); 00022 if( !sc.isSuccess() ) { 00023 log << MSG::WARNING << "Error writing run summary record....." << endmsg; 00024 } 00025 return OutputStream::finalize(); 00026 }