The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
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
17
29
30public:
32 InputCopyStream( const std::string& name, ISvcLocator* pSvcLocator );
33
35 StatusCode initialize() override;
36
38 StatusCode finalize() override;
39
41 StatusCode collectObjects() override;
42
43private:
46
47 Gaudi::Property<std::vector<std::string>> m_tesVetoList{ this, "TESVetoList", {}, "names of TES locations to Veto" };
48
49protected:
51 bool hasInput() const override { return true; }
52};
const std::string & name() const override
The identifying name of the algorithm object.
Implementation of property with value of concrete type.
Definition PropertyFwd.h:27
Interface for a tool or service that returns a list of leaves (paths) in a transient store.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition ISvcLocator.h:42
StatusCode finalize() override
Finalize the instance.
StatusCode initialize() override
Initialize the instance.
bool hasInput() const override
Overridden from the base class (InputCopyStream has always input).
InputCopyStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
IDataStoreLeaves * m_leavesTool
Pointer to the (public) tool used to retrieve the objects in a file.
Gaudi::Property< std::vector< std::string > > m_tesVetoList
StatusCode collectObjects() override
Collect all objects to be written to the output stream.
A small to stream Data I/O.
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64