ATLAS Offline Software
Loading...
Searching...
No Matches
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-2025 CERN for the benefit of the ATLAS collaboration.
4 */
11
12
13#ifndef ATHENASERVICES_ATHREADALG_H
14#define ATHENASERVICES_ATHREADALG_H
15
16
19#include "SGCore/sgkey_t.h"
20
21
44{
45public:
47 using AthReentrantAlgorithm::AthReentrantAlgorithm;
48
49
53 virtual StatusCode initialize() override;
54
55
60 virtual StatusCode execute (const EventContext& ctx) const override;
61
62
63private:
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
72};
73
74
75#endif // not ATHENASERVICES_ATHREADALG_H
Property holding a write key for which the type can be configured.
Generic algorithm wrapping an input conversion.
Definition AthReadAlg.h:44
virtual StatusCode execute(const EventContext &ctx) const override
Standard Algorithm execute method.
SG::sgkey_t m_sgkey
Cache sgkey of proxy corresponding to the original object.
Definition AthReadAlg.h:71
SG::TypelessWriteHandleKey m_key
Property: Output key.
Definition AthReadAlg.h:65
Gaudi::Property< std::vector< std::string > > m_aliases
Definition AthReadAlg.h:68
virtual StatusCode initialize() override
Standard initialize method.
An algorithm that can be simultaneously executed in multiple threads.
Property holding a write key for which the type can be configured.
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Definition sgkey_t.h:32