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 
5 // Required for inheritance
6 #include "OutputStream.h"
7 
8 class IDataStoreLeaves;
9 
21 {
22 
23 public:
24 
26  InputCopyStream(const std::string& name, ISvcLocator* pSvcLocator);
27 
29  ~InputCopyStream() override = default;
30 
32  StatusCode initialize() override;
33 
35  StatusCode finalize() override;
36 
38  StatusCode collectObjects() override;
39 
40 private:
41 
44 
46  std::vector<std::string> m_tesVetoList;
47 
48 protected:
49 
51  bool hasInput() const override { return true; }
52 
53 };
54 
55 #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
~InputCopyStream() override=default
Standard Destructor.
Interface for a tool or service that returns a list of leaves (paths) in a transient store...
A small to stream Data I/O.
Definition: OutputStream.h:29
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:919
std::vector< std::string > m_tesVetoList
Names of TES locations to Veto.
InputCopyStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IDataStoreLeaves * m_leavesTool
Pointer to the (public) tool used to retrieve the objects in a file.
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.