The Gaudi Framework  v29r0 (ff2e7097)
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 
20 {
21 
22 public:
24  InputCopyStream( const std::string& name, ISvcLocator* pSvcLocator );
25 
27  ~InputCopyStream() override = default;
28 
30  StatusCode initialize() override;
31 
33  StatusCode finalize() override;
34 
36  StatusCode collectObjects() override;
37 
38 private:
41 
42  Gaudi::Property<std::vector<std::string>> m_tesVetoList{this, "TESVetoList", {}, "names of TES locations to Veto"};
43 
44 protected:
46  bool hasInput() const override { return true; }
47 };
48 
49 #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.
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:731
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:319
A small to stream Data I/O.
Definition: OutputStream.h:29
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:28
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.