ATLAS Offline Software
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-2019 CERN for the benefit of the ATLAS collaboration.
4  */
13 #ifndef ATHENASERVICES_ATHREADALG_H
14 #define ATHENASERVICES_ATHREADALG_H
15 
16 
19 #include "AthenaKernel/sgkey_t.h"
20 
21 
43  : public AthReentrantAlgorithm
44 {
45 public:
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 
72 };
73 
74 
75 #endif // not ATHENASERVICES_ATHREADALG_H
sgkey_t.h
Define the type used for hashed StoreGate key+CLID pairs.
SG::TypelessWriteHandleKey
Property holding a write key for which the type can be configured.
Definition: TypelessWriteHandleKey.h:35
AthReadAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Standard Algorithm execute method.
Definition: AthReadAlg.cxx:47
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReadAlg::m_aliases
Gaudi::Property< std::vector< std::string > > m_aliases
Definition: AthReadAlg.h:68
AthReadAlg
Generic algorithm wrapping an input conversion.
Definition: AthReadAlg.h:44
AthReadAlg::initialize
virtual StatusCode initialize() override
Standard initialize method.
Definition: AthReadAlg.cxx:19
AthReentrantAlgorithm.h
AthReadAlg::m_sgkey
SG::sgkey_t m_sgkey
Cache sgkey of proxy corresponding to the original object.
Definition: AthReadAlg.h:71
SG::sgkey_t
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Definition: CxxUtils/CxxUtils/sgkey_t.h:32
AthReadAlg::m_key
SG::TypelessWriteHandleKey m_key
Property: Output key.
Definition: AthReadAlg.h:65
TypelessWriteHandleKey.h
Property holding a write key for which the type can be configured.