The Gaudi Framework  master (37c0b60a)
RunRecordStream.h
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 #ifndef GAUDISVC_PERSISTENCYSVC_RUNRECORDSTREAM_H
12 #define GAUDISVC_PERSISTENCYSVC_RUNRECORDSTREAM_H
13 
14 // Required for inheritance
15 #include "OutputStream.h"
16 
23 class RunRecordStream : public OutputStream {
24 public:
26  RunRecordStream( const std::string& nam, ISvcLocator* svc ) : OutputStream( nam, svc ) {}
28  StatusCode execute() override { return StatusCode::SUCCESS; }
30  StatusCode finalize() override;
31 };
32 
33 #endif // GAUDISVC_PERSISTENCYSVC_OUPUTFSRSTREAM_H
OutputStream
A small to stream Data I/O.
Definition: OutputStream.h:38
std::string
STL class.
ISvcLocator
Definition: ISvcLocator.h:46
RunRecordStream::RunRecordStream
RunRecordStream(const std::string &nam, ISvcLocator *svc)
Standard algorithm Constructor.
Definition: RunRecordStream.h:26
RunRecordStream::execute
StatusCode execute() override
Runrecords do not get written for each event: Event processing hence dummy....
Definition: RunRecordStream.h:28
StatusCode
Definition: StatusCode.h:65
RunRecordStream
Definition: RunRecordStream.h:23
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition: StatusCode.h:100
RunRecordStream::finalize
StatusCode finalize() override
Algorithm overload: finalization.
Definition: RunRecordStream.cpp:24
OutputStream.h