| The Gaudi Framework v28r2-patches (bc4ad17a)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
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:
40 IDataStoreLeaves* m_leavesTool = nullptr;
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
InputCopyStream
Extension of OutputStream to copy the content of the main input file.
Definition: InputCopyStream.h:19
InputCopyStream::initialize
StatusCode initialize() override
Initialize the instance.
Definition: InputCopyStream.cpp:24
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
InputCopyStream::~InputCopyStream
~InputCopyStream() override=default
Standard Destructor.
Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:715
IDataStoreLeaves
Interface for a tool or service that returns a list of leaves (paths) in a transient store...
Definition: IDataStoreLeaves.h:15
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:314
OutputStream
A small to stream Data I/O.
Definition: OutputStream.h:29
std::string
STL class.
InputCopyStream::InputCopyStream
InputCopyStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
Definition: InputCopyStream.cpp:16
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
InputCopyStream::m_leavesTool
IDataStoreLeaves * m_leavesTool
Pointer to the (public) tool used to retrieve the objects in a file.
Definition: InputCopyStream.h:40
InputCopyStream::m_tesVetoList
Gaudi::Property< std::vector< std::string > > m_tesVetoList
Definition: InputCopyStream.h:42
InputCopyStream::hasInput
bool hasInput() const override
Overridden from the base class (InputCopyStream has always input).
Definition: InputCopyStream.h:46
InputCopyStream::finalize
StatusCode finalize() override
Finalize the instance.
Definition: InputCopyStream.cpp:35
InputCopyStream::collectObjects
StatusCode collectObjects() override
Collect all objects to be written to the output stream.
Definition: InputCopyStream.cpp:43
OutputStream.h