ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
OutputStreamAthenaPool
src
MakeInputDataHeader.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 MAKEINPUTDATAHEADER_H
6
#define MAKEINPUTDATAHEADER_H
11
12
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
13
#include "
PersistentDataModel/DataHeader.h
"
14
#include "
StoreGate/ReadHandleKey.h
"
15
#include "
StoreGate/WriteHandleKey.h
"
16
#include <string>
17
30
class
MakeInputDataHeader
:
public
::AthReentrantAlgorithm
{
31
public
:
33
MakeInputDataHeader
(
const
std::string& name, ISvcLocator* pSvcLocator);
35
virtual
StatusCode
initialize
()
override
;
36
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
37
38
private
:
40
SG::ReadHandleKey<DataHeader>
m_streamName
{
this
,
"StreamName"
,
""
};
41
SG::WriteHandleKey<DataHeader>
m_aliasName
{
this
,
"AliasName"
,
""
};
42
44
Gaudi::Property<bool>
m_keepInput
{
this
,
"KeepCurrentInput"
,
false
};
45
};
46
47
#endif
AthReentrantAlgorithm.h
DataHeader.h
This file contains the class definition for the DataHeader and DataHeaderElement classes.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
MakeInputDataHeader::m_keepInput
Gaudi::Property< bool > m_keepInput
KeepCurrentInput, keep the original InputDataHeader: default = false.
Definition
MakeInputDataHeader.h:44
MakeInputDataHeader::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
MakeInputDataHeader.cxx:33
MakeInputDataHeader::MakeInputDataHeader
MakeInputDataHeader(const std::string &name, ISvcLocator *pSvcLocator)
Standard Algorithm Constructor.
Definition
MakeInputDataHeader.cxx:16
MakeInputDataHeader::m_aliasName
SG::WriteHandleKey< DataHeader > m_aliasName
Definition
MakeInputDataHeader.h:41
MakeInputDataHeader::initialize
virtual StatusCode initialize() override
AthAlgorithm Interface method implementations:
Definition
MakeInputDataHeader.cxx:21
MakeInputDataHeader::m_streamName
SG::ReadHandleKey< DataHeader > m_streamName
StreamName, name of Stream to be made Input.
Definition
MakeInputDataHeader.h:40
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0