Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
InputCopyStream.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
13 // Required for inheritance
14 #include "OutputStream.h"
15 
16 class IDataStoreLeaves;
17 
28 class InputCopyStream : public OutputStream {
29 
30 public:
32  InputCopyStream( const std::string& name, ISvcLocator* pSvcLocator );
33 
35  StatusCode initialize() override;
36 
38  StatusCode finalize() override;
39 
41  StatusCode collectObjects() override;
42 
43 private:
46 
47  Gaudi::Property<std::vector<std::string>> m_tesVetoList{ this, "TESVetoList", {}, "names of TES locations to Veto" };
48 
49 protected:
51  bool hasInput() const override { return true; }
52 };
OutputStream
A small to stream Data I/O.
Definition: OutputStream.h:37
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:524
IDataStoreLeaves
Interface for a tool or service that returns a list of leaves (paths) in a transient store.
Definition: IDataStoreLeaves.h:23
ISvcLocator
Definition: ISvcLocator.h:42
InputCopyStream::collectObjects
StatusCode collectObjects() override
Collect all objects to be written to the output stream.
Definition: InputCopyStream.cpp:49
InputCopyStream::m_leavesTool
IDataStoreLeaves * m_leavesTool
Pointer to the (public) tool used to retrieve the objects in a file.
Definition: InputCopyStream.h:45
StatusCode
Definition: StatusCode.h:64
InputCopyStream::m_tesVetoList
Gaudi::Property< std::vector< std::string > > m_tesVetoList
Definition: InputCopyStream.h:47
InputCopyStream::initialize
StatusCode initialize() override
Initialize the instance.
Definition: InputCopyStream.cpp:33
InputCopyStream::hasInput
bool hasInput() const override
Overridden from the base class (InputCopyStream has always input).
Definition: InputCopyStream.h:51
InputCopyStream::finalize
StatusCode finalize() override
Finalize the instance.
Definition: InputCopyStream.cpp:42
OutputStream.h
InputCopyStream::InputCopyStream
InputCopyStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
Definition: InputCopyStream.cpp:26
InputCopyStream
Extension of OutputStream to copy the content of the main input file.
Definition: InputCopyStream.h:28
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:35