The Gaudi Framework
master (53dee381)
Toggle main menu visibility
Loading...
Searching...
No Matches
RecordOutputStream.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2023 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
#pragma once
12
13
#include <
GaudiKernel/Algorithm.h
>
14
28
class
RecordOutputStream
:
public
Algorithm
{
29
public
:
30
using
Algorithm::Algorithm
;
31
32
StatusCode
initialize
()
override
;
33
StatusCode
execute
()
override
;
34
37
static
inline
const
std::string
locationRoot
() {
return
"TriggeredOutputStreams"
; }
38
39
private
:
40
Gaudi::Property<std::string>
m_streamName
{
41
this
,
"OutputStreamName"
, {},
"Name of the OutputStream instance should be triggered."
};
42
45
std::string
m_flagLocation
;
46
};
Algorithm.h
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
Gaudi::Property
Implementation of property with value of concrete type.
Definition
Property.h:35
RecordOutputStream
Simple class that adds an entry to the Transient Event Store to record that the processing flow trigg...
Definition
RecordOutputStream.h:28
RecordOutputStream::execute
StatusCode execute() override
Algorithm execution.
Definition
RecordOutputStream.cpp:42
RecordOutputStream::locationRoot
static const std::string locationRoot()
Return the path in the Transient Store used to record the triggered instances.
Definition
RecordOutputStream.h:37
RecordOutputStream::m_flagLocation
std::string m_flagLocation
location of the DataObject flag used to record that this algorithm was called
Definition
RecordOutputStream.h:45
RecordOutputStream::initialize
StatusCode initialize() override
Algorithm initialization.
Definition
RecordOutputStream.cpp:24
RecordOutputStream::m_streamName
Gaudi::Property< std::string > m_streamName
Definition
RecordOutputStream.h:40
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
GaudiMP
src
component
RecordOutputStream.h
Generated on
for The Gaudi Framework by
1.17.0