ATLAS Offline Software
HandleTestTool3.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration.
3  */
12 #ifndef ATHEXSTOREGATEEXAMPLE_HANDLETESTTOOL3_H
13 #define ATHEXSTOREGATEEXAMPLE_HANDLETESTTOOL3_H
14 
15 
20 #include "IHandleTestTool.h"
21 
22 
23 namespace AthEx {
24 
25 
26 class HandleTestTool3 : public extends<AthAlgTool, IHandleTestTool>
27 {
28 public:
29  using base_class::base_class;
30 
31  virtual StatusCode initialize() override;
32 
33 
34 private:
36  { this, "RHKey", "rcont", "ReadHandle key" };
37 
39  { this, "RDecorKey", m_rhKey, "rdecor", "ReadDecorHandleKey depending on RHKey" };
40 
42  { this, "WHKey", "wcont", "WriteHandle key" };
43 
45  { this, "WDecorKey", m_whKey, "wdecor", "WriteDecorHandleKey depending on WHKey" };
46 
48  { this, "WDecorKey2", m_rhKey, "wdecor2", "WriteDecorHandleKey depending on RHKey" };
49 };
50 
51 
52 } // namespace AthEx
53 
54 
55 #endif // not ATHEXSTOREGATEEXAMPLE_HANDLETESTTOOL3_H
SG::WriteDecorHandleKey< MyDataObj >
AthEx::HandleTestTool3::m_whKey
SG::WriteHandleKey< MyDataObj > m_whKey
Definition: HandleTestTool3.h:42
AthEx::HandleTestTool3::m_rdhKey
SG::ReadDecorHandleKey< MyDataObj > m_rdhKey
Definition: HandleTestTool3.h:39
SG::ReadHandleKey< MyDataObj >
SG::WriteHandleKey< MyDataObj >
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthEx
Definition: Hist.h:25
AthAlgTool.h
AthEx::HandleTestTool3::m_wdhKey
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey
Definition: HandleTestTool3.h:45
AthEx::HandleTestTool3
Definition: HandleTestTool3.h:27
IHandleTestTool.h
Test for cross-component circular dependency warning suppression of WriteDecorHandleKey.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthEx::HandleTestTool3::initialize
virtual StatusCode initialize() override
Definition: HandleTestTool3.cxx:16
MyDataObj.h
AthEx::HandleTestTool3::m_rhKey
SG::ReadHandleKey< MyDataObj > m_rhKey
Definition: HandleTestTool3.h:36
SG::ReadDecorHandleKey< MyDataObj >
AthEx::HandleTestTool3::m_wdhKey2
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey2
Definition: HandleTestTool3.h:48