ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
OutputStreamAthenaPool
src
CopyEventStreamInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef COPYEVENTSTREAMINFO_H
6
#define COPYEVENTSTREAMINFO_H
7
12
13
#include "GaudiKernel/ServiceHandle.h"
14
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
17
#include "
AthenaKernel/IMetaDataTool.h
"
18
#include "
AthenaKernel/IAthMetaDataSvc.h
"
19
20
#include <string>
21
22
class
StoreGateSvc
;
23
27
class
CopyEventStreamInfo
:
public
extends<::AthAlgTool, IMetaDataTool> {
28
public
:
30
CopyEventStreamInfo
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
32
virtual
~CopyEventStreamInfo
() =
default
;
33
35
virtual
StatusCode
initialize
() override final;
36
38
virtual StatusCode
beginInputFile
(
const
SG
::SourceID& =
"Serial"
) override final;
39
42
virtual StatusCode
endInputFile
(
const
SG
::SourceID& =
"Serial"
) override final;
43
45
virtual StatusCode
metaDataStop
() override final;
46
47
private
:
49
Gaudi
::
Property
<
std
::
vector
<
std
::
string
>>
m_keys
{
this
,
"Keys"
, {},
50
"(optional) list of keys to copy, all if empty. default: empty"
};
51
53
ServiceHandle<IAthMetaDataSvc>
m_metaDataSvc
{
this
,
"MetaDataSvc"
,
"MetaDataSvc"
};
55
ServiceHandle<StoreGateSvc>
m_inputMetaDataStore
{
this
,
"InputMetaDataStore"
,
"StoreGateSvc/InputMetaDataStore"
};
56
};
57
#endif
AthAlgTool.h
IAthMetaDataSvc.h
This file contains the class definition for the IAthMetaDataSvc class.
IMetaDataTool.h
This file contains the class definition for the IMetaDataTool class.
CopyEventStreamInfo::CopyEventStreamInfo
CopyEventStreamInfo(const std::string &type, const std::string &name, const IInterface *parent)
Standard AlgTool Constructor.
Definition
CopyEventStreamInfo.cxx:17
CopyEventStreamInfo::m_keys
Gaudi::Property< std::vector< std::string > > m_keys
(optional) list of keys to copy, all if empty, default: empty
Definition
CopyEventStreamInfo.h:49
CopyEventStreamInfo::metaDataStop
virtual StatusCode metaDataStop() override final
Function called when the tool should write out its metadata.
Definition
CopyEventStreamInfo.cxx:91
CopyEventStreamInfo::m_inputMetaDataStore
ServiceHandle< StoreGateSvc > m_inputMetaDataStore
MetaDataStore for input.
Definition
CopyEventStreamInfo.h:55
CopyEventStreamInfo::initialize
virtual StatusCode initialize() override final
AthAlgTool Interface method implementations:
Definition
CopyEventStreamInfo.cxx:23
CopyEventStreamInfo::endInputFile
virtual StatusCode endInputFile(const SG::SourceID &="Serial") override final
Function called when the currently open input file got completely processed.
Definition
CopyEventStreamInfo.cxx:87
CopyEventStreamInfo::beginInputFile
virtual StatusCode beginInputFile(const SG::SourceID &="Serial") override final
Function called when a new input file is opened.
Definition
CopyEventStreamInfo.cxx:33
CopyEventStreamInfo::~CopyEventStreamInfo
virtual ~CopyEventStreamInfo()=default
Destructor.
CopyEventStreamInfo::m_metaDataSvc
ServiceHandle< IAthMetaDataSvc > m_metaDataSvc
Access to output MetaDataStore through MetaDataSvc (using MetaContainers).
Definition
CopyEventStreamInfo.h:53
Property
Support class for PropertyMgr.
Definition
Property.h:23
ServiceHandle
Definition
ClusterMakerTool.h:36
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
vector
Definition
MultiHisto.h:13
const
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:273
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
std
STL namespace.
type
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0