Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SequentialOutputStream.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
2 #define GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
3 
4 #include <string>
5 // Required for inheritance
6 #include "OutputStream.h"
7 
15 
16 protected:
18  StatusCode writeObjects() override;
19 
20 public:
21  using OutputStream::OutputStream;
22 
23  StatusCode execute() override;
24 
25 private:
27  Gaudi::Property<bool> m_numericFilename{this, "NumericFilename", false};
29 
30  // Data members
31  unsigned int m_events = 0;
32  unsigned int m_iFile = 1;
33 
34  // Helper Methods
35  void makeFilename();
36 };
37 
38 #endif // GAUDISVC_PERSISTENCYSVC_SEQUENTIALOUTPUTSTREAM_H
StatusCode writeObjects() override
OutputStream override: Select the different objects and write them to file.
Implementation of property with value of concrete type.
Definition: Property.h:352
Gaudi::Property< bool > m_numericFilename
A small to stream Data I/O.
Definition: OutputStream.h:28
StatusCode execute() override
Working entry point.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
Gaudi::Property< unsigned int > m_eventsPerFile
Extension of OutputStream to write run records after last event.
Gaudi::Property< unsigned int > m_nNumbersAdded