The Gaudi Framework
master (bdbe7744)
Toggle main menu visibility
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
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
:
45
IDataStoreLeaves
*
m_leavesTool
=
nullptr
;
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.h
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition
Algorithm.cpp:518
Gaudi::Property
Implementation of property with value of concrete type.
Definition
Property.h:35
IDataStoreLeaves
Interface for a tool or service that returns a list of leaves (paths) in a transient store.
Definition
IDataStoreLeaves.h:23
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition
ISvcLocator.h:42
InputCopyStream::finalize
StatusCode finalize() override
Finalize the instance.
Definition
InputCopyStream.cpp:42
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::InputCopyStream
InputCopyStream(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm Constructor.
Definition
InputCopyStream.cpp:26
InputCopyStream::m_leavesTool
IDataStoreLeaves * m_leavesTool
Pointer to the (public) tool used to retrieve the objects in a file.
Definition
InputCopyStream.h:45
InputCopyStream::m_tesVetoList
Gaudi::Property< std::vector< std::string > > m_tesVetoList
Definition
InputCopyStream.h:47
InputCopyStream::collectObjects
StatusCode collectObjects() override
Collect all objects to be written to the output stream.
Definition
InputCopyStream.cpp:49
OutputStream
A small to stream Data I/O.
Definition
OutputStream.h:37
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
GaudiCommonSvc
src
PersistencySvc
InputCopyStream.h
Generated on
for The Gaudi Framework by
1.17.0