| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

RecordOutputStream.h
Go to the documentation of this file.
1 #ifndef COMPONENT_RECORDOUTPUTSTREAM_H
2 #define COMPONENT_RECORDOUTPUTSTREAM_H 1
3 // Include files
4 // from Gaudi
5 #include "GaudiAlg/GaudiAlgorithm.h"
6
20 class RecordOutputStream : public GaudiAlgorithm
21 {
22 public:
23 using GaudiAlgorithm::GaudiAlgorithm;
24
25 ~RecordOutputStream() override = default;
26
27 StatusCode initialize() override;
28 StatusCode execute() override;
29 StatusCode finalize() override;
30
33 static inline const std::string locationRoot() { return "TriggeredOutputStreams"; }
34 protected:
35 private:
36 Gaudi::Property<std::string> m_streamName{
37 this, "OutputStreamName", {}, "Name of the OutputStream instance should be triggered."};
38
41 std::string m_flagLocation;
42 };
43
44 #endif // COMPONENT_RECORDOUTPUTSTREAM_H
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:314
RecordOutputStream::execute
StatusCode execute() override
Algorithm execution.
Definition: RecordOutputStream.cpp:35
GaudiAlgorithm.h
Header file for class GaudiAlgorithm.
RecordOutputStream::m_flagLocation
std::string m_flagLocation
location of the DataObject flag used to record that this algorithm was called
Definition: RecordOutputStream.h:41
std::string
STL class.
RecordOutputStream::m_streamName
Gaudi::Property< std::string > m_streamName
Definition: RecordOutputStream.h:36
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
RecordOutputStream::~RecordOutputStream
~RecordOutputStream() override=default
Destructor.
GaudiAlgorithm
The useful base class for data processing algorithms.
Definition: GaudiAlgorithm.h:94
RecordOutputStream::initialize
StatusCode initialize() override
Algorithm initialization.
Definition: RecordOutputStream.cpp:16
RecordOutputStream
Simple class that adds an entry to the Transient Event Store to record that the processing flow trigg...
Definition: RecordOutputStream.h:20
GaudiAlgorithm::GaudiAlgorithm
GaudiAlgorithm()
RecordOutputStream::locationRoot
static const std::string locationRoot()
Return the path in the Transient Store used to record the triggered instances.
Definition: RecordOutputStream.h:33
RecordOutputStream::finalize
StatusCode finalize() override
Algorithm finalization.
Definition: RecordOutputStream.cpp:51