| The Gaudi Framework v30r0 (c919700c)

- 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
35 protected:
36 private:
37 Gaudi::Property<std::string> m_streamName{
38 this, "OutputStreamName", {}, "Name of the OutputStream instance should be triggered."};
39
42 std::string m_flagLocation;
43 };
44
45 #endif // COMPONENT_RECORDOUTPUTSTREAM_H
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:319
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:42
std::string
STL class.
RecordOutputStream::m_streamName
Gaudi::Property< std::string > m_streamName
Definition: RecordOutputStream.h:37
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:52