ATLAS Offline Software
Database
AthenaPOOL
OutputStreamAthenaPool
src
MakeInputDataHeader.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MAKEINPUTDATAHEADER_H
6
#define MAKEINPUTDATAHEADER_H
7
12
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
13
#include "
PersistentDataModel/DataHeader.h
"
14
#include "
StoreGate/ReadHandleKey.h
"
15
#include "
StoreGate/WriteHandleKey.h
"
16
#include <string>
17
18
class
DataHeader
;
19
32
class
MakeInputDataHeader
:
public
::AthReentrantAlgorithm
{
33
public
:
35
MakeInputDataHeader
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
37
virtual
StatusCode
initialize
()
override
;
38
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
39
40
private
:
42
SG::ReadHandleKey<DataHeader>
m_streamName
{
this
,
"StreamName"
,
""
};
43
SG::WriteHandleKey<DataHeader>
m_aliasName
{
this
,
"AliasName"
,
""
};
44
46
BooleanProperty
m_keepInput
{
this
,
"KeepCurrentInput"
,
false
, };
47
};
48
49
#endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MakeInputDataHeader::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
MakeInputDataHeader.cxx:33
SG::ReadHandleKey< DataHeader >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
MakeInputDataHeader
This class provides an algorithm to make an OutputDataHeader the InputDataHeader.
Definition:
MakeInputDataHeader.h:32
SG::WriteHandleKey< DataHeader >
DataHeader
This class provides the layout for summary information stored for data written to POOL.
Definition:
DataHeader.h:124
MakeInputDataHeader::MakeInputDataHeader
MakeInputDataHeader(const std::string &name, ISvcLocator *pSvcLocator)
Standard Algorithm Constructor.
Definition:
MakeInputDataHeader.cxx:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MakeInputDataHeader::initialize
virtual StatusCode initialize() override
AthAlgorithm Interface method implementations:
Definition:
MakeInputDataHeader.cxx:21
DataHeader.h
This file contains the class definition for the DataHeader and DataHeaderElement classes.
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
MakeInputDataHeader::m_streamName
SG::ReadHandleKey< DataHeader > m_streamName
StreamName, name of Stream to be made Input.
Definition:
MakeInputDataHeader.h:42
MakeInputDataHeader::m_keepInput
BooleanProperty m_keepInput
KeepCurrentInput, keep the original InputDataHeader: default = false.
Definition:
MakeInputDataHeader.h:46
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
MakeInputDataHeader::m_aliasName
SG::WriteHandleKey< DataHeader > m_aliasName
Definition:
MakeInputDataHeader.h:43
Generated on Tue Jul 2 2024 21:20:59 for ATLAS Offline Software by
1.8.18