| The Gaudi Framework v27r1

- 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
7
21 class RecordOutputStream: public GaudiAlgorithm {
22 public:
24 RecordOutputStream(const std::string& name, ISvcLocator* pSvcLocator);
25 virtual ~RecordOutputStream();
26
27 virtual StatusCode initialize();
28 virtual StatusCode execute ();
29 virtual StatusCode finalize ();
30
33 static inline const std::string locationRoot() {
34 return "TriggeredOutputStreams";
35 }
36 protected:
37 private:
40 std::string m_streamName;
41
44 std::string m_flagLocation;
45 };
46
47 #endif // COMPONENT_RECORDOUTPUTSTREAM_H
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
RecordOutputStream::finalize
virtual StatusCode finalize()
Algorithm finalization.
Definition: RecordOutputStream.cpp:66
GaudiAlgorithm.h
RecordOutputStream::~RecordOutputStream
virtual ~RecordOutputStream()
Destructor.
Definition: RecordOutputStream.cpp:26
RecordOutputStream::initialize
virtual StatusCode initialize()
Algorithm initialization.
Definition: RecordOutputStream.cpp:31
RecordOutputStream::m_flagLocation
std::string m_flagLocation
location of the DataObject flag used to record that this algorithm was called
Definition: RecordOutputStream.h:44
std::string
STL class.
Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:820
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
GaudiAlgorithm
The useful base class for data processing algorithms.
Definition: GaudiAlgorithm.h:93
RecordOutputStream
Simple class that adds an entry to the Transient Event Store to record that the processing flow trigg...
Definition: RecordOutputStream.h:21
RecordOutputStream::RecordOutputStream
RecordOutputStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition: RecordOutputStream.cpp:16
RecordOutputStream::execute
virtual StatusCode execute()
Algorithm execution.
Definition: RecordOutputStream.cpp:50
RecordOutputStream::m_streamName
std::string m_streamName
Name of the OuputStream that should be called when this algorithm is triggered.
Definition: RecordOutputStream.h:40
RecordOutputStream::locationRoot
static const std::string locationRoot()
Return the path in the Transient Store used to record the triggered instances.
Definition: RecordOutputStream.h:33