The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
RunRecordStream.cpp
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2024 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"
20
21// Define the algorithm factory for the standard output data writer
23
25 info() << "Set up File Summary Record" << endmsg;
27 if ( !sc.isSuccess() ) { warning() << "Error writing run summary record....." << endmsg; }
29}
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition MsgStream.h:198
#define DECLARE_COMPONENT(type)
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
StatusCode execute() override
Working entry point.
StatusCode finalize() override
Terminate OutputStream.
Extension of OutputStream to write run records after last event.
RunRecordStream(const std::string &nam, ISvcLocator *svc)
Standard algorithm Constructor.
StatusCode finalize() override
Algorithm overload: finalization.
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64
bool isSuccess() const
Definition StatusCode.h:314