ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaServices
src
AthReadAlg.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef ATHENASERVICES_ATHREADALG_H
14
#define ATHENASERVICES_ATHREADALG_H
15
16
17
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
18
#include "
StoreGate/TypelessWriteHandleKey.h
"
19
#include "
SGCore/sgkey_t.h
"
20
21
42
class
AthReadAlg
43
:
public
AthReentrantAlgorithm
44
{
45
public
:
47
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
48
49
53
virtual
StatusCode
initialize
()
override
;
54
55
60
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
61
62
63
private
:
65
SG::TypelessWriteHandleKey
m_key
{
this
,
"Key"
, CLID_NULL,
""
,
""
};
66
67
Gaudi::Property<std::vector<std::string> >
m_aliases
68
{
this
,
"Aliases"
, {},
"Aliases to create for this object."
};
69
71
SG::sgkey_t
m_sgkey
= 0;
72
};
73
74
75
#endif
// not ATHENASERVICES_ATHREADALG_H
AthReentrantAlgorithm.h
TypelessWriteHandleKey.h
Property holding a write key for which the type can be configured.
AthReadAlg
Generic algorithm wrapping an input conversion.
Definition
AthReadAlg.h:44
AthReadAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Standard Algorithm execute method.
Definition
AthReadAlg.cxx:47
AthReadAlg::m_sgkey
SG::sgkey_t m_sgkey
Cache sgkey of proxy corresponding to the original object.
Definition
AthReadAlg.h:71
AthReadAlg::m_key
SG::TypelessWriteHandleKey m_key
Property: Output key.
Definition
AthReadAlg.h:65
AthReadAlg::m_aliases
Gaudi::Property< std::vector< std::string > > m_aliases
Definition
AthReadAlg.h:68
AthReadAlg::initialize
virtual StatusCode initialize() override
Standard initialize method.
Definition
AthReadAlg.cxx:19
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::TypelessWriteHandleKey
Property holding a write key for which the type can be configured.
Definition
TypelessWriteHandleKey.h:36
SG::sgkey_t
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Definition
sgkey_t.h:32
sgkey_t.h
Generated on
for ATLAS Offline Software by
1.17.0