Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
InputCopyStream.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_PERSISTENCYSVC_INPUTCOPYSTREAM_H
2 #define GAUDISVC_PERSISTENCYSVC_INPUTCOPYSTREAM_H
3 
4 // Required for inheritance
5 #include "OutputStream.h"
6 
7 class IDataStoreLeaves;
8 
19 class InputCopyStream : public OutputStream {
20 
21 public:
23  InputCopyStream( const std::string& name, ISvcLocator* pSvcLocator );
24 
26  StatusCode initialize() override;
27 
29  StatusCode finalize() override;
30 
32  StatusCode collectObjects() override;
33 
34 private:
37 
38  Gaudi::Property<std::vector<std::string>> m_tesVetoList{this, "TESVetoList", {}, "names of TES locations to Veto"};
39 
40 protected:
42  bool hasInput() const override { return true; }
43 };
44 
45 #endif // GAUDISVC_PERSISTENCYSVC_INPUTCOPYSTREAM_H
Extension of OutputStream to copy the content of the main input file.
StatusCode initialize() override
Initialize the instance.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
Interface for a tool or service that returns a list of leaves (paths) in a transient store...
Implementation of property with value of concrete type.
Definition: Property.h:352
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:635
A small to stream Data I/O.
Definition: OutputStream.h:28
STL class.
InputCopyStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
IDataStoreLeaves * m_leavesTool
Pointer to the (public) tool used to retrieve the objects in a file.
Gaudi::Property< std::vector< std::string > > m_tesVetoList
bool hasInput() const override
Overridden from the base class (InputCopyStream has always input).
StatusCode finalize() override
Finalize the instance.
StatusCode collectObjects() override
Collect all objects to be written to the output stream.