| The Gaudi Framework v32r1 (f65d50dc)

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 public:
22 using GaudiAlgorithm::GaudiAlgorithm;
23
24 StatusCode initialize() override;
25 StatusCode execute() override;
26 StatusCode finalize() override;
27
30 static inline const std::string locationRoot() { return "TriggeredOutputStreams"; }
31
32 private:
33 Gaudi::Property<std::string> m_streamName{
34 this, "OutputStreamName", {}, "Name of the OutputStream instance should be triggered."};
35
38 std::string m_flagLocation;
39 };
40
41 #endif // COMPONENT_RECORDOUTPUTSTREAM_H
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:352
RecordOutputStream::execute
StatusCode execute() override
Algorithm execution.
Definition: RecordOutputStream.cpp:34
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:38
std::string
STL class.
RecordOutputStream::m_streamName
Gaudi::Property< std::string > m_streamName
Definition: RecordOutputStream.h:33
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
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
RecordOutputStream::locationRoot
static const std::string locationRoot()
Return the path in the Transient Store used to record the triggered instances.
Definition: RecordOutputStream.h:30
RecordOutputStream::finalize
StatusCode finalize() override
Algorithm finalization.
Definition: RecordOutputStream.cpp:50
GaudiAlgorithm::GaudiAlgorithm
GaudiAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition: GaudiAlgorithm.cpp:35